jca.dbr
Class DBInt

java.lang.Object
  |
  +--jca.dbr.DBData
        |
        +--jca.dbr.DBInt

public class DBInt
extends DBData

This class represents a Channel Access database byte value.

See Also:
DBData

Constructor Summary
DBInt(int val)
          Construct a new DBInt object.
 
Method Summary
 byte byteValue()
          Return the value as a byte.
 double doubleValue()
          Return the value as a double.
 float floatValue()
          Return the value as a float.
 int intValue()
          Return the value as an int.
 long longValue()
          Return the value as a long.
 short shortValue()
          Return the value as a short.
 java.lang.String stringValue()
          Return the value as a string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBInt

public DBInt(int val)
Construct a new DBInt object.
Parameters:
val - the DBInt value.
Method Detail

byteValue

public byte byteValue()
Return the value as a byte.
Overrides:
byteValue in class DBData

shortValue

public short shortValue()
Return the value as a short.
Overrides:
shortValue in class DBData

intValue

public int intValue()
Return the value as an int.
Overrides:
intValue in class DBData

longValue

public long longValue()
Return the value as a long.
Overrides:
longValue in class DBData

floatValue

public float floatValue()
Return the value as a float.
Overrides:
floatValue in class DBData

doubleValue

public double doubleValue()
Return the value as a double.
Overrides:
doubleValue in class DBData

stringValue

public java.lang.String stringValue()
Return the value as a string. The convertion is made by calling String.valueOf().
Overrides:
stringValue in class DBData