gov.sns.jca
Class DbrValueAdaptor

java.lang.Object
  |
  +--gov.sns.jca.DbrValueAdaptor
All Implemented Interfaces:
ValueAdaptor
Direct Known Subclasses:
DbrStatusAdaptor

public class DbrValueAdaptor
extends java.lang.Object
implements ValueAdaptor

Wrap a jca.dbr.DBR record for high level access


Field Summary
protected  gov.aps.jca.dbr.DBR _dbr
           
protected static Selector valueSelector
           
 
Constructor Summary
DbrValueAdaptor(gov.aps.jca.dbr.DBR dbr)
          Creates a new instance of ValueAdaptor
 
Method Summary
 ArrayValue getStore()
          Get the array value as an ArrayStore.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

valueSelector

protected static final Selector valueSelector

_dbr

protected gov.aps.jca.dbr.DBR _dbr
Constructor Detail

DbrValueAdaptor

public DbrValueAdaptor(gov.aps.jca.dbr.DBR dbr)
Creates a new instance of ValueAdaptor

Method Detail

getStore

public ArrayValue getStore()
Get the array value as an ArrayStore. All DBR classes have a value() method but the interface does not since the method returns different array types. So, we use the Selector to call the method.

Specified by:
getStore in interface ValueAdaptor