|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.interactive_instruments.ShapeChange.Model.InfoImpl
de.interactive_instruments.ShapeChange.Model.PackageInfoImpl
de.interactive_instruments.ShapeChange.Model.EA.PackageInfoEA
public class PackageInfoEA
Field Summary | |
---|---|
protected boolean |
aliasAccessed
Flag used to prevent duplicate retrieval/computation of the alias of this package. |
protected HashSet<ClassInfoEA> |
childCI
Set of child classes |
protected HashSet<PackageInfoEA> |
childPI
Set of child package objects |
protected boolean |
connectorsAccessed
Flag used to prevent duplicate retrieval/computation of the connectors of this package. |
protected org.sparx.Collection<org.sparx.Connector> |
conns
Access to the connectors of this package in the EA model |
protected EADocument |
document
The Model object |
protected boolean |
documentationAccessed
Flag used to prevent duplicate retrieval/computation of the documentation of this package. |
protected String |
eaName
Name of the Package |
protected org.sparx.Package |
eaPackage
The EA package object |
protected org.sparx.Element |
eaPackageElmt
The EA element object possibly associated to the package |
protected int |
eaPackageElmtId
The EA object id of the associated element object |
protected int |
eaPackageId
The EA object id of the package object |
protected PackageInfoEA |
parentPI
The parent package object |
protected HashSet<String> |
stereotypesCache
Cache set for stereotypes |
protected HashSet<String> |
supplierIds
Cache for the IDs of the suppliers of this class |
protected HashMap<String,String> |
taggedValuesCache
Cache map for tagged values |
Fields inherited from class de.interactive_instruments.ShapeChange.Model.PackageInfoImpl |
---|
diagrams |
Fields inherited from class de.interactive_instruments.ShapeChange.Model.InfoImpl |
---|
aliasName, definition, description, documentation |
Constructor Summary | |
---|---|
PackageInfoEA(EADocument doc,
PackageInfoEA ppi,
org.sparx.Package pack,
org.sparx.Element packelmt)
Create new PackageInfo object. |
Method Summary | |
---|---|
String |
aliasName()
Get alias name of the package. |
HashSet<PackageInfo> |
containedPackages()
|
String |
documentation()
Return the documentation attached to the property object. |
org.sparx.Package |
getEaPackageObj()
Inquire wrapped EA object |
String |
id()
Return model-unique id of package. |
boolean |
isAppSchema()
Determine whether the package represents an 'application schema'. |
Model |
model()
Return EA model object. |
String |
name()
Obtain the name of the package. |
Options |
options()
Return options and configuration object. |
PackageInfo |
owner()
Return the parent package if present, null otherwise. |
ShapeChangeResult |
result()
Return result object for error reporting. |
PackageInfo |
rootPackage()
Determine the root package. |
Set<String> |
stereotypes()
Return the normalized stereotypes of the package. |
HashSet<String> |
supplierIds()
Return the set of ids of the packages on which this package depends. |
String |
taggedValue(String tag)
Return the tagged value for the tag given or null if missing. |
void |
taggedValue(String tag,
String value)
Set the tagged value for the tag given. |
HashMap<String,String> |
taggedValues()
|
HashMap<String,String> |
taggedValues(String tagList)
Return all the tagged values listed in the input string. |
Methods inherited from class de.interactive_instruments.ShapeChange.Model.PackageInfoImpl |
---|
encodingRule, fullName, getDiagrams, gmlProfileSchema, isSchema, mapPackageNameToFilename, postprocessAfterLoadingAndValidate, schemaId, setDiagrams, targetNamespace, version, xmlns, xsdDocument |
Methods inherited from class de.interactive_instruments.ShapeChange.Model.InfoImpl |
---|
definition, description, matches, stereotype |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.interactive_instruments.ShapeChange.Model.PackageInfo |
---|
getDiagrams, gmlProfileSchema, isSchema, schemaId, setDiagrams, targetNamespace, version, xmlns, xsdDocument |
Methods inherited from interface de.interactive_instruments.ShapeChange.Model.Info |
---|
definition, description, encodingRule, fullName, matches, postprocessAfterLoadingAndValidate, stereotype |
Field Detail |
---|
protected boolean aliasAccessed
protected boolean connectorsAccessed
protected boolean documentationAccessed
protected org.sparx.Collection<org.sparx.Connector> conns
protected EADocument document
protected PackageInfoEA parentPI
protected HashSet<PackageInfoEA> childPI
protected HashSet<ClassInfoEA> childCI
protected org.sparx.Package eaPackage
protected int eaPackageId
protected org.sparx.Element eaPackageElmt
protected int eaPackageElmtId
protected String eaName
protected HashMap<String,String> taggedValuesCache
protected HashSet<String> stereotypesCache
protected HashSet<String> supplierIds
Constructor Detail |
---|
public PackageInfoEA(EADocument doc, PackageInfoEA ppi, org.sparx.Package pack, org.sparx.Element packelmt)
Method Detail |
---|
public org.sparx.Package getEaPackageObj()
public Model model()
model
in interface Info
public Options options()
options
in interface Info
public ShapeChangeResult result()
result
in interface Info
public HashSet<PackageInfo> containedPackages()
containedPackages
in interface PackageInfo
PackageInfo.containedPackages()
public Set<String> stereotypes()
stereotypes
in interface Info
public boolean isAppSchema()
isAppSchema
in interface PackageInfo
isAppSchema
in class PackageInfoImpl
PackageInfo.isAppSchema()
public PackageInfo owner()
owner
in interface PackageInfo
public PackageInfo rootPackage()
rootPackage
in interface PackageInfo
public HashSet<String> supplierIds()
supplierIds
in interface PackageInfo
public String documentation()
documentation
in interface Info
documentation
in class InfoImpl
public String id()
id
in interface Info
public String name()
name
in interface Info
public String aliasName()
aliasName
in interface Info
aliasName
in class InfoImpl
public HashMap<String,String> taggedValues(String tagList)
taggedValues
in interface Info
public String taggedValue(String tag)
taggedValue
in interface Info
tag
- name of the tagged value to look up
null if the tagged value is missing.
public void taggedValue(String tag, String value)
public HashMap<String,String> taggedValues()
taggedValues
in interface Info
null
Info.taggedValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |