Modifier and Type | Field and Description |
---|---|
protected String |
characterEncoding
Character endcoding
|
protected Set<String> |
excludedPackageNames |
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 |
allowedTags, arcgisTags, gmlTags, iso19109Tags, jsonTags, postprocessed, shapeChangeTags
Constructor and Description |
---|
EADocument() |
EADocument(ShapeChangeResult r,
Options o,
String repositoryFileName) |
Modifier and Type | Method and Description |
---|---|
String |
characterEncoding()
Return character encoding of repository (Windows-1252)
|
ClassInfo |
classById(String id) |
ClassInfo |
classByName(String nam) |
SortedSet<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.
|
org.sparx.Repository |
getEARepository() |
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) |
SortedSet<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.
|
void |
shutdown()
Shutdown EA model and quit EA
|
allPackagesFromSelectedSchemas, classByIdOrName, isInSelectedSchemas, loadInformationFromExternalSources, normalizeTaggedValue, packages, postprocessAfterLoadingAndValidate, schemaPackage, schemas, selectedSchemaClasses, selectedSchemas
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allPackagesFromSelectedSchemas, classByIdOrName, isInSelectedSchemas, loadInformationFromExternalSources, normalizeTaggedValue, packages, postprocessAfterLoadingAndValidate, schemaPackage, schemas, selectedSchemaClasses, selectedSchemas
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
public EADocument()
public EADocument(ShapeChangeResult r, Options o, String repositoryFileName) throws ShapeChangeAbortException
ShapeChangeAbortException
public Options options()
public ShapeChangeResult result()
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 String characterEncoding()
characterEncoding
in interface Model
public ClassInfo classByName(String nam)
classByName
in interface Model
null
if
such a class was not foundpublic SortedSet<ClassInfo> classes(PackageInfo pi)
Model
classes
in interface Model
null
Model.classes(de.interactive_instruments.ShapeChange.Model.PackageInfo)
public PackageInfo packageById(String id)
packageById
in interface Model
null
if
such a class was not foundpublic void shutdown()
public org.sparx.Repository getEARepository()
public static String removeSpuriousEA75EntitiesFromStrings(String s)
public org.sparx.Repository repository()
public SortedSet<PackageInfo> packages()
packages
in interface Model
PackageInfo
objects contained in the model; can be
empty but not null
.Copyright © 2017. All rights reserved.