|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.cdo.common.id.CDOIDUtil
Various static methods that may help with CDO IDs
.
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isNull(CDOID id)
public static long getLong(CDOID id)
public static String getString(CDOID id)
public static byte[] getByteArray(CDOID id)
public static CDOClassifierRef getClassifierRef(CDOID id)
public static CDOIDTemp createTempObject(int value)
public static CDOIDExternal createTempObjectExternal(String uri)
public static CDOID createLong(long value)
public static CDOID createLongWithClassifier(CDOClassifierRef classifierRef, long value)
public static CDOID createString(String value)
public static CDOID createStringWithClassifier(CDOClassifierRef classifierRef, String value)
public static CDOID createUUID(byte[] value)
public static CDOID createUUID()
public static String encodeUUID(byte[] bytes)
public static byte[] decodeUUID(String string)
public static CDOIDExternal createExternal(String uri)
public static CDOIDAndVersion createIDAndVersion(CDOID id, int version)
public static CDOIDAndVersion createIDAndVersion(CDOIDAndVersion source)
public static CDOIDAndBranch createIDAndBranch(CDOID id, CDOBranch branch)
public static AbstractCDOID createCDOIDObject(CDOID.ObjectType subType)
CDOID.ObjectType
.
subType
- the subType for which to create an empty CDOID instance
public static void write(StringBuilder builder, CDOID id)
Non-legacy: <ID TYPE>/<CUSTOM STRING FROM OBJECT FACTORY>
Legacy: <ID TYPE>/<PACKAGE URI>/<CLASSIFIER ID>/<CUSTOM STRING FROM OBJECT FACTORY>
public static CDOID read(String uriFragment)
Non-legacy: <ID TYPE>/<CUSTOM STRING FROM OBJECT FACTORY>
Legacy: <ID TYPE>/<PACKAGE URI>/<CLASSIFIER ID>/<CUSTOM STRING FROM OBJECT FACTORY>
public static void write(ExtendedDataOutput out, CDOID id) throws IOException
IOException
public static CDOID read(ExtendedDataInput in) throws IOException
IOException
public static boolean equals(CDOID id1, CDOID id2)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |