de.interactive_instruments.ShapeChange.Model
Interface Model

All Known Implementing Classes:
EADocument, GenericModel, GSIPDocument, ModelImpl, Xmi10Document

public interface Model


Method Summary
 String characterEncoding()
           
 ClassInfo classById(String id)
           
 ClassInfo classByName(String nam)
           
 HashSet<ClassInfo> classes(PackageInfo pi)
          Return all ClassInfo objects contained in the given package and in sub- packages, which belong to the same targetNamespace as the given package.
 void initialise(ShapeChangeResult r, Options o, String repositoryFileNameOrConnectionString)
           
 void initialise(ShapeChangeResult r, Options o, String repositoryFileNameOrConnectionString, String username, String password)
           
 Options options()
           
 PackageInfo packageById(String id)
           
 HashSet<PackageInfo> packages()
           
 void postprocessAfterLoadingAndValidate()
           
 ShapeChangeResult result()
           
 HashSet<PackageInfo> schemas(String name)
          Collect and return all PackageInfo objects tagged as being a schema.
 HashSet<PackageInfo> selectedSchemas()
          Return all schemas that are selected using the relevant parameters: appSchemaName, appSchemaNameRegex, appSchemaNamespaceRegex
 void shutdown()
           
 int type()
           
 

Method Detail

options

Options options()

result

ShapeChangeResult result()

initialise

void initialise(ShapeChangeResult r,
                Options o,
                String repositoryFileNameOrConnectionString)
                throws ShapeChangeAbortException
Throws:
ShapeChangeAbortException

initialise

void initialise(ShapeChangeResult r,
                Options o,
                String repositoryFileNameOrConnectionString,
                String username,
                String password)
                throws ShapeChangeAbortException
Throws:
ShapeChangeAbortException

type

int type()

schemas

HashSet<PackageInfo> schemas(String name)
Collect and return all PackageInfo objects tagged as being a schema. If a name is given, only the package with the specified name will be considered.


selectedSchemas

HashSet<PackageInfo> selectedSchemas()
Return all schemas that are selected using the relevant parameters: appSchemaName, appSchemaNameRegex, appSchemaNamespaceRegex

See Also:
PackageInfo.isSchema()

classes

HashSet<ClassInfo> classes(PackageInfo pi)
Return all ClassInfo objects contained in the given package and in sub- packages, which belong to the same targetNamespace as the given package.


postprocessAfterLoadingAndValidate

void postprocessAfterLoadingAndValidate()

packageById

PackageInfo packageById(String id)

classById

ClassInfo classById(String id)

classByName

ClassInfo classByName(String nam)

characterEncoding

String characterEncoding()

shutdown

void shutdown()

packages

HashSet<PackageInfo> packages()
Returns:
all PackageInfo objects contained in the model


Copyright © 2015. All rights reserved.