Package org.eclipse.emf.cdo.common.id
Klasse CDOIDUtil
java.lang.Object
org.eclipse.emf.cdo.common.id.CDOIDUtil
Various static methods that may help with CDO
IDs.- Seit:
- 2.0
- Autor:
- Eike Stepper
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic AbstractCDOIDcreateCDOIDObject(CDOID.ObjectType subType) Veraltet.As of 4.2 no longer supported.static CDOIDExternalcreateExternal(String uri) static CDOIDAndBranchcreateIDAndBranch(CDOID id, CDOBranch branch) static CDOIDAndVersioncreateIDAndVersion(CDOID id, int version) static CDOIDAndVersioncreateIDAndVersion(CDOIDAndVersion source) static CDOIDcreateLong(long value) static CDOIDcreateLongWithClassifier(long value, CDOClassifierRef classifierRef) static CDOIDcreateLongWithClassifier(CDOClassifierRef classifierRef, long value) Veraltet.As of 4.2 usecreateLongWithClassifier(long, CDOClassifierRef).static CDOIDcreateString(String value) static CDOIDcreateStringWithClassifier(String value, CDOClassifierRef classifierRef) static CDOIDcreateStringWithClassifier(CDOClassifierRef classifierRef, String value) Veraltet.As of 4.2 usecreateStringWithClassifier(String, CDOClassifierRef).static CDOIDTempcreateTempObject(int value) static CDOIDExternalstatic CDOIDstatic CDOIDcreateUUID(byte[] value) static byte[]decodeUUID(String string) static StringencodeUUID(byte[] bytes) static booleanstatic byte[]getByteArray(CDOID id) static CDOIDstatic CDOClassifierRefstatic <K extends CDOIDAndVersion>
KgetKey(Collection<? extends CDOIDAndVersion> keys, CDOID id) static longstatic Stringstatic booleanstatic CDOIDFormat of the URI fragment.static CDOIDread(CDODataInput in) static CDOIDread(org.eclipse.net4j.util.io.ExtendedDataInput in) Veraltet.As of 4.2 useread(CDODataInput).static voidwrite(StringBuilder builder, Iterable<?> objects) static voidwrite(StringBuilder builder, CDOID id) Format of the uri fragment.static voidwrite(CDODataOutput out, CDOID id) static voidVeraltet.As of 4.2 usewrite(CDODataOutput, CDOID).
-
Methodendetails
-
createMap
- Seit:
- 4.2
-
createMap
- Seit:
- 4.5
-
createIDAndVersion
- Seit:
- 4.0
-
createIDAndVersion
- Seit:
- 4.0
-
createIDAndBranch
- Seit:
- 4.0
-
getCDOID
- Seit:
- 4.2
-
isNull
- Seit:
- 2.0
-
getLong
-
getString
- Seit:
- 4.0
-
getByteArray
- Seit:
- 4.1
-
getClassifierRef
- Seit:
- 3.0
-
createTempObject
-
createTempObjectExternal
- Seit:
- 3.0
-
createLong
-
createLongWithClassifier
- Seit:
- 4.2
-
createString
- Seit:
- 4.0
-
createStringWithClassifier
- Seit:
- 4.2
-
createUUID
- Seit:
- 4.1
-
createUUID
- Seit:
- 4.1
-
encodeUUID
- Seit:
- 4.1
-
decodeUUID
- Seit:
- 4.1
-
createExternal
- Seit:
- 2.0
-
write
- Seit:
- 4.5
-
write
Format of the uri fragment.Non-legacy:
<ID TYPE>/<CUSTOM STRING FROM OBJECT FACTORY>Legacy:
<ID TYPE>/<PACKAGE URI>/<CLASSIFIER ID>/<CUSTOM STRING FROM OBJECT FACTORY>- Seit:
- 2.0
-
read
Format of the URI fragment.Non-legacy:
<ID TYPE>/<CUSTOM STRING FROM OBJECT FACTORY>Legacy:
<ID TYPE>/<PACKAGE URI>/<CLASSIFIER ID>/<CUSTOM STRING FROM OBJECT FACTORY>- Seit:
- 3.0
-
write
- Löst aus:
IOException- Seit:
- 4.2
-
read
- Löst aus:
IOException- Seit:
- 4.2
-
equals
- Seit:
- 2.0
-
getKey
public static <K extends CDOIDAndVersion> K getKey(Collection<? extends CDOIDAndVersion> keys, CDOID id) - Seit:
- 4.26
-
createLongWithClassifier
@Deprecated public static CDOID createLongWithClassifier(CDOClassifierRef classifierRef, long value) Veraltet.As of 4.2 usecreateLongWithClassifier(long, CDOClassifierRef).- Seit:
- 3.0
-
createStringWithClassifier
@Deprecated public static CDOID createStringWithClassifier(CDOClassifierRef classifierRef, String value) Veraltet.As of 4.2 usecreateStringWithClassifier(String, CDOClassifierRef).- Seit:
- 3.0
-
createCDOIDObject
Veraltet.As of 4.2 no longer supported. IDs can't be created without a value anymore.Creates the correct implementation class for the passedCDOID.ObjectType.- Parameter:
subType- the subType for which to create an empty CDOID instance- Gibt zurück:
- the instance of CDOIDObject which represents the subtype.
- Seit:
- 3.0
-
write
@Deprecated public static void write(org.eclipse.net4j.util.io.ExtendedDataOutput out, CDOID id) throws IOException Veraltet.As of 4.2 usewrite(CDODataOutput, CDOID).- Löst aus:
IOException- Seit:
- 4.1
-
read
@Deprecated public static CDOID read(org.eclipse.net4j.util.io.ExtendedDataInput in) throws IOException Veraltet.As of 4.2 useread(CDODataInput).- Löst aus:
IOException- Seit:
- 4.1
-