com.tagtraum.sixbs
Class ObjectIdentifier
java.lang.Object
|
+--com.tagtraum.sixbs.ObjectIdentifier
- public class ObjectIdentifier
- extends Object
Provides unique IDs for Objects.
- Version:
- $Id: ObjectIdentifier.java,v 1.2 2001/05/11 16:45:16 Hendrik Exp $
- Author:
- Hendrik Schreiber
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vcid
public static String vcid
- Source-Version
ObjectIdentifier
public ObjectIdentifier()
getId
public String getId(Object obj)
- Tests whether a object is already registered and returns its id.
getObject
public Object getObject(String id)
- Returns an Object for an id.
registerObject
public void registerObject(String id,
Object object)
- Registers an object while de-serialization.
createId
public String createId(Object obj)
- Returns the ID for an object. If none exists, a new one is created.
ids are hex coded.
Copyright © 2001 tagtraum industries.