pt.ist.fenixframework.backend.ogm
Class OgmOID

Package class diagram package OgmOID
java.lang.Object
  extended by pt.ist.fenixframework.backend.ogm.OgmOID
All Implemented Interfaces:
Serializable, Comparable<OgmOID>

public class OgmOID
extends Object
implements Comparable<OgmOID>, Serializable

This class provides the internal representation of an DomainObject's identifier in OGM.

See Also:
Serialized Form

Field Summary
static String ROOT_PK
           
 
Method Summary
 int compareTo(OgmOID other)
           
 boolean equals(Object o)
           
 String getPrimaryKey()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ROOT_PK

public static final String ROOT_PK
See Also:
Constant Field Values
Method Detail

getPrimaryKey

public String getPrimaryKey()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(OgmOID other)
Specified by:
compareTo in interface Comparable<OgmOID>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.