gov.aps.jca.dbr
Class DBR

java.lang.Object
  |
  +--gov.aps.jca.dbr.DBR
Direct Known Subclasses:
DBR_Byte, DBR_Double, DBR_Enum, DBR_Float, DBR_Int, DBR_PutAckS, DBR_PutAckT, DBR_Short, DBR_String

public class DBR
extends java.lang.Object


Field Summary
static DBRType TYPE
           
 
Method Summary
 int getCount()
           
 DBRType getType()
           
 java.lang.Object getValue()
           
 boolean isBYTE()
           
static boolean isBYTE(DBR dbr)
           
 boolean isCTRL()
           
static boolean isCTRL(DBR dbr)
           
 boolean isDOUBLE()
           
static boolean isDOUBLE(DBR dbr)
           
 boolean isENUM()
           
static boolean isENUM(DBR dbr)
           
 boolean isFLOAT()
           
static boolean isFLOAT(DBR dbr)
           
 boolean isGR()
           
static boolean isGR(DBR dbr)
           
 boolean isINT()
           
static boolean isINT(DBR dbr)
           
 boolean isLABELS()
           
static boolean isLABELS(DBR dbr)
           
static boolean isPRECISION(DBR dbr)
           
 boolean isPRECSION()
           
 boolean isSHORT()
           
static boolean isSHORT(DBR dbr)
           
 boolean isSTRING()
           
static boolean isSTRING(DBR dbr)
           
 boolean isSTS()
           
static boolean isSTS(DBR dbr)
           
 boolean isTIME()
           
static boolean isTIME(DBR dbr)
           
 void printInfo()
           
 void printInfo(java.io.PrintStream out)
           
static void printValue(byte[] value)
          Helper method to print an array of byte as a comma separated list to the standard output stream.
static void printValue(byte[] value, java.io.PrintStream out)
          Helper method to print an array of byte as a comma separated list to the specified output stream.
static void printValue(double[] value)
          Helper method to print an array of double as a comma separated list to the standard output stream.
static void printValue(double[] value, java.io.PrintStream out)
          Helper method to print an array of double as a comma separated list to the specified output stream.
static void printValue(float[] value)
          Helper method to print an array of float as a comma separated list to the standard output stream.
static void printValue(float[] value, java.io.PrintStream out)
          Helper method to print an array of float as a comma separated list to the specified output stream.
static void printValue(int[] value)
          Helper method to print an array of int as a comma separated list to the standard output stream.
static void printValue(int[] value, java.io.PrintStream out)
          Helper method to print an array of int as a comma separated list to the specified output stream.
static void printValue(long[] value)
          Helper method to print an array of long as a comma separated list to the standard output stream.
static void printValue(long[] value, java.io.PrintStream out)
          Helper method to print an array of long as a comma separated list to the specified output stream.
static void printValue(short[] value)
          Helper method to print an array of short as a comma separated list to the standard output stream.
static void printValue(short[] value, java.io.PrintStream out)
          Helper method to print an array of short as a comma separated list to the specified output stream.
static void printValue(java.lang.String[] value)
          Helper method to print an array of String as a comma separated list to the standard output stream.
static void printValue(java.lang.String[] value, java.io.PrintStream out)
          Helper method to print an array of String as a comma separated list to the specified output stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final DBRType TYPE
Method Detail

getType

public DBRType getType()

getCount

public int getCount()

getValue

public java.lang.Object getValue()

printInfo

public void printInfo()

printInfo

public void printInfo(java.io.PrintStream out)

isBYTE

public boolean isBYTE()

isSHORT

public boolean isSHORT()

isINT

public boolean isINT()

isFLOAT

public boolean isFLOAT()

isDOUBLE

public boolean isDOUBLE()

isSTRING

public boolean isSTRING()

isENUM

public boolean isENUM()

isSTS

public boolean isSTS()

isGR

public boolean isGR()

isCTRL

public boolean isCTRL()

isLABELS

public boolean isLABELS()

isTIME

public boolean isTIME()

isPRECSION

public boolean isPRECSION()

isBYTE

public static boolean isBYTE(DBR dbr)

isSHORT

public static boolean isSHORT(DBR dbr)

isINT

public static boolean isINT(DBR dbr)

isFLOAT

public static boolean isFLOAT(DBR dbr)

isDOUBLE

public static boolean isDOUBLE(DBR dbr)

isSTRING

public static boolean isSTRING(DBR dbr)

isENUM

public static boolean isENUM(DBR dbr)

isSTS

public static boolean isSTS(DBR dbr)

isGR

public static boolean isGR(DBR dbr)

isCTRL

public static boolean isCTRL(DBR dbr)

isLABELS

public static boolean isLABELS(DBR dbr)

isTIME

public static boolean isTIME(DBR dbr)

isPRECISION

public static boolean isPRECISION(DBR dbr)

printValue

public static void printValue(byte[] value)
Helper method to print an array of byte as a comma separated list to the standard output stream.

Parameters:
value - the array to print.

printValue

public static void printValue(byte[] value,
                              java.io.PrintStream out)
Helper method to print an array of byte as a comma separated list to the specified output stream.

Parameters:
value - the array to print.
out - the output stream.

printValue

public static void printValue(short[] value)
Helper method to print an array of short as a comma separated list to the standard output stream.

Parameters:
value - the array to print.

printValue

public static void printValue(short[] value,
                              java.io.PrintStream out)
Helper method to print an array of short as a comma separated list to the specified output stream.

Parameters:
value - the array to print.
out - the output stream.

printValue

public static void printValue(int[] value)
Helper method to print an array of int as a comma separated list to the standard output stream.

Parameters:
value - the array to print.

printValue

public static void printValue(int[] value,
                              java.io.PrintStream out)
Helper method to print an array of int as a comma separated list to the specified output stream.

Parameters:
value - the array to print.
out - the output stream.

printValue

public static void printValue(long[] value)
Helper method to print an array of long as a comma separated list to the standard output stream.

Parameters:
value - the array to print.

printValue

public static void printValue(long[] value,
                              java.io.PrintStream out)
Helper method to print an array of long as a comma separated list to the specified output stream.

Parameters:
value - the array to print.
out - the output stream.

printValue

public static void printValue(float[] value)
Helper method to print an array of float as a comma separated list to the standard output stream.

Parameters:
value - the array to print.

printValue

public static void printValue(float[] value,
                              java.io.PrintStream out)
Helper method to print an array of float as a comma separated list to the specified output stream.

Parameters:
value - the array to print.
out - the output stream.

printValue

public static void printValue(double[] value)
Helper method to print an array of double as a comma separated list to the standard output stream.

Parameters:
value - the array to print.

printValue

public static void printValue(double[] value,
                              java.io.PrintStream out)
Helper method to print an array of double as a comma separated list to the specified output stream.

Parameters:
value - the array to print.
out - the output stream.

printValue

public static void printValue(java.lang.String[] value)
Helper method to print an array of String as a comma separated list to the standard output stream.

Parameters:
value - the array to print.

printValue

public static void printValue(java.lang.String[] value,
                              java.io.PrintStream out)
Helper method to print an array of String as a comma separated list to the specified output stream.

Parameters:
value - the array to print.
out - the output stream.