fr.inria.oadymppac.parsing.info
Class SolutionInfo

java.lang.Object
  extended byfr.inria.oadymppac.parsing.info.BasicInfo
      extended byfr.inria.oadymppac.parsing.info.EventInfo
          extended byfr.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

Field Summary
static int INFO_TYPE
           
 
Fields inherited from class fr.inria.oadymppac.parsing.info.BasicInfo
cloned, created
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.SolutionAttributes
NODE_NONE, NODENAME_NONE, VALUE_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDSolutionElement
NODE, NODENAME, SOLUTION, VALUE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.EventAttributes
CHRONO_NONE, CONTEXT_NONE, DEPTH_NONE, FILE_NONE, LINE_NONE, TIME_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDEventAttributes
CHRONO, CONTEXT, DEPTH, FILE, LINE, TIME
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Info
logger
 
Constructor Summary
SolutionInfo()
           
 
Method Summary
 java.lang.Object clone()
           
 ChoiceConstraintListInfo getChoiceConstraintList()
           
 int getInfoType()
           
 java.lang.String getNode()
           
 java.lang.String getNodeName()
           
 StateInfo getState()
           
 int getValue()
           
 void setChoiceConstraintList(ChoiceConstraintListInfo choiceConstraintList)
           
 void setNode(java.lang.String node)
           
 void setNodeName(java.lang.String nodeName)
           
 void setState(StateInfo state)
           
 void setValue(int value)
           
 
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 fr.inria.oadymppac.parsing.info.BasicInfo
clone, clone, clone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INFO_TYPE

public static final int INFO_TYPE
See Also:
Constant Field Values
Constructor Detail

SolutionInfo

public SolutionInfo()
Method Detail

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.