public class GenOrmShort extends GenOrmField
| Constructor and Description |
|---|
GenOrmShort(GenOrmFieldMeta fieldMeta) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Short |
getPrevValue() |
java.lang.String |
getPrevValueAsString() |
java.lang.String |
getSQLValue() |
short |
getValue() |
int |
hashCode() |
void |
placePrevValue(java.sql.PreparedStatement ps,
int pos) |
void |
placeValue(java.sql.PreparedStatement ps,
int pos) |
void |
setPrevValue(short value) |
void |
setValue(java.sql.ResultSet rs,
int pos) |
boolean |
setValue(short value) |
java.lang.String |
toString()
Returns the value of the field as a string
|
getFieldMeta, getRecordKey, isNull, setNull, setRecordKeypublic GenOrmShort(GenOrmFieldMeta fieldMeta)
public boolean setValue(short value)
public void setPrevValue(short value)
public short getValue()
public java.lang.Short getPrevValue()
getPrevValue in class GenOrmFieldpublic void setValue(java.sql.ResultSet rs,
int pos)
throws java.sql.SQLException
setValue in class GenOrmFieldjava.sql.SQLExceptionpublic void placeValue(java.sql.PreparedStatement ps,
int pos)
throws java.sql.SQLException
placeValue in class GenOrmFieldjava.sql.SQLExceptionpublic void placePrevValue(java.sql.PreparedStatement ps,
int pos)
throws java.sql.SQLException
placePrevValue in class GenOrmFieldjava.sql.SQLExceptionpublic java.lang.String getSQLValue()
public int hashCode()
hashCode in class GenOrmFieldpublic boolean equals(java.lang.Object obj)
equals in class GenOrmFieldpublic java.lang.String getPrevValueAsString()
getPrevValueAsString in class GenOrmFieldpublic java.lang.String toString()
GenOrmFieldtoString in class GenOrmField