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

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

public abstract class AbstractCDOIDByteArray
extends AbstractCDOID

Since:
4.1
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
AbstractCDOIDByteArray()
           
AbstractCDOIDByteArray(byte[] value)
           
 
Method Summary
 boolean equals(Object obj)
           
 byte[] getByteArrayValue()
           
 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 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, toString
 
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
Constructor Detail

AbstractCDOIDByteArray

public AbstractCDOIDByteArray()

AbstractCDOIDByteArray

public AbstractCDOIDByteArray(byte[] value)
Method Detail

getByteArrayValue

public byte[] getByteArrayValue()

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


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