de.interactive_instruments.ShapeChange.Model.Xmi10
Class PackageInfoXmi10

java.lang.Object
  extended by de.interactive_instruments.ShapeChange.Model.InfoImpl
      extended by de.interactive_instruments.ShapeChange.Model.PackageInfoImpl
          extended by de.interactive_instruments.ShapeChange.Model.Xmi10.PackageInfoXmi10
All Implemented Interfaces:
Info, PackageInfo

public class PackageInfoXmi10
extends PackageInfoImpl
implements PackageInfo


Field Summary
protected  Document defDocument
           
protected  Xmi10Document doc
           
protected  XsdDocument gmlASD
           
protected  String id
           
protected  Element pkg
           
protected  boolean processedIncludes
           
protected  Document smDocument
           
protected  UUID uuid
           
 
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
PackageInfoXmi10(Xmi10Document d, Element e)
           
 
Method Summary
 HashSet<PackageInfo> containedPackages()
           
 XsdDocument gmlApplicationSchemaDocument()
           
 String id()
           
 Model model()
           
 String name()
           
 Options options()
           
 PackageInfo owner()
           
 ShapeChangeResult result()
           
 PackageInfo rootPackage()
           
 Set<String> stereotypes()
           
 HashSet<String> supplierIds()
           
 String taggedValue(String tag)
           
 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, isAppSchema, isSchema, mapPackageNameToFilename, postprocessAfterLoadingAndValidate, schemaId, setDiagrams, targetNamespace, version, xmlns, xsdDocument
 
Methods inherited from class de.interactive_instruments.ShapeChange.Model.InfoImpl
aliasName, definition, description, documentation, 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, isAppSchema, isSchema, schemaId, setDiagrams, targetNamespace, version, xmlns, xsdDocument
 
Methods inherited from interface de.interactive_instruments.ShapeChange.Model.Info
aliasName, definition, description, documentation, encodingRule, fullName, matches, postprocessAfterLoadingAndValidate, stereotype
 

Field Detail

pkg

protected Element pkg

doc

protected Xmi10Document doc

id

protected String id

gmlASD

protected XsdDocument gmlASD

processedIncludes

protected boolean processedIncludes

uuid

protected UUID uuid

defDocument

protected Document defDocument

smDocument

protected Document smDocument
Constructor Detail

PackageInfoXmi10

public PackageInfoXmi10(Xmi10Document d,
                        Element e)
                 throws ShapeChangeAbortException
Throws:
ShapeChangeAbortException
Method Detail

model

public Model model()
Specified by:
model in interface Info

options

public Options options()
Specified by:
options in interface Info

result

public ShapeChangeResult result()
Specified by:
result in interface Info

id

public String id()
Specified by:
id in interface Info

name

public String name()
Specified by:
name in interface Info

stereotypes

public Set<String> stereotypes()
Specified by:
stereotypes in interface Info

taggedValue

public String taggedValue(String tag)
Specified by:
taggedValue in interface Info
Parameters:
tag - name of the tagged value to look up
Returns:
the tagged value for the tag given or null if the tagged value is missing.

owner

public PackageInfo owner()
Specified by:
owner in interface PackageInfo

supplierIds

public HashSet<String> supplierIds()
Specified by:
supplierIds in interface PackageInfo

gmlApplicationSchemaDocument

public XsdDocument gmlApplicationSchemaDocument()

taggedValues

public HashMap<String,String> taggedValues(String tagList)
Description copied from interface: Info
Return all the tagged values listed in the input string. Tags are assumed to be separated by commas.

Specified by:
taggedValues in interface Info

taggedValues

public HashMap<String,String> taggedValues()
Specified by:
taggedValues in interface Info
Returns:
a map with the tagged values defined for this object (key: tagged value name, value: the value of the tagged value); can be an empty map but not null

rootPackage

public PackageInfo rootPackage()
Specified by:
rootPackage in interface PackageInfo

containedPackages

public HashSet<PackageInfo> containedPackages()
Specified by:
containedPackages in interface PackageInfo
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.


Copyright © 2015. All rights reserved.