public class PackageInfoEA extends PackageInfoImpl implements PackageInfo
Modifier and Type | Field and Description |
---|---|
protected boolean |
aliasAccessed
Flag used to prevent duplicate retrieval/computation of the alias of this
package.
|
protected TreeSet<ClassInfoEA> |
childCI
Set of child classes
|
protected TreeSet<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 boolean |
globalIdentifierAccessed
Flag used to prevent duplicate retrieval/computation of the
globalIdentifier of this class.
|
protected PackageInfoEA |
parentPI
The parent package object
|
protected TreeSet<String> |
supplierIds
Cache for the IDs of the suppliers of this class
|
diagrams
descriptors, stereotypesCache, taggedValuesCache
Constructor and Description |
---|
PackageInfoEA(EADocument doc,
PackageInfoEA ppi,
org.sparx.Package pack,
org.sparx.Element packelmt)
Create new PackageInfo object.
|
Modifier and Type | Method and Description |
---|---|
SortedSet<PackageInfo> |
containedPackages() |
protected List<LangString> |
descriptorValues(Descriptor descriptor)
Look up the values for the descriptor, using the source as defined by the
configuration (or the default source, if the configuration does not state
anything regarding the source).
|
int |
getEaPackageId() |
org.sparx.Package |
getEaPackageObj()
Inquire wrapped EA object
|
String |
id()
Return model-unique id of package.
|
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.
|
SortedSet<String> |
supplierIds() |
void |
taggedValue(String tag,
String value)
Set the tagged value for the tag given.
|
void |
validateStereotypesCache() |
void |
validateTaggedValuesCache()
Create cache of stereotypes and tagged values
|
containedClasses, containedPackagesInSameTargetNamespace, encodingRule, fullName, fullNameInSchema, getDiagrams, gmlProfileSchema, isAppSchema, isSchema, language, mapPackageNameToFilename, postprocessAfterLoadingAndValidate, rootPackage, schemaId, setDiagrams, targetNamespace, version, xmlns, xsdDocument
aliasName, compareTo, dataCaptureStatements, definition, derivedDocumentation, description, descriptors, descriptorSource, documentation, examples, globalIdentifier, legalBasis, matches, primaryCode, removeTaggedValue, setDescriptors, stereotype, stereotypes, taggedValue, taggedValueInLanguage, taggedValues, taggedValues, taggedValuesAll, taggedValuesForTag, taggedValuesForTagAsLangStrings, taggedValuesForTagList, taggedValuesInLanguage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
containedClasses, containedPackagesInSameTargetNamespace, getDiagrams, gmlProfileSchema, isAppSchema, isSchema, rootPackage, schemaId, setDiagrams, targetNamespace, version, xmlns, xsdDocument
aliasName, dataCaptureStatements, definition, derivedDocumentation, description, descriptors, documentation, encodingRule, examples, fullName, fullNameInSchema, globalIdentifier, language, legalBasis, matches, postprocessAfterLoadingAndValidate, primaryCode, removeTaggedValue, stereotype, stereotypes, taggedValue, taggedValueInLanguage, taggedValues, taggedValues, taggedValuesAll, taggedValuesForTag, taggedValuesForTagAsLangStrings, taggedValuesForTagList, taggedValuesInLanguage
compareTo
protected boolean aliasAccessed
protected boolean connectorsAccessed
protected boolean documentationAccessed
protected boolean globalIdentifierAccessed
protected org.sparx.Collection<org.sparx.Connector> conns
protected EADocument document
protected PackageInfoEA parentPI
protected TreeSet<PackageInfoEA> childPI
protected TreeSet<ClassInfoEA> childCI
protected org.sparx.Package eaPackage
protected int eaPackageId
protected org.sparx.Element eaPackageElmt
protected int eaPackageElmtId
protected String eaName
public PackageInfoEA(EADocument doc, PackageInfoEA ppi, org.sparx.Package pack, org.sparx.Element packelmt)
public org.sparx.Package getEaPackageObj()
public int getEaPackageId()
public Options options()
public ShapeChangeResult result()
public SortedSet<PackageInfo> containedPackages()
containedPackages
in interface PackageInfo
PackageInfo.containedPackages()
public void validateStereotypesCache()
validateStereotypesCache
in interface Info
public PackageInfo owner()
owner
in interface PackageInfo
public SortedSet<String> supplierIds()
supplierIds
in interface PackageInfo
null
public void validateTaggedValuesCache()
Info
validateTaggedValuesCache
in interface Info
public void taggedValue(String tag, String value)
protected List<LangString> descriptorValues(Descriptor descriptor)
InfoImpl
descriptorValues
in class InfoImpl
Copyright © 2018. All rights reserved.