|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ConForM.CoopnTools.CoKer.PackageMgr.PackageElement | +--ConForM.CoopnTools.CoKer.PackageMgr.PackageModule
Constructor Summary | |
PackageModule(java.lang.String moduleName,
CoopnCompilInfo info,
PackageHeader header,
PackageModuleSection modules,
java.lang.String comment)
|
Method Summary | |
java.lang.Object |
clone()
Cloning method. |
java.lang.String |
comment()
Comment retrieving method. |
CoopnCompilInfo |
compilInfo()
Return the compilation information associated to this module. |
java.lang.String |
completeKind()
Complete kind retrieving method. |
PackageEntryField |
entriesFor(int kind)
Returns the entries for a kind of module. |
boolean |
equals(java.lang.Object obj)
Equality method. |
int |
hashCode()
Hashcode method. |
boolean |
hasParameters()
Look if this module has parameters,i.e. additional information to the complete kind. |
PackageHeader |
header()
|
java.lang.String |
kind()
Kind retrieving method. |
int |
moduleKind()
Get the module kind (in the sense of the package manager) of this module, for instance COOPNSOURCE, COALASOURCE, PACKAGE, and so on). |
java.lang.String |
moduleName()
Get the name. |
PackageModuleSection |
modules()
|
java.lang.String |
parameters()
Parameters retrieving method. |
CoopnSyntacticSection[] |
sections()
Get the fields of this section. |
void |
setComment(java.lang.String comment)
Set the comment. |
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.PackageMgr.PackageElement |
clonePackageElement, 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 PackageModule(java.lang.String moduleName, CoopnCompilInfo info, PackageHeader header, PackageModuleSection modules, java.lang.String comment)
Method Detail |
public java.lang.String moduleName()
CoopnSyntacticModule
moduleName
in interface CoopnSyntacticModule
ConForM.CoopnTools.CoKer.CoopnSyntacticModule
public int moduleKind()
moduleKind
in interface CoopnSyntacticModule
public CoopnCompilInfo compilInfo()
CoopnSyntacticModule
compilInfo
in interface CoopnSyntacticModule
public PackageHeader header()
public java.lang.String completeKind()
completeKind
in interface CoopnSyntacticModule
public boolean hasParameters()
hasParameters
in interface CoopnSyntacticModule
public java.lang.String parameters()
parameters
in interface CoopnSyntacticModule
public PackageModuleSection modules()
public java.lang.String comment()
CoopnSyntacticModule
comment
in interface CoopnSyntacticModule
ConForM.CoopnTools.CoKer.CoopnSyntacticModule
public void setComment(java.lang.String comment) throws java.lang.UnsupportedOperationException
comment
- the new commentjava.lang.UnsupportedOperationException
- the module is not modifiable.public java.lang.String kind()
kind
in interface CoopnSyntacticModule
public CoopnSyntacticSection[] sections()
sections
in interface CoopnSyntacticModule
public PackageEntryField entriesFor(int kind)
public boolean equals(java.lang.Object obj)
CoopnSyntacticElement
equals
in interface CoopnSyntacticElement
equals
in class PackageElement
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
obj
- the object to comparepublic int hashCode()
CoopnSyntacticElement
hashCode
in interface CoopnSyntacticElement
hashCode
in class PackageElement
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
public java.lang.String toString(CoopnEnv env, int indent)
CoopnSyntacticElement
toString
in interface CoopnSyntacticElement
toString
in class PackageElement
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()
PackageElement
unmodifiableCopy
in class PackageElement
ConForM.CoopnTools.CoKer.PackageMgr.PackageElement
public java.lang.Object clone()
CoopnSyntacticElement
clone
in interface CoopnSyntacticElement
clone
in class PackageElement
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |