|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.interactive_instruments.ShapeChange.Model.ModelImpl
de.interactive_instruments.ShapeChange.Model.EA.EADocument
public class EADocument
Field Summary | |
---|---|
protected String |
characterEncoding
Character endcoding |
protected Set<String> |
excludedPackageNames
|
protected int |
globalSequenceNumber
Default sequence number for properties, if sequence numbering is selected and if no explicit number is given. |
Options |
options
|
protected org.sparx.Repository |
repository
EA repository object |
ShapeChangeResult |
result
|
static int |
STATUS_EADOCUMENT_ESTABLISHCLASSES
|
static int |
STATUS_EADOCUMENT_INITSTART
|
static int |
STATUS_EADOCUMENT_READCONSTARINTS
|
static int |
STATUS_EADOCUMENT_READMODEL
|
Fields inherited from class de.interactive_instruments.ShapeChange.Model.ModelImpl |
---|
allowedTags, gmlTags, jsonTags, postprocessed, shapeChangeTags |
Constructor Summary | |
---|---|
EADocument()
|
|
EADocument(ShapeChangeResult r,
Options o,
String repositoryFileName)
|
Method Summary | |
---|---|
String |
characterEncoding()
Return character encoding of repository (Windows-1252) |
ClassInfo |
classById(String id)
Return ClassInfo object given the id of a class |
ClassInfo |
classByName(String nam)
Return ClassInfo object given the name of the class |
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 |
executeCommonInitializationProcedure()
|
void |
initialise(ShapeChangeResult r,
Options o,
String repositoryFileNameOrConnectionString)
Connect to EA Repository without security information |
void |
initialise(ShapeChangeResult r,
Options o,
String repositoryFileNameOrConnectionString,
String username,
String password)
Connect to EA Repository with security information |
Options |
options()
Return options and configuration object. |
PackageInfo |
packageById(String id)
Return PackageInfo object given the id of a package |
HashSet<PackageInfo> |
packages()
|
static String |
removeSpuriousEA75EntitiesFromStrings(String s)
This auxiliary static method replaces some SGML entities which EA7.5 substitutes for a few symbols in some string fields, but does not bother to translate back in its automation interface. |
org.sparx.Repository |
repository()
Return repository object (for applications using only the EA model option) |
ShapeChangeResult |
result()
Return result object for error reporting. |
HashSet<PackageInfo> |
schemas(String name)
Collect and return all PackageInfo objects tagged as being a schema. |
void |
shutdown()
Shutdown EA model and quit EA |
int |
type()
Return the model input type |
Methods inherited from class de.interactive_instruments.ShapeChange.Model.ModelImpl |
---|
normalizeTaggedValue, postprocessAfterLoadingAndValidate, selectedSchemas |
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.Model |
---|
postprocessAfterLoadingAndValidate, selectedSchemas |
Field Detail |
---|
public static final int STATUS_EADOCUMENT_INITSTART
public static final int STATUS_EADOCUMENT_READMODEL
public static final int STATUS_EADOCUMENT_ESTABLISHCLASSES
public static final int STATUS_EADOCUMENT_READCONSTARINTS
public Options options
public ShapeChangeResult result
protected org.sparx.Repository repository
protected final String characterEncoding
protected int globalSequenceNumber
protected Set<String> excludedPackageNames
Constructor Detail |
---|
public EADocument()
public EADocument(ShapeChangeResult r, Options o, String repositoryFileName) throws ShapeChangeAbortException
ShapeChangeAbortException
Method Detail |
---|
public Options options()
options
in interface Model
public ShapeChangeResult result()
result
in interface Model
public void initialise(ShapeChangeResult r, Options o, String repositoryFileNameOrConnectionString, String username, String password) throws ShapeChangeAbortException
initialise
in interface Model
initialise
in class ModelImpl
ShapeChangeAbortException
public void initialise(ShapeChangeResult r, Options o, String repositoryFileNameOrConnectionString) throws ShapeChangeAbortException
initialise
in interface Model
ShapeChangeAbortException
public void executeCommonInitializationProcedure() throws ShapeChangeAbortException
ShapeChangeAbortException
public String characterEncoding()
characterEncoding
in interface Model
public ClassInfo classById(String id)
classById
in interface Model
public ClassInfo classByName(String nam)
classByName
in interface Model
public HashSet<ClassInfo> classes(PackageInfo pi)
Model
classes
in interface Model
Model.classes(de.interactive_instruments.ShapeChange.Model.PackageInfo)
public PackageInfo packageById(String id)
packageById
in interface Model
public HashSet<PackageInfo> schemas(String name)
schemas
in interface Model
public int type()
type
in interface Model
public void shutdown()
shutdown
in interface Model
public static String removeSpuriousEA75EntitiesFromStrings(String s)
public org.sparx.Repository repository()
public HashSet<PackageInfo> packages()
packages
in interface Model
PackageInfo
objects contained in the model
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |