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 AbstractCDOID
createCDOIDObject
(CDOID.ObjectType subType) Veraltet.As of 4.2 no longer supported.static CDOIDExternal
createExternal
(String uri) static CDOIDAndBranch
createIDAndBranch
(CDOID id, CDOBranch branch) static CDOIDAndVersion
createIDAndVersion
(CDOID id, int version) static CDOIDAndVersion
createIDAndVersion
(CDOIDAndVersion source) static CDOID
createLong
(long value) static CDOID
createLongWithClassifier
(long value, CDOClassifierRef classifierRef) static CDOID
createLongWithClassifier
(CDOClassifierRef classifierRef, long value) Veraltet.As of 4.2 usecreateLongWithClassifier(long, CDOClassifierRef)
.static CDOID
createString
(String value) static CDOID
createStringWithClassifier
(String value, CDOClassifierRef classifierRef) static CDOID
createStringWithClassifier
(CDOClassifierRef classifierRef, String value) Veraltet.As of 4.2 usecreateStringWithClassifier(String, CDOClassifierRef)
.static CDOIDTemp
createTempObject
(int value) static CDOIDExternal
static CDOID
static CDOID
createUUID
(byte[] value) static byte[]
decodeUUID
(String string) static String
encodeUUID
(byte[] bytes) static boolean
static byte[]
getByteArray
(CDOID id) static CDOID
static CDOClassifierRef
static <K extends CDOIDAndVersion>
KgetKey
(Collection<? extends CDOIDAndVersion> keys, CDOID id) static long
static String
static boolean
static CDOID
Format of the URI fragment.static CDOID
read
(CDODataInput in) static CDOID
read
(org.eclipse.net4j.util.io.ExtendedDataInput in) Veraltet.As of 4.2 useread(CDODataInput)
.static void
write
(StringBuilder builder, Iterable<?> objects) static void
write
(StringBuilder builder, CDOID id) Format of the uri fragment.static void
write
(CDODataOutput out, CDOID id) static void
Veraltet.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
-