public abstract class AbstractVariable extends java.lang.Object implements VariableInterface
| Modifier and Type | Field and Description |
|---|---|
protected AoFactoryIF |
aoFactory |
protected AoSession |
aoSession |
protected java.lang.String |
description |
protected boolean |
getable |
protected java.lang.String |
name |
protected boolean |
setable |
| Constructor and Description |
|---|
AbstractVariable() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
get()
Get the values of the variable
|
boolean |
getable()
Is the variable a READ variable, can this variable be used in the get method.
|
java.lang.String |
getDescription()
Get the description of the variable
|
java.lang.String |
getName()
Get the name of the variable
|
void |
set(java.lang.String value)
Set the value to the variable
|
boolean |
setable()
Is the variable a WRITE variable, can this variable be used in the set method.
|
void |
setFactory(AoFactoryIF aoFactory)
Set the factory for the access to the C implementation
|
void |
setSession(AoSession aoSession)
Set the session for the access to the C implementation
|
protected boolean getable
protected boolean setable
protected java.lang.String name
protected java.lang.String description
protected AoFactoryIF aoFactory
protected AoSession aoSession
public java.lang.String getName()
VariableInterfacegetName in interface VariableInterfacepublic java.lang.String getDescription()
VariableInterfacegetDescription in interface VariableInterfacepublic java.lang.String[] get()
throws com.highqsoft.avalon.AvalonException
VariableInterfaceget in interface VariableInterfacecom.highqsoft.avalon.AvalonException - any occurring Avalon exception.public void set(java.lang.String value)
throws com.highqsoft.avalon.AvalonException
VariableInterfaceset in interface VariableInterfacevalue - the new valuecom.highqsoft.avalon.AvalonException - any occurring Avalon exceptionpublic boolean getable()
throws com.highqsoft.avalon.AvalonException
VariableInterfacegetable in interface VariableInterfacecom.highqsoft.avalon.AvalonException - any occurring Avalon exceptionpublic boolean setable()
throws com.highqsoft.avalon.AvalonException
VariableInterfacesetable in interface VariableInterfacecom.highqsoft.avalon.AvalonException - any occurring Avalon exceptionpublic void setFactory(AoFactoryIF aoFactory)
VariableInterfacesetFactory in interface VariableInterfaceaoFactory - the com.highqsoft.avalon.AoFactorypublic void setSession(AoSession aoSession)
VariableInterfacesetSession in interface VariableInterfaceaoSession - the com.highqsoft.avalon.AoSession