com.tensegrity.graph.model
Class GraphObjectID

java.lang.Object
  extended bycom.tensegrity.graph.model.GraphObjectID

public class GraphObjectID
extends java.lang.Object

This class contains a static method for querrying the next available ID for graph objects.

Version:
$Id: GraphObjectID.java,v 1.2 2003/11/17 12:30:13 sr Exp $
Author:
Stepan Rutz

Method Summary
static void adjustNextID(long id)
          Adjusts the id to be larger than the given id.
static long getNextID()
          Returns the next available id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNextID

public static long getNextID()
Returns the next available id.

Returns:
the next available id.

adjustNextID

public static void adjustNextID(long id)
Adjusts the id to be larger than the given id.

Parameters:
id - the reference value to use for id-adjustment.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.