ConForM.CoopnTools.CoKer.CoalaMgr
Class CoalaCaaBody
java.lang.Object
|
+--ConForM.CoopnTools.CoKer.CoalaMgr.CoalaElement
|
+--ConForM.CoopnTools.CoKer.CoalaMgr.CoalaSection
|
+--ConForM.CoopnTools.CoKer.CoalaMgr.CoalaCaaInterface
|
+--ConForM.CoopnTools.CoKer.CoalaMgr.CoalaCaaBody
- All Implemented Interfaces:
- java.lang.Cloneable, CoopnSyntacticElement, CoopnSyntacticPrivateSection, CoopnSyntacticSection, java.io.Serializable
- public class CoalaCaaBody
- extends CoalaCaaInterface
- implements CoopnSyntacticPrivateSection
Coopn CAA body.
- See Also:
CoalaElement
, Serialized Form
Methods inherited from class ConForM.CoopnTools.CoKer.CoalaMgr.CoalaElement |
cloneCoalaElement, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteText, toString, toString, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
CoalaCaaBody
public CoalaCaaBody()
- Simple constructor.
kind
public java.lang.String kind()
- Description copied from interface:
CoopnSyntacticSection
- Kind retrieving method. This method must be defined in the inherited
classes for returning a string allowing the user to know what kind of
section this is.
- Specified by:
kind
in interface CoopnSyntacticSection
- Overrides:
kind
in class CoalaCaaInterface
- Following copied from interface:
ConForM.CoopnTools.CoKer.CoopnSyntacticSection
- Returns:
- a string defining the section kind.
fields
public CoopnSyntacticField[] fields()
- Description copied from interface:
CoopnSyntacticSection
- Get the fields of this section.
- Specified by:
fields
in interface CoopnSyntacticSection
- Overrides:
fields
in class CoalaCaaInterface
- Following copied from interface:
ConForM.CoopnTools.CoKer.CoopnSyntacticSection
- Returns:
- The fields defined by this section.
useCaas
public CoalaUseCaaField useCaas()
objects
public CoalaObjectField objects()
handlers
public CoalaHandlerField handlers()
resolutions
public CoalaResolutionField resolutions()
variables
public CoalaVariableField variables()
getRoles
public CoalaRoleList getRoles()
addUseCaas
public void addUseCaas(CoalaUseCaaField list)
addRoles
public void addRoles(CoalaRoleField list)
- Overrides:
addRoles
in class CoalaCaaInterface
addObjects
public void addObjects(CoalaObjectField list)
addHandlers
public void addHandlers(CoalaHandlerField list)
addResolutions
public void addResolutions(CoalaResolutionField list)
addVariables
public void addVariables(CoalaVariableField list)
addRoles
public void addRoles(CoalaRoleList list)
equals
public boolean equals(java.lang.Object obj)
- Description copied from interface:
CoopnSyntacticElement
- Equality method. Must be defined in the inherited classes.
- Specified by:
equals
in interface CoopnSyntacticElement
- Overrides:
equals
in class CoalaCaaInterface
- Following copied from interface:
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
- Parameters:
obj
- the object to compare- Returns:
- true iff this object and the parameter are equals.
createTextElement
protected ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement createTextElement()
- Overrides:
createTextElement
in class CoalaCaaInterface
toText
public ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement toText()
- Description copied from class:
CoalaElement
- Textual elements conversion method. Must be defined in the inherited
classes. This routine converts an element into a user-friendly textual
element representing it. The string interpretation of this element is
very intuitive by a user, but may
be incorrect in the sense that it may be rejected by a checker.
- Overrides:
toText
in class CoalaCaaInterface
- Following copied from class:
ConForM.CoopnTools.CoKer.CoalaMgr.CoalaElement
- Returns:
- a CoopnTextElement image.
toCompleteText
public ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement toCompleteText(CoopnSymbolTable table)
- Description copied from class:
CoalaElement
- Complete textual elements conversion method. Must be defined in the
inherited classes. This routine converts an element into a correct
textual element representing it. The string interpretation of this
element will be accepted by a checker, but may be difficult to read by
users, due to the additionnal information, like parenthesis and so on.
- Overrides:
toCompleteText
in class CoalaCaaInterface
- Following copied from class:
ConForM.CoopnTools.CoKer.CoalaMgr.CoalaElement
- Parameters:
table
- the symbol table used to generate symbol references- Returns:
- a CoopnTextElement image.
clone
public java.lang.Object clone()
- Description copied from interface:
CoopnSyntacticElement
- Cloning method. Must be defined in the inherited classes.
- Specified by:
clone
in interface CoopnSyntacticElement
- Overrides:
clone
in class CoalaCaaInterface
- Following copied from interface:
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
- Returns:
- a clone object.