fr.inria.oadymppac.parsing.info
Class ChoiceConstraintInfo
java.lang.Object
fr.inria.oadymppac.parsing.info.BasicInfo
fr.inria.oadymppac.parsing.info.ChoiceConstraintInfo
- All Implemented Interfaces:
- ChoiceConstraintAttributes, java.lang.Cloneable, DTDChoiceConstraintElement, Info
- public class ChoiceConstraintInfo
- extends BasicInfo
- implements ChoiceConstraintAttributes, java.lang.Cloneable
- Author:
- raf
Fields inherited from interface fr.inria.oadymppac.parsing.event.Info |
logger |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INFO_TYPE
public static final int INFO_TYPE
- See Also:
- Constant Field Values
ChoiceConstraintInfo
public ChoiceConstraintInfo()
getInfoType
public int getInfoType()
- Specified by:
getInfoType
in interface Info
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class BasicInfo
- Throws:
java.lang.CloneNotSupportedException
getConstraints
public java.lang.String[] getConstraints()
- /**
- Specified by:
getConstraints
in interface ChoiceConstraintAttributes
- Returns:
- Returns the constraints.
setConstraints
public void setConstraints(java.lang.String[] constraints)
- Specified by:
setConstraints
in interface ChoiceConstraintAttributes
- Parameters:
constraints
- The constraints to set.
getValue
public int getValue()
- Specified by:
getValue
in interface ChoiceConstraintAttributes
- Returns:
- Returns the value.
setValue
public void setValue(int value)
- Specified by:
setValue
in interface ChoiceConstraintAttributes
- Parameters:
value
- The value to set.
getVariable
public java.lang.String getVariable()
- Specified by:
getVariable
in interface ChoiceConstraintAttributes
- Returns:
- Returns the variable.
setVariable
public void setVariable(java.lang.String variable)
- Specified by:
setVariable
in interface ChoiceConstraintAttributes
- Parameters:
variable
- The variable to set.