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

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

public abstract class AbstractCDOIDLong
extends AbstractCDOID

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
static long NULL_VALUE
           
 
Fields inherited from interface org.eclipse.emf.cdo.common.id.CDOID
NULL
 
Constructor Summary
AbstractCDOIDLong()
           
AbstractCDOIDLong(long value)
           
 
Method Summary
 boolean equals(Object obj)
           
 long getLongValue()
           
 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 long NULL_VALUE
See Also:
Constant Field Values
Constructor Detail

AbstractCDOIDLong

public AbstractCDOIDLong()

AbstractCDOIDLong

public AbstractCDOIDLong(long value)
Method Detail

getLongValue

public long getLongValue()

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.