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()
VariableInterface
getName
in interface VariableInterface
public java.lang.String getDescription()
VariableInterface
getDescription
in interface VariableInterface
public java.lang.String[] get() throws com.highqsoft.avalon.AvalonException
VariableInterface
get
in interface VariableInterface
com.highqsoft.avalon.AvalonException
- any occurring Avalon exception.public void set(java.lang.String value) throws com.highqsoft.avalon.AvalonException
VariableInterface
set
in interface VariableInterface
value
- the new valuecom.highqsoft.avalon.AvalonException
- any occurring Avalon exceptionpublic boolean getable() throws com.highqsoft.avalon.AvalonException
VariableInterface
getable
in interface VariableInterface
com.highqsoft.avalon.AvalonException
- any occurring Avalon exceptionpublic boolean setable() throws com.highqsoft.avalon.AvalonException
VariableInterface
setable
in interface VariableInterface
com.highqsoft.avalon.AvalonException
- any occurring Avalon exceptionpublic void setFactory(AoFactoryIF aoFactory)
VariableInterface
setFactory
in interface VariableInterface
aoFactory
- the com.highqsoft.avalon.AoFactorypublic void setSession(AoSession aoSession)
VariableInterface
setSession
in interface VariableInterface
aoSession
- the com.highqsoft.avalon.AoSession