fr.inria.oadymppac.parsing.info
Class SolutionInfo
java.lang.Object
fr.inria.oadymppac.parsing.info.BasicInfo
fr.inria.oadymppac.parsing.info.EventInfo
fr.inria.oadymppac.parsing.info.SolutionInfo
- All Implemented Interfaces:
- ChoiceConstraintListProvider, java.lang.Cloneable, DTDEventAttributes, DTDSolutionElement, EventAttributes, Info, SolutionAttributes, StateProvider
- public class SolutionInfo
- extends EventInfo
- implements SolutionAttributes, StateProvider, ChoiceConstraintListProvider, java.lang.Cloneable
- Author:
- raf
Fields inherited from interface fr.inria.oadymppac.parsing.event.Info |
logger |
Methods inherited from class fr.inria.oadymppac.parsing.info.EventInfo |
getChrono, getContext, getDepth, getFile, getLine, getTime, setChrono, setContext, setDepth, setFile, setLine, setTime |
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
SolutionInfo
public SolutionInfo()
getInfoType
public int getInfoType()
- Specified by:
getInfoType
in interface Info
getNode
public java.lang.String getNode()
- Specified by:
getNode
in interface SolutionAttributes
setNode
public void setNode(java.lang.String node)
- Specified by:
setNode
in interface SolutionAttributes
getValue
public int getValue()
- Specified by:
getValue
in interface SolutionAttributes
setValue
public void setValue(int value)
- Specified by:
setValue
in interface SolutionAttributes
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class BasicInfo
- Throws:
java.lang.CloneNotSupportedException
getState
public StateInfo getState()
- Specified by:
getState
in interface StateProvider
- Returns:
- Returns the state.
setState
public void setState(StateInfo state)
- Specified by:
setState
in interface StateProvider
- Parameters:
state
- The state to set.
getNodeName
public java.lang.String getNodeName()
- Specified by:
getNodeName
in interface SolutionAttributes
- Returns:
- Returns the nodeName.
setNodeName
public void setNodeName(java.lang.String nodeName)
- Specified by:
setNodeName
in interface SolutionAttributes
- Parameters:
nodeName
- The nodeName to set.
getChoiceConstraintList
public ChoiceConstraintListInfo getChoiceConstraintList()
- Specified by:
getChoiceConstraintList
in interface ChoiceConstraintListProvider
- Returns:
- Returns the choiceConstraintList.
setChoiceConstraintList
public void setChoiceConstraintList(ChoiceConstraintListInfo choiceConstraintList)
- Specified by:
setChoiceConstraintList
in interface ChoiceConstraintListProvider
- Parameters:
choiceConstraintList
- The choiceConstraintList to set.