inpro.irmrsc.rmrs
Class Variable
java.lang.Object
inpro.irmrsc.rmrs.Variable
public class Variable
- extends java.lang.Object
A variable of a Variable.Type
with an integer ID.
- Author:
- Andreas Peldszus
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mID
private int mID
mType
private Variable.Type mType
Variable
public Variable(int ID,
Variable.Type aType)
Variable
public Variable(int ID)
Variable
public Variable(Variable.Type Type)
Variable
public Variable()
Variable
public Variable(Variable v)
getID
public int getID()
getType
public Variable.Type getType()
isSpecifiedIndexVariable
public boolean isSpecifiedIndexVariable()
setID
public void setID(int ID)
setType
public void setType(Variable.Type mType)
sameTypeAs
public boolean sameTypeAs(Variable v)
sameIDAs
public boolean sameIDAs(Variable v)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
parseXML
public void parseXML(org.jdom.Element e)
- initializes this variable object from XML element variable definition
<vdef>
- Parameters:
e
- the element