org.equanda.persistence
Class Uoid
java.lang.Object
org.equanda.persistence.Uoid
- All Implemented Interfaces:
- Serializable, HasId<Uoid>
public class Uoid
- extends Object
- implements HasId<Uoid>, Serializable
Uoid definition class. This is just a thin wrapper for String, as a Uoid in equanda is just a 14 character String,
but it is represented in a different class to allow discrimination and better use of polymorphism.
- Author:
- Joachim Van der Auwera
- See Also:
- Serialized Form
Uoid
public Uoid()
Uoid
public Uoid(String str)
getId
public Uoid getId()
- Description copied from interface:
HasId
- Get unique object identifier for this object.
- Specified by:
getId
in interface HasId<Uoid>
- Returns:
- id
getString
public String getString()
setString
public void setString(String str)
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2007-2009. All Rights Reserved.