org.nakedobjects.plugins.sql.objectstore
Class IntegerPrimaryKey

java.lang.Object
  extended by org.nakedobjects.plugins.sql.objectstore.IntegerPrimaryKey
All Implemented Interfaces:
java.io.Serializable, PrimaryKey

public class IntegerPrimaryKey
extends java.lang.Object
implements PrimaryKey

See Also:
Serialized Form

Constructor Summary
IntegerPrimaryKey(int primaryKey)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String stringValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegerPrimaryKey

public IntegerPrimaryKey(int primaryKey)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

stringValue

public java.lang.String stringValue()
Specified by:
stringValue in interface PrimaryKey

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.