org.eclipse.emf.cdo.common.id
Class CDOIDUtil

java.lang.Object
  extended by org.eclipse.emf.cdo.common.id.CDOIDUtil

public final class CDOIDUtil
extends java.lang.Object


Method Summary
static CDOIDAndVersion createIDAndVersion(CDOID id, int version)
           
static CDOID createLong(long value)
           
static CDOIDMeta createMeta(long value)
           
static CDOIDMetaRange createMetaRange(CDOID lowerBound, int count)
           
static CDOIDTemp createTempMeta(int value)
           
static CDOIDTemp createTempObject(int value)
           
static long getLong(CDOID id)
           
static CDOID read(org.eclipse.net4j.util.io.ExtendedDataInput in, CDOIDObjectFactory factory)
           
static CDOID read(org.eclipse.net4j.util.io.ExtendedDataInput in, CDOIDObjectFactory factory, boolean asLegacy)
           
static CDOIDAndVersion readIDAndVersion(org.eclipse.net4j.util.io.ExtendedDataInput in, CDOIDObjectFactory factory)
           
static CDOIDAndVersion readIDAndVersion(org.eclipse.net4j.util.io.ExtendedDataInput in, CDOIDObjectFactory factory, boolean asLegacy)
           
static CDOIDLibraryDescriptor readLibraryDescriptor(org.eclipse.net4j.util.io.ExtendedDataInput in)
           
static CDOIDMetaRange readMetaRange(org.eclipse.net4j.util.io.ExtendedDataInput in)
           
static void write(org.eclipse.net4j.util.io.ExtendedDataOutput out, CDOID id)
           
static void write(org.eclipse.net4j.util.io.ExtendedDataOutput out, CDOID id, boolean asLegacy)
           
static void writeMetaRange(org.eclipse.net4j.util.io.ExtendedDataOutput out, CDOIDMetaRange idRange)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLong

public static long getLong(CDOID id)

createTempMeta

public static CDOIDTemp createTempMeta(int value)

createTempObject

public static CDOIDTemp createTempObject(int value)

createLong

public static CDOID createLong(long value)

read

public static CDOID read(org.eclipse.net4j.util.io.ExtendedDataInput in,
                         CDOIDObjectFactory factory)
                  throws java.io.IOException
Throws:
java.io.IOException

read

public static CDOID read(org.eclipse.net4j.util.io.ExtendedDataInput in,
                         CDOIDObjectFactory factory,
                         boolean asLegacy)
                  throws java.io.IOException
Throws:
java.io.IOException

write

public static void write(org.eclipse.net4j.util.io.ExtendedDataOutput out,
                         CDOID id)
                  throws java.io.IOException
Throws:
java.io.IOException

write

public static void write(org.eclipse.net4j.util.io.ExtendedDataOutput out,
                         CDOID id,
                         boolean asLegacy)
                  throws java.io.IOException
Throws:
java.io.IOException

createMeta

public static CDOIDMeta createMeta(long value)

createMetaRange

public static CDOIDMetaRange createMetaRange(CDOID lowerBound,
                                             int count)

readMetaRange

public static CDOIDMetaRange readMetaRange(org.eclipse.net4j.util.io.ExtendedDataInput in)
                                    throws java.io.IOException
Throws:
java.io.IOException

writeMetaRange

public static void writeMetaRange(org.eclipse.net4j.util.io.ExtendedDataOutput out,
                                  CDOIDMetaRange idRange)
                           throws java.io.IOException
Throws:
java.io.IOException

readLibraryDescriptor

public static CDOIDLibraryDescriptor readLibraryDescriptor(org.eclipse.net4j.util.io.ExtendedDataInput in)
                                                    throws java.io.IOException
Throws:
java.io.IOException

createIDAndVersion

public static CDOIDAndVersion createIDAndVersion(CDOID id,
                                                 int version)

readIDAndVersion

public static CDOIDAndVersion readIDAndVersion(org.eclipse.net4j.util.io.ExtendedDataInput in,
                                               CDOIDObjectFactory factory)
                                        throws java.io.IOException
Throws:
java.io.IOException

readIDAndVersion

public static CDOIDAndVersion readIDAndVersion(org.eclipse.net4j.util.io.ExtendedDataInput in,
                                               CDOIDObjectFactory factory,
                                               boolean asLegacy)
                                        throws java.io.IOException
Throws:
java.io.IOException

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