fr.inria.oadymppac.parsing.info
Class ChoicePointInfo

java.lang.Object
  extended byfr.inria.oadymppac.parsing.info.BasicInfo
      extended byfr.inria.oadymppac.parsing.info.EventInfo
          extended byfr.inria.oadymppac.parsing.info.ChoicePointInfo
All Implemented Interfaces:
ChoiceConstraintListProvider, ChoicePointAttributes, java.lang.Cloneable, DTDChoicePointElement, DTDEventAttributes, EventAttributes, Info, StateProvider

public class ChoicePointInfo
extends EventInfo
implements ChoicePointAttributes, 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.ChoicePointAttributes
NODE_NONE, NODENAME_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDChoicePointElement
CHOICEPOINT, NODE, NODENAME
 
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
ChoicePointInfo()
           
 
Method Summary
 java.lang.Object clone()
           
 ChoiceConstraintListInfo getChoiceConstraintList()
           
 int getInfoType()
           
 java.lang.String getNode()
           
 java.lang.String getNodeName()
           
 StateInfo getState()
           
 void setChoiceConstraintList(ChoiceConstraintListInfo choiceConstraintList)
           
 void setNode(java.lang.String node)
           
 void setNodeName(java.lang.String nodeName)
           
 void setState(StateInfo state)
           
 
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

ChoicePointInfo

public ChoicePointInfo()
Method Detail

getInfoType

public int getInfoType()
Specified by:
getInfoType in interface Info

getNode

public java.lang.String getNode()
Specified by:
getNode in interface ChoicePointAttributes

setNode

public void setNode(java.lang.String node)
Specified by:
setNode in interface ChoicePointAttributes

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 ChoicePointAttributes
Returns:
Returns the nodeName.

setNodeName

public void setNodeName(java.lang.String nodeName)
Specified by:
setNodeName in interface ChoicePointAttributes
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.