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
clone, equals, finalize, 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.

Specified by:
byteValue in class DBData

shortValue

public short shortValue()
Return the value as a short.

Specified by:
shortValue in class DBData

intValue

public int intValue()
Return the value as an int.

Specified by:
intValue in class DBData

longValue

public long longValue()
Return the value as a long.

Specified by:
longValue in class DBData

floatValue

public float floatValue()
Return the value as a float.

Specified by:
floatValue in class DBData

doubleValue

public double doubleValue()
Return the value as a double.

Specified by:
doubleValue in class DBData

stringValue

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

Specified by:
stringValue in class DBData