org.agileclick.genorm.runtime
Class GenOrmField
java.lang.Object
org.agileclick.genorm.runtime.GenOrmField
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- GenOrmBoolean, GenOrmByte, GenOrmDouble, GenOrmFieldTemplate, GenOrmInt, GenOrmLong, GenOrmShort
public abstract class GenOrmField
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
GenOrmField
public GenOrmField(GenOrmFieldMeta gofm)
getFieldMeta
public GenOrmFieldMeta getFieldMeta()
setNull
public boolean setNull()
isNull
public boolean isNull()
setValue
public abstract void setValue(java.sql.ResultSet rs,
int pos)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
placeValue
public abstract void placeValue(java.sql.PreparedStatement ps,
int pos)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
placePrevValue
public abstract void placePrevValue(java.sql.PreparedStatement ps,
int pos)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
hashCode
public abstract int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public abstract boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
getPrevValue
public abstract java.lang.Object getPrevValue()
toString
public abstract java.lang.String toString()
- Returns the value of the field as a string
- Overrides:
toString in class java.lang.Object
getPrevValueAsString
public abstract java.lang.String getPrevValueAsString()
setRecordKey
public void setRecordKey(GenOrmRecordKey recordKey)
getRecordKey
public GenOrmRecordKey getRecordKey()