org.agileclick.genorm.runtime
Class GenOrmRecordKey
java.lang.Object
org.agileclick.genorm.runtime.GenOrmRecordKey
- All Implemented Interfaces:
- java.io.Serializable
public class GenOrmRecordKey
- extends java.lang.Object
- implements java.io.Serializable
The Key is used to identify the uniqueness of this particular record.
The Key is made up of the table name and a list of primary keys for the
record.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
GenOrmRecordKey
public GenOrmRecordKey(java.lang.String tableName)
getTableName
public java.lang.String getTableName()
addKeyField
public void addKeyField(java.lang.String name,
GenOrmField field)
- For Generated code use only
getFieldIterator
public java.util.Iterator<GenOrmField> getFieldIterator()
getField
public GenOrmField getField(java.lang.String name)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object