|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.xal.smf.proxy.PrimaryPropertyAccessor
| Constructor Summary | |
PrimaryPropertyAccessor()
|
|
| Method Summary | |
protected void |
addInput(ModelInput anInput)
|
protected static double |
doubleValueFor(AcceleratorNode node,
java.lang.String property,
java.lang.String mode)
Returns the double value for the specified property of the supplied node, using the specified mode. |
ModelInput |
getInput(AcceleratorNode aNode,
java.lang.String propName)
Returns the ModelInput for the specified node's property, or null if there is none. |
boolean |
hasAccessorFor(AcceleratorNode aNode)
Returns true if there is an accessor for the specified node type, false otherwise. |
java.util.List |
propertyNamesFor(AcceleratorNode aNode)
Returns a List of property names for the supplied node. |
void |
removeInput(AcceleratorNode aNode,
java.lang.String property)
|
ModelInput |
setModelInput(AcceleratorNode aNode,
java.lang.String property,
double val)
Sets the specified node's property to the specified value. |
static java.util.Map |
valueMapFor(java.lang.Object objNode,
java.lang.String mode)
Returns a Map of property values for the supplied node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PrimaryPropertyAccessor()
| Method Detail |
protected static double doubleValueFor(AcceleratorNode node,
java.lang.String property,
java.lang.String mode)
throws ProxyException
node - AcceleratorNode to get property value forproperty - name of node property to get value formode - either PropertyAccessor.SYNC_MODE_LIVE or
PropertyAccessor.SYNC_MODE_Design
ProxyException - if the node's accessor encounters an error getting a property value
public static java.util.Map valueMapFor(java.lang.Object objNode,
java.lang.String mode)
throws ProxyException
ProxyException - if the node's accessor encounters an error getting a property valuepublic java.util.List propertyNamesFor(AcceleratorNode aNode)
aNode - AcceleratorNode whose property names to return
public boolean hasAccessorFor(AcceleratorNode aNode)
aNode - AcceleratorNode whose type to find an accessor for
public ModelInput setModelInput(AcceleratorNode aNode,
java.lang.String property,
double val)
aNode - node whose property to setproperty - name of property to setval - double value for property
public ModelInput getInput(AcceleratorNode aNode,
java.lang.String propName)
aNode - node whose property to get a ModelInput forpropName - name of property to get a ModelInput forprotected void addInput(ModelInput anInput)
public void removeInput(AcceleratorNode aNode,
java.lang.String property)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||