org.eclipse.emf.cdo.spi.common.id
Class AbstractCDOID
java.lang.Object
org.eclipse.emf.cdo.spi.common.id.AbstractCDOID
- All Implemented Interfaces:
- Serializable, Comparable<CDOID>, CDOID
- Direct Known Subclasses:
- AbstractCDOIDByteArray, AbstractCDOIDInteger, AbstractCDOIDLong, AbstractCDOIDString
- public abstract class AbstractCDOID
- extends Object
- implements CDOID
- Since:
- 2.0
- See Also:
- Serialized Form
- No Extend
- This interface is not intended to be extended by clients.
Fields inherited from interface org.eclipse.emf.cdo.common.id.CDOID |
NULL |
AbstractCDOID
public AbstractCDOID()
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public final int compareTo(CDOID o)
- Specified by:
compareTo
in interface Comparable<CDOID>
doCompareTo
protected abstract int doCompareTo(CDOID o)
throws ClassCastException
- Throws:
ClassCastException
read
public abstract void read(String fragmentPart)
- Note:
CDOID.toURIFragment()
and read(String)
need to match.
read
public abstract void read(ExtendedDataInput in)
throws IOException
- TODO: Change the parameter to CDODataInput to prevent casting in IDs with classifier.
- Throws:
IOException
write
public abstract void write(ExtendedDataOutput out)
throws IOException
- TODO: Change the parameter to CDODataInput to prevent casting in IDs with classifier.
- Throws:
IOException
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.