de.interactive_instruments.ShapeChange.Model
Interface PackageInfo

All Superinterfaces:
Info
All Known Implementing Classes:
GenericPackageInfo, PackageInfoEA, PackageInfoGSIP, PackageInfoImpl, PackageInfoXmi10

public interface PackageInfo
extends Info


Method Summary
 HashSet<PackageInfo> containedPackages()
           
 List<ImageMetadata> getDiagrams()
           
 String gmlProfileSchema()
           
 boolean isAppSchema()
          Determine whether the package represents an 'application schema'.
 boolean isSchema()
          Determine whether the package represents a schema.
 PackageInfo owner()
           
 PackageInfo rootPackage()
           
 String schemaId()
           
 void setDiagrams(List<ImageMetadata> diagrams)
           
 HashSet<String> supplierIds()
           
 String targetNamespace()
          Determine the targetNamespace of the GML applications schema to be generated.
 String version()
          Determine the version attribute to be applied to the GML application schema.
 String xmlns()
          Determine the namespace abbreviation of the GML applications schema to be generated.
 String xsdDocument()
           
 
Methods inherited from interface de.interactive_instruments.ShapeChange.Model.Info
aliasName, definition, description, documentation, encodingRule, fullName, id, matches, model, name, options, postprocessAfterLoadingAndValidate, result, stereotype, stereotypes, taggedValue, taggedValues, taggedValues
 

Method Detail

targetNamespace

String targetNamespace()
Determine the targetNamespace of the GML applications schema to be generated. The item is used from the configuration or - if not present there - from the tagged value either on this package or one of its ancestors.


xmlns

String xmlns()
Determine the namespace abbreviation of the GML applications schema to be generated. The item is used from the configuration or - if not present there - from the tagged value either on this package or one of its ancestors.


xsdDocument

String xsdDocument()

gmlProfileSchema

String gmlProfileSchema()

version

String version()
Determine the version attribute to be applied to the GML application schema. It is taken either from the configuration or from a tagged value on this package or any of its ancestors.


owner

PackageInfo owner()

schemaId

String schemaId()

rootPackage

PackageInfo rootPackage()

isAppSchema

boolean isAppSchema()
Determine whether the package represents an 'application schema'. The package is regarded an 'application schema', if it carries a stereotype with normalized name "application schema".


isSchema

boolean isSchema()
Determine whether the package represents a schema. A package is assumed to represent a schema, if it contains a tagged value defining a "targetNamespace" (NOTE: there is a subtle difference to the package 'having' a targetNamespace, because the targetNamespace() method may retrieve the targetNamespace of a package from one of its ancestors). It is also regarded a schema, if the package is named in a PackageInfo entry of the Configuration document.


containedPackages

HashSet<PackageInfo> containedPackages()
Returns:
a set of directly contained (child) packages (shallow copy, NOT deep copy). One or more of these packages may belong to a different schema / targetNamespace.

supplierIds

HashSet<String> supplierIds()

getDiagrams

List<ImageMetadata> getDiagrams()
Returns:
metadata about the diagrams relevant for this package, null if no diagrams are available

setDiagrams

void setDiagrams(List<ImageMetadata> diagrams)
Parameters:
diagrams - metadata about the diagrams relevant for this class


Copyright © 2015. All rights reserved.