Package com.cumulocity.model
Class ID
java.lang.Object
org.svenson.AbstractDynamicProperties
com.cumulocity.model.ID
- All Implemented Interfaces:
Serializable
,org.svenson.DynamicProperties
- Direct Known Subclasses:
GId
public class ID
extends org.svenson.AbstractDynamicProperties
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.svenson.AbstractDynamicProperties
getAttrs, getProperty, hasProperty, propertyNames, removeProperty, setProperty
-
Constructor Details
-
ID
public ID() -
ID
-
ID
-
ID
-
ID
-
-
Method Details
-
getType
-
setType
-
getValue
-
setValue
-
getName
-
setName
-
hashCode
public int hashCode() -
equals
-
equalsIgnoreClass
This method compares if two ids have the same content (type, value) even if they have different classes. This method is useful for the identity service.- Parameters:
o
- the ID to compare with this instance- Returns:
- true if both ID have the same contents (type, value) regardless of the class, false otherwise
-
toString
-
asString
-