org.agileclick.genorm.runtime
Class GenOrmLong

java.lang.Object
  extended by org.agileclick.genorm.runtime.GenOrmField
      extended by org.agileclick.genorm.runtime.GenOrmLong
All Implemented Interfaces:
java.io.Serializable

public class GenOrmLong
extends GenOrmField

See Also:
Serialized Form

Constructor Summary
GenOrmLong(GenOrmFieldMeta fieldMeta)
           
 
Method Summary
 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
 
Methods inherited from class org.agileclick.genorm.runtime.GenOrmField
getFieldMeta, getRecordKey, isNull, setNull, setRecordKey
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenOrmLong

public GenOrmLong(GenOrmFieldMeta fieldMeta)
Method Detail

setValue

public boolean setValue(long value)

setPrevValue

public void setPrevValue(long value)

getValue

public long getValue()

getPrevValue

public java.lang.Long getPrevValue()
Specified by:
getPrevValue in class GenOrmField

setValue

public void setValue(java.sql.ResultSet rs,
                     int pos)
              throws java.sql.SQLException
Specified by:
setValue in class GenOrmField
Throws:
java.sql.SQLException

placeValue

public void placeValue(java.sql.PreparedStatement ps,
                       int pos)
                throws java.sql.SQLException
Specified by:
placeValue in class GenOrmField
Throws:
java.sql.SQLException

placePrevValue

public void placePrevValue(java.sql.PreparedStatement ps,
                           int pos)
                    throws java.sql.SQLException
Specified by:
placePrevValue in class GenOrmField
Throws:
java.sql.SQLException

getSQLValue

public java.lang.String getSQLValue()

hashCode

public int hashCode()
Specified by:
hashCode in class GenOrmField

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in class GenOrmField

getPrevValueAsString

public java.lang.String getPrevValueAsString()
Specified by:
getPrevValueAsString in class GenOrmField

toString

public java.lang.String toString()
Description copied from class: GenOrmField
Returns the value of the field as a string

Specified by:
toString in class GenOrmField