org.eclipse.emf.cdo.spi.common.id
Class AbstractCDOID

java.lang.Object
  extended by org.eclipse.emf.cdo.spi.common.id.AbstractCDOID
All Implemented Interfaces:
Serializable, Comparable<CDOID>, CDOID

public abstract class AbstractCDOID
extends Object
implements CDOID

If the meaning of this type isn't clear, there really should be more of a description here...

Since:
2.0
See Also:
Serialized Form
No Extend
This interface is not intended to be extended by clients.

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.id.CDOID
CDOID.ObjectType, CDOID.Type
 
Field Summary
 
Fields inherited from interface org.eclipse.emf.cdo.common.id.CDOID
NULL
 
Constructor Summary
protected AbstractCDOID()
           
 
Method Summary
 int compareTo(CDOID o)
           
protected abstract  int doCompareTo(CDOID o)
           
 boolean equals(Object obj)
           
abstract  int hashCode()
           
 boolean isDangling()
          Deprecated. 
 boolean isNull()
           
 void read(ExtendedDataInput in)
          Deprecated. As of 4.2 not called anymore.
 void read(String fragmentPart)
          Deprecated. As of 4.2 not called anymore.
 String toString()
           
abstract  void write(CDODataOutput out)
           
 void write(ExtendedDataOutput out)
          Deprecated. As of 4.2 write(CDODataOutput) is called.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.cdo.common.id.CDOID
getType, isExternal, isObject, isTemporary, toURIFragment
 

Constructor Detail

AbstractCDOID

protected AbstractCDOID()
Method Detail

isNull

public boolean isNull()
Specified by:
isNull in interface CDOID
Since:
4.2

isDangling

@Deprecated
public final boolean isDangling()
Deprecated. 

Specified by:
isDangling in interface CDOID
Since:
4.2

read

@Deprecated
public final void read(String fragmentPart)
Deprecated. As of 4.2 not called anymore.


read

@Deprecated
public final void read(ExtendedDataInput in)
                throws IOException
Deprecated. As of 4.2 not called anymore.

Throws:
IOException

write

@Deprecated
public void write(ExtendedDataOutput out)
           throws IOException
Deprecated. As of 4.2 write(CDODataOutput) is called.

Throws:
IOException

write

public abstract void write(CDODataOutput out)
                    throws IOException
Throws:
IOException
Since:
4.2

toString

public String toString()
Overrides:
toString in class Object

compareTo

public final int compareTo(CDOID o)
Specified by:
compareTo in interface Comparable<CDOID>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public abstract int hashCode()
Overrides:
hashCode in class Object

doCompareTo

protected abstract int doCompareTo(CDOID o)
                            throws ClassCastException
Throws:
ClassCastException


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.