ConForM.CoopnTools.CoKer
Interface CoopnSyntacticRelationnalSymbol

All Superinterfaces:
java.lang.Cloneable, CoopnSyntacticElement, CoopnSyntacticSymbol, java.io.Serializable
All Known Implementing Classes:
CoalaExceptionSymbol, CoalaHandlerSymbol, CoalaRoleSymbol, CoopnClassPortSymbol, CoopnContextPortSymbol, CoopnPlaceSymbol

public interface CoopnSyntacticRelationnalSymbol
extends CoopnSyntacticSymbol

Coopn syntactic relationnal symbol. This interface defines relationnal symbols of the various abstract syntaxes used by CoopnTools. Relationnal symbols have n logicial parameters, n belonging to N.


Method Summary
 int paramNumber()
          Get the number of parameters.
 CoopnSyntacticElement[] paramTypes()
          Get an array of elements, representing the "type" (in a broad sense) of the parameters.
 
Methods inherited from interface ConForM.CoopnTools.CoKer.CoopnSyntacticSymbol
comment, identifier, kind, symbolModule, symbolModuleKind, symbolName
 
Methods inherited from interface ConForM.CoopnTools.CoKer.CoopnSyntacticElement
clone, equals, hashCode, toCompleteString, toCompleteString, toCompleteString, toString, toString, toString
 

Method Detail

paramNumber

public int paramNumber()
Get the number of parameters. Must be defined in the inherited classes.
Returns:
an integer, the actual number of parameter.

paramTypes

public CoopnSyntacticElement[] paramTypes()
Get an array of elements, representing the "type" (in a broad sense) of the parameters. More precisely, by "type", we intent the information added to the symbol name, characterising the parameters.
Returns:
the parameters "type", as an array of CoopnSyntacticElements, the size of which is equals to paramNumber().