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

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

public abstract class AbstractCDOIDString
extends AbstractCDOID

Since:
3.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
static String NULL_VALUE
           
 
Fields inherited from interface org.eclipse.emf.cdo.common.id.CDOID
NULL
 
Constructor Summary
AbstractCDOIDString()
           
AbstractCDOIDString(String value)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getStringValue()
           
 int hashCode()
           
 void read(ExtendedDataInput in)
          TODO: Change the parameter to CDODataInput to prevent casting in IDs with classifier.
 void read(String fragmentPart)
          Note: CDOID.toURIFragment() and AbstractCDOID.read(String) need to match.
 String toString()
           
 String toURIFragment()
           
 void write(ExtendedDataOutput out)
          TODO: Change the parameter to CDODataInput to prevent casting in IDs with classifier.
 
Methods inherited from class org.eclipse.emf.cdo.spi.common.id.AbstractCDOID
compareTo, doCompareTo
 
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, isDangling, isExternal, isNull, isObject, isTemporary
 

Field Detail

NULL_VALUE

public static final String NULL_VALUE
Since:
4.0
Constructor Detail

AbstractCDOIDString

public AbstractCDOIDString()

AbstractCDOIDString

public AbstractCDOIDString(String value)
Method Detail

getStringValue

public String getStringValue()

toURIFragment

public String toURIFragment()

read

public void read(String fragmentPart)
Description copied from class: AbstractCDOID
Note: CDOID.toURIFragment() and AbstractCDOID.read(String) need to match.

Specified by:
read in class AbstractCDOID

read

public void read(ExtendedDataInput in)
          throws IOException
Description copied from class: AbstractCDOID
TODO: Change the parameter to CDODataInput to prevent casting in IDs with classifier.

Specified by:
read in class AbstractCDOID
Throws:
IOException

write

public void write(ExtendedDataOutput out)
           throws IOException
Description copied from class: AbstractCDOID
TODO: Change the parameter to CDODataInput to prevent casting in IDs with classifier.

Specified by:
write in class AbstractCDOID
Throws:
IOException

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class AbstractCDOID


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