public class GenOrmLong extends GenOrmField
| Constructor and Description |
|---|
GenOrmLong(GenOrmFieldMeta fieldMeta) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getPrevValue() |
java.lang.String |
getPrevValueAsString() |
java.lang.String |
getSQLValue() |
long |
getValue() |
int |
hashCode() |
void |
placePrevValue(java.sql.PreparedStatement ps,
int pos) |
void |
placeValue(java.sql.PreparedStatement ps,
int pos) |
void |
setPrevValue(long value) |
boolean |
setValue(long value) |
void |
setValue(java.sql.ResultSet rs,
int pos) |
java.lang.String |
toString()
Returns the value of the field as a string
|
getFieldMeta, getRecordKey, isNull, setNull, setRecordKeypublic GenOrmLong(GenOrmFieldMeta fieldMeta)
public boolean setValue(long value)
public void setPrevValue(long value)
public long getValue()
public java.lang.Long 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