|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ConForM.CoopnTools.CoKer.SpecMgr.SpecElement | +--ConForM.CoopnTools.CoKer.SpecMgr.SpecHeader
Specification file header.
SpecElement
, Serialized FormConstructor Summary | |
SpecHeader()
Simple constructor. |
Method Summary | |
java.lang.String |
basedUpon()
Get the module upon which this section is based. |
int |
basedUponKind()
Get the module kind (in the sense of the package manager) of the module upon which this section is based, for instance COOPNSOURCE, COALASOURCE, PACKAGE, and so on). |
java.lang.Object |
clone()
Cloning method. |
boolean |
equals(java.lang.Object obj)
Equality method. |
CoopnSyntacticField[] |
fields()
Get the fields of this section. |
boolean |
hasBasedUpon()
Test if this section is based upon another module. |
int |
hashCode()
Hashcode method. |
java.lang.String |
kind()
Kind retrieving method. |
java.lang.String |
toString(CoopnEnv env,
int indent)
String conversion method. |
java.lang.Object |
unmodifiableCopy()
Copy the element into an unmodifiable structure. |
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 |
public SpecHeader()
Method Detail |
public java.lang.String kind()
CoopnSyntacticSection
kind
in interface CoopnSyntacticSection
ConForM.CoopnTools.CoKer.CoopnSyntacticSection
public CoopnSyntacticField[] fields()
CoopnSyntacticSection
fields
in interface CoopnSyntacticSection
ConForM.CoopnTools.CoKer.CoopnSyntacticSection
public final boolean hasBasedUpon()
hasBasedUpon
in interface CoopnSyntacticHeaderSection
public final java.lang.String basedUpon()
basedUpon
in interface CoopnSyntacticHeaderSection
public int basedUponKind()
basedUponKind
in interface CoopnSyntacticHeaderSection
public boolean equals(java.lang.Object obj)
CoopnSyntacticElement
equals
in interface CoopnSyntacticElement
equals
in class SpecElement
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
obj
- the object to comparepublic int hashCode()
CoopnSyntacticElement
hashCode
in interface CoopnSyntacticElement
hashCode
in class SpecElement
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
public java.lang.String toString(CoopnEnv env, int indent)
CoopnSyntacticElement
toString
in interface CoopnSyntacticElement
toString
in class SpecElement
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
env
- the environment deciding the form of the display. A null
values indicates a default form.indent
- the identation factor. A zero value indicates no
indentation at all.public java.lang.Object unmodifiableCopy()
SpecElement
unmodifiableCopy
in class SpecElement
ConForM.CoopnTools.CoKer.SpecMgr.SpecElement
public java.lang.Object clone()
CoopnSyntacticElement
clone
in interface CoopnSyntacticElement
clone
in class SpecElement
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |