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

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

public abstract class AbstractCDOIDLong
extends AbstractCDOID
implements java.lang.Comparable<AbstractCDOIDLong>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.id.CDOID
CDOID.Type
 
Field Summary
 
Fields inherited from interface org.eclipse.emf.cdo.common.id.CDOID
NULL
 
Constructor Summary
AbstractCDOIDLong()
           
AbstractCDOIDLong(long value)
           
 
Method Summary
 int compareTo(AbstractCDOIDLong that)
           
 boolean equals(java.lang.Object obj)
           
 long getLongValue()
           
 int hashCode()
           
 void read(org.eclipse.net4j.util.io.ExtendedDataInput in)
           
 java.lang.String toString()
           
 void write(org.eclipse.net4j.util.io.ExtendedDataOutput out)
           
 
Methods inherited from class org.eclipse.emf.cdo.spi.common.AbstractCDOID
isLegacy, isMeta, isNull, isObject, isTemporary
 
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
 

Constructor Detail

AbstractCDOIDLong

public AbstractCDOIDLong()

AbstractCDOIDLong

public AbstractCDOIDLong(long value)
Method Detail

getLongValue

public long getLongValue()

read

public void read(org.eclipse.net4j.util.io.ExtendedDataInput in)
          throws java.io.IOException
Specified by:
read in class AbstractCDOID
Throws:
java.io.IOException

write

public void write(org.eclipse.net4j.util.io.ExtendedDataOutput out)
           throws java.io.IOException
Specified by:
write in class AbstractCDOID
Throws:
java.io.IOException

compareTo

public int compareTo(AbstractCDOIDLong that)
Specified by:
compareTo in interface java.lang.Comparable<AbstractCDOIDLong>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.