ConForM.CoopnTools.CoKer.PackageMgr
Class PackageAuthorField
java.lang.Object
|
+--ConForM.CoopnTools.CoKer.PackageMgr.PackageElement
|
+--ConForM.CoopnTools.CoKer.PackageMgr.PackageField
|
+--ConForM.CoopnTools.CoKer.PackageMgr.PackageAuthorField
- All Implemented Interfaces:
- java.lang.Cloneable, CoopnSyntacticElement, CoopnSyntacticField, java.io.Serializable
- public final class PackageAuthorField
- extends PackageField
Package fields of authors.
- See Also:
PackageElement
, Serialized Form
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
PackageAuthorField
public PackageAuthorField()
- Simple constructor.
- Parameters:
moduleKind
- the kind of the module
add
public void add(PackageAuthorSymbol symbol)
add
public void add(java.util.List symbols)
remove
public void remove(PackageAuthorSymbol symbol)
merge
public void merge(PackageAuthorField field)
elements
public PackageAuthorSymbol[] elements()
- Get the symbols of this field.
- Returns:
- The symbols defined by this field.
authorOf
public final PackageAuthorSymbol authorOf(java.lang.String module)
- Return the entry symbol for the particular module, or null if
the module is not defined in this field.
kind
public final 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 PackageField
- 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 PackageField
- Following copied from interface:
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
- Returns:
- the hash code.
unmodifiableCopy
public java.lang.Object unmodifiableCopy()
- Copy the element into an unmodififable structure.
- Overrides:
unmodifiableCopy
in class PackageField
- Returns:
- an unmodififable clone of the element.
clone
public java.lang.Object clone()
- Description copied from interface:
CoopnSyntacticElement
- Cloning method. Must be defined in the inherited classes.
- Overrides:
clone
in class PackageField
- Following copied from interface:
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
- Returns:
- a clone object.