AbstractPropertyMapKey Class
- public abstract class AbstractPropertyMapKey
extends Object
implements PropertyMapKey, Serializable
Lightweight object used as a key for entity properties.
Related Topics
EntityPropertyCache
-
Hierarchy
-
Object
AbstractPropertyMapKey
-
All Implemented Interfaces
-
PropertyMapKey, Serializable
AbstractPropertyMapKey
public AbstractPropertyMapKey()
- Default constructor
AbstractPropertyMapKey
public AbstractPropertyMapKey(String aPropertySetName,
String aPropertyName)
- Initializing Constructor
compareTo(Object) Method
public int compareTo(Object o)
Standard compareTo operator
equals(Object) Method
public boolean equals(Object o)
Equals operator
-
Overrides
-
Object.equals(Object)
Parameters
-
o
- the object to compare
Returns
- true if it is the same kind of object, and all fields match
getPropertyName() Method
public String getPropertyName()
Get the name of the property
getPropertySetName() Method
public String getPropertySetName()
Get the PropertySet this property belongs to
hashCode() Method
public int hashCode()
Calculate a hashCode based on all fields, for lookups
in a HashMap
-
Overrides
-
Object.hashCode()
setPropertyName(String) Method
public void setPropertyName(String aPropertyName)
Set the name of the property
setPropertySetName(String) Method
public void setPropertySetName(String aPropertySetName)
Set the PropertySet this property belongs to
toString() Method
public String toString()
-
Overrides
-
Object.toString()
Returns
- a String representation of this map key