Package org.eclipse.ecf.core.identity
Class UuID
- java.lang.Object
- 
- org.eclipse.ecf.core.identity.BaseID
- 
- org.eclipse.ecf.core.identity.UuID
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable,- Principal,- org.eclipse.core.runtime.IAdaptable,- ID
 
 public class UuID extends BaseID - Since:
- 3.5
- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classUuID.UuIDNamespace
 - 
Constructor SummaryConstructors Modifier Constructor Description UuID()protectedUuID(UuID.UuIDNamespace ns, UUID uuid)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UUIDgetUUID()protected intnamespaceCompareTo(BaseID obj)protected booleannamespaceEquals(BaseID obj)Called byNamespace.testIDEquals(BaseID, BaseID).protected StringnamespaceGetName()Called byNamespace.getNameForID(BaseID).protected intnamespaceHashCode()Called byNamespace.getHashCodeForID(BaseID).StringtoString()- 
Methods inherited from class org.eclipse.ecf.core.identity.BaseIDcompareTo, equals, getAdapter, getName, getNamespace, hashCode, namespaceToExternalForm, toExternalForm
 
- 
 
- 
- 
- 
Field Detail- 
uuidprotected UUID uuid 
 
- 
 - 
Constructor Detail- 
UuIDpublic UuID() - Since:
- 3.9
 
 - 
UuIDprotected UuID(UuID.UuIDNamespace ns, UUID uuid) 
 
- 
 - 
Method Detail- 
namespaceCompareToprotected int namespaceCompareTo(BaseID obj) Description copied from class:BaseID- Specified by:
- namespaceCompareToin class- BaseID
- Parameters:
- obj- the other ID to compare to. Will not be- null.
- Returns:
- the appropriate value as per Comparablecontract.
 
 - 
namespaceEqualsprotected boolean namespaceEquals(BaseID obj) Description copied from class:BaseIDCalled byNamespace.testIDEquals(BaseID, BaseID).- Specified by:
- namespaceEqualsin class- BaseID
- Parameters:
- obj- the other ID to test against. May be- null.
- Returns:
- trueif this ID is equal to the given ID.- falseotherwise.
 
 - 
namespaceGetNameprotected String namespaceGetName() Description copied from class:BaseIDCalled byNamespace.getNameForID(BaseID).- Specified by:
- namespaceGetNamein class- BaseID
- Returns:
- String name for this ID. Must not be null. Value returned should be unique within this Namespace.
 
 - 
namespaceHashCodeprotected int namespaceHashCode() Description copied from class:BaseIDCalled byNamespace.getHashCodeForID(BaseID).- Specified by:
- namespaceHashCodein class- BaseID
- Returns:
- int hashCode for this ID. Returned value must be unique within this process.
 
 - 
getUUIDpublic UUID getUUID() 
 
- 
 
-