public abstract class PackageInfoImpl extends InfoImpl implements PackageInfo
Modifier and Type | Field and Description |
---|---|
protected List<ImageMetadata> |
diagrams |
descriptors, stereotypesCache, taggedValuesCache
Constructor and Description |
---|
PackageInfoImpl() |
Modifier and Type | Method and Description |
---|---|
SortedSet<ClassInfo> |
containedClasses() |
SortedSet<PackageInfo> |
containedPackagesInSameTargetNamespace()
WARNING: This method is intended to be "final", but not actually declared
as such.
|
String |
encodingRule(String platform)
Return the encoding rule relevant on the package, given the platform
|
String |
fullName()
Fully qualified UML name (Package1::...
|
String |
fullNameInSchema()
Fully qualified UML name (Package1::...
|
List<ImageMetadata> |
getDiagrams() |
String |
gmlProfileSchema()
WARNING: This method is intended to be "final", but not actually declared
as such.
|
boolean |
isAppSchema()
Determine whether the package represents an 'application schema'.
|
boolean |
isSchema()
Note: Additional support for deprecated tag "xmlNamespace".
|
String |
language()
NOTE: this method is not final since several XXXInfoImpl classes override
it
|
protected String |
mapPackageNameToFilename(String s)
Derive a file name from the package name.
|
void |
postprocessAfterLoadingAndValidate()
1.
|
PackageInfo |
rootPackage() |
String |
schemaId()
Return the id of the rootPackage, "(null)" on failure.
|
void |
setDiagrams(List<ImageMetadata> diagrams) |
String |
targetNamespace()
Determine the targetNamespace of the GML applications schema to be
generated.
|
String |
version()
Determine the version attribute to be applied to the application schema.
|
String |
xmlns()
Determine the namespace abbreviation of the GML applications schema to be
generated.
|
String |
xsdDocument()
Determine the file name of the xsd document to be generated from the
package.
|
aliasName, compareTo, dataCaptureStatements, definition, derivedDocumentation, description, descriptors, descriptorSource, descriptorValues, 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
containedPackages, owner, supplierIds
aliasName, dataCaptureStatements, definition, derivedDocumentation, description, descriptors, documentation, examples, globalIdentifier, id, legalBasis, matches, model, name, options, primaryCode, removeTaggedValue, result, stereotype, stereotypes, taggedValue, taggedValueInLanguage, taggedValues, taggedValues, taggedValuesAll, taggedValuesForTag, taggedValuesForTagAsLangStrings, taggedValuesForTagList, taggedValuesInLanguage, validateStereotypesCache, validateTaggedValuesCache
compareTo
protected List<ImageMetadata> diagrams
public String language()
WARNING: This method is intended to be "final", but not actually declared as such. A depending project can thus extend the method, if absolutely necessary.
public String encodingRule(String platform)
encodingRule
in interface Info
encodingRule
in class InfoImpl
public String targetNamespace()
PackageInfo
targetNamespace
in interface PackageInfo
null
if
no target namespace is defined for the package or one of its
ancestorspublic String xmlns()
PackageInfo
xmlns
in interface PackageInfo
null
if no such abbreviation is
definedprotected String mapPackageNameToFilename(String s)
public String xsdDocument()
PackageInfo
xsdDocument
in interface PackageInfo
public SortedSet<PackageInfo> containedPackagesInSameTargetNamespace()
WARNING: This method is intended to be "final", but not actually declared as such. A depending project can thus extend the method, if absolutely necessary.
containedPackagesInSameTargetNamespace
in interface PackageInfo
null
public String gmlProfileSchema()
WARNING: This method is intended to be "final", but not actually declared as such. A depending project can thus extend the method, if absolutely necessary.
gmlProfileSchema
in interface PackageInfo
null
in
case such a tag does not exist on the package.public String version()
PackageInfo
version
in interface PackageInfo
null
if no version
information is availablePackageInfo.version()
public boolean isAppSchema()
WARNING: This method is intended to be "final", but not actually declared as such. A depending project can thus extend the method, if absolutely necessary.
isAppSchema
in interface PackageInfo
public boolean isSchema()
isSchema
in interface PackageInfo
PackageInfo.isSchema()
public String schemaId()
schemaId
in interface PackageInfo
public String fullName()
Info
public String fullNameInSchema()
Info
fullNameInSchema
in interface Info
public void postprocessAfterLoadingAndValidate()
InfoImpl
postprocessAfterLoadingAndValidate
in interface Info
postprocessAfterLoadingAndValidate
in class InfoImpl
public List<ImageMetadata> getDiagrams()
getDiagrams
in interface PackageInfo
null
if no diagrams are availablepublic void setDiagrams(List<ImageMetadata> diagrams)
setDiagrams
in interface PackageInfo
diagrams
- metadata about the diagrams relevant for this classpublic SortedSet<ClassInfo> containedClasses()
containedClasses
in interface PackageInfo
null
PackageInfo.containedClasses()
public PackageInfo rootPackage()
rootPackage
in interface PackageInfo
null
if no such package exists.Copyright © 2018. All rights reserved.