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

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

public abstract class AbstractCDOIDInteger
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
 
Fields inherited from interface org.eclipse.emf.cdo.common.id.CDOID
NULL
 
Constructor Summary
AbstractCDOIDInteger()
           
AbstractCDOIDInteger(int value)
           
 
Method Summary
 int compareTo(AbstractCDOIDInteger that)
           
 boolean equals(Object obj)
           
 int getIntValue()
           
 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
 

Constructor Detail

AbstractCDOIDInteger

public AbstractCDOIDInteger()

AbstractCDOIDInteger

public AbstractCDOIDInteger(int value)
Method Detail

getIntValue

public int getIntValue()

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

compareTo

public int compareTo(AbstractCDOIDInteger that)

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.