ConForM.CoopnTools.CoKer.CoopnMgr
Class CoopnTermAgg

java.lang.Object
  |
  +--ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
        |
        +--ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElementList
              |
              +--ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTermAgg
All Implemented Interfaces:
java.lang.Cloneable, CoopnSyntacticElement, java.io.Serializable

public class CoopnTermAgg
extends CoopnElementList

Aggregates of coopn terms.

See Also:
CoopnElement, Serialized Form

Fields inherited from class ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElementList
elems
 
Constructor Summary
CoopnTermAgg()
          Simple constructor.
CoopnTermAgg(CoopnTerm term)
          Simple constructor with a first value.
 
Method Summary
 void add(CoopnTerm term)
           
 CoopnTerm[] elements()
           
 void merge(CoopnTermAgg list)
           
 void remove(CoopnTerm term)
           
 ConForM.CoopnTools.CoKer.CoopnMgr.CoopnCocoMgr.CoopnCocoElement toCoco(CoopnSymbolTable table)
          CoCo conversion method.
 ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement toCompleteText(CoopnSymbolTable table)
          Complete textual elements conversion method.
 ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement toText()
          Textual elements conversion method.
 CoopnTypeAgg type()
          Get the type of the aggregate of terms.
 
Methods inherited from class ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElementList
add, clone, contains, empty, equals, getElements, hashCode, interpret, merge, pureCOIL, pureCOOPN, remove, size, unmodifiableCopy
 
Methods inherited from class ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
cloneCoopnElement, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteText, toCompleteTokens, toCompleteTokens, toCompleteTokens, toCompleteTokens, toCompleteTokens, toCompleteTokens, toString, toString, toString, toTokens, toTokens, toTokens
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoopnTermAgg

public CoopnTermAgg()
Simple constructor.

CoopnTermAgg

public CoopnTermAgg(CoopnTerm term)
Simple constructor with a first value.
Method Detail

add

public void add(CoopnTerm term)

merge

public void merge(CoopnTermAgg list)

remove

public void remove(CoopnTerm term)

elements

public CoopnTerm[] elements()

type

public CoopnTypeAgg type()
Get the type of the aggregate of terms.
Returns:
the aggregates of types correspondinmg to the aggregate of terms.

toText

public ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement toText()
Textual elements conversion method. Overrides the conversion of lists.
Overrides:
toText in class CoopnElement
Returns:
a CoopnTextExpression image.

toCompleteText

public ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement toCompleteText(CoopnSymbolTable table)
Complete textual elements conversion method. Overrides the conversion of lists.
Overrides:
toCompleteText in class CoopnElement
Parameters:
table - the symbol table used to generate symbol references
Returns:
a CoopnTextExpression image.

toCoco

public ConForM.CoopnTools.CoKer.CoopnMgr.CoopnCocoMgr.CoopnCocoElement toCoco(CoopnSymbolTable table)
                                                                       throws java.lang.IllegalArgumentException
Description copied from class: CoopnElement
CoCo conversion method. Must be defined in the inherited classes. This routine convert an element into a string representing it in a CO-opn COnpact form.
Overrides:
toCoco in class CoopnElement
Following copied from class: ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
Parameters:
origin - the module which generated the Coco conversion
table - the symbol table used to generate symbol references
Returns:
a String image of the element.
Throws:
java.lang.IllegalArgumentException - A used symbol is not in the symbol table.