org.palo.api.impl
Class VariableImpl
java.lang.Object
org.palo.api.impl.VariableImpl
- All Implemented Interfaces:
- NamedEntity, PaloObject, Variable
public class VariableImpl
- extends java.lang.Object
- implements Variable
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInputType
public int getInputType()
- Specified by:
getInputType
in interface Variable
getInterval
public Element[] getInterval()
- Specified by:
getInterval
in interface Variable
getPossibleValues
public Element[] getPossibleValues()
- Specified by:
getPossibleValues
in interface Variable
getDatatype
public int getDatatype()
- Specified by:
getDatatype
in interface Variable
setPossibleValues
public void setPossibleValues(com.tensegrity.palojava.ElementInfo[] elements)
getSelectionType
public int getSelectionType()
- Specified by:
getSelectionType
in interface Variable
getValue
public Element getValue()
- Specified by:
getValue
in interface Variable
setInterval
public void setInterval(Element from,
Element to)
- Specified by:
setInterval
in interface Variable
getSelectedElements
public Element[] getSelectedElements()
- Specified by:
getSelectedElements
in interface Variable
setSelectedElements
public void setSelectedElements(Element[] selectedElements)
- Specified by:
setSelectedElements
in interface Variable
setValue
public void setValue(Element element)
- Specified by:
setValue
in interface Variable
getId
public java.lang.String getId()
- Description copied from interface:
PaloObject
- Returns the unique identifier of this palo object.
Important note: for a correct usage please note that the
returned id is only unique within the parent scope of this palo object.
Furthermore in case of deletion the id is reused, i.e. if a palo object
is removed its id could be given to a newly created palo object afterwards!!
- Specified by:
getId
in interface PaloObject
- Returns:
- id of the palo object.
getName
public java.lang.String getName()
- Description copied from interface:
NamedEntity
- Returns the name of the entity.
- Specified by:
getName
in interface NamedEntity
- Returns:
- the name of the entity.
getText
public java.lang.String getText()
- Specified by:
getText
in interface Variable
setText
public void setText(java.lang.String newText)
- Specified by:
setText
in interface Variable