ConForM.CoopnTools.CoKer.SpecMgr
Class SpecClassMethodVariableField

java.lang.Object
  |
  +--ConForM.CoopnTools.CoKer.SpecMgr.SpecElement
        |
        +--ConForM.CoopnTools.CoKer.SpecMgr.SpecField
              |
              +--ConForM.CoopnTools.CoKer.SpecMgr.SpecClassMethodVariableField
All Implemented Interfaces:
java.lang.Cloneable, CoopnSyntacticElement, CoopnSyntacticField, java.io.Serializable

public class SpecClassMethodVariableField
extends SpecField

Specification class method variable fields.

See Also:
SpecElement, Serialized Form

Fields inherited from class ConForM.CoopnTools.CoKer.SpecMgr.SpecField
symbols
 
Constructor Summary
SpecClassMethodVariableField()
          Simple constructor.
 
Method Summary
 void add(java.util.List symbols)
           
 void add(SpecBiRelationnalVariableSymbol symbol)
           
 SpecBiRelationnalVariableSymbol[] elements()
          Get the symbols of this field.
 boolean equals(java.lang.Object obj)
          Equality method.
 int hashCode()
          Hashcode method.
 java.lang.String kind()
          Kind retrieving method.
 void merge(SpecClassMethodVariableField field)
           
 void remove(SpecBiRelationnalVariableSymbol symbol)
           
 
Methods inherited from class ConForM.CoopnTools.CoKer.SpecMgr.SpecField
add, clone, remove, size, symbols, toString, unmodifiableCopy
 
Methods inherited from class ConForM.CoopnTools.CoKer.SpecMgr.SpecElement
cloneSpecElement, toCompleteString, toCompleteString, toCompleteString, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ConForM.CoopnTools.CoKer.CoopnSyntacticElement
toCompleteString, toCompleteString, toCompleteString, toString, toString
 

Constructor Detail

SpecClassMethodVariableField

public SpecClassMethodVariableField()
Simple constructor.
Method Detail

add

public void add(SpecBiRelationnalVariableSymbol symbol)

add

public void add(java.util.List symbols)

remove

public void remove(SpecBiRelationnalVariableSymbol symbol)

merge

public void merge(SpecClassMethodVariableField field)

elements

public SpecBiRelationnalVariableSymbol[] elements()
Get the symbols of this field.
Returns:
The symbols defined by this field.

kind

public java.lang.String kind()
Kind retrieving method. This method must be defined in the inherited classes for returning a string allowing the user to know what kind of symbol this is.
Returns:
a string defining the symbol kind.

equals

public boolean equals(java.lang.Object obj)
Description copied from interface: CoopnSyntacticElement
Equality method. Must be defined in the inherited classes.
Overrides:
equals in class SpecField
Following copied from interface: ConForM.CoopnTools.CoKer.CoopnSyntacticElement
Parameters:
obj - the object to compare
Returns:
true iff this object and the parameter are equals.

hashCode

public int hashCode()
Description copied from interface: CoopnSyntacticElement
Hashcode method. Must be defined in the inherited classes.
Overrides:
hashCode in class SpecField
Following copied from interface: ConForM.CoopnTools.CoKer.CoopnSyntacticElement
Returns:
the hash code.