Package | Description |
---|---|
de.interactive_instruments.ShapeChange.Util.ea |
Modifier and Type | Method and Description |
---|---|
static org.sparx.AttributeConstraint |
EAAttributeUtil.addConstraint(org.sparx.Attribute att,
String name,
String type,
String text) |
static org.sparx.Constraint |
EAElementUtil.addConstraint(org.sparx.Element e,
String name,
String type,
String text) |
static org.sparx.Package |
EAPackageUtil.addPackage(org.sparx.Package owner,
String newPackageName,
String newPackageType) |
static void |
EAAttributeUtil.addTaggedValue(org.sparx.Attribute att,
EATaggedValue tv)
Adds the given collection of tagged values to the tagged values of the
given attribute, NOT checking for duplicate tags.
|
static void |
EAConnectorEndUtil.addTaggedValue(org.sparx.ConnectorEnd end,
EATaggedValue tv)
Adds the given tagged value to the given connector end, NOT checking for
duplicate tags.
|
static void |
EAElementUtil.addTaggedValue(org.sparx.Element e,
EATaggedValue tv)
Adds the given tagged value to the tagged values of the given element,
NOT checking for duplicate tags.
|
static void |
EAAttributeUtil.addTaggedValues(org.sparx.Attribute att,
List<EATaggedValue> tvs)
Adds the given collection of tagged values to the tagged values of the
given attribute, NOT checking for duplicate tags.
|
static void |
EAAttributeUtil.addTaggedValues(org.sparx.Attribute att,
TaggedValues tvs)
Adds the given collection of tagged values to the tagged values of the
given attribute, NOT checking for duplicate tags.
|
static void |
EAConnectorEndUtil.addTaggedValues(org.sparx.ConnectorEnd end,
TaggedValues tvs)
Adds the given collection of tagged values to the given connector end,
NOT checking for duplicate tags.
|
static void |
EAConnectorUtil.addTaggedValues(org.sparx.Connector con,
List<EATaggedValue> tvs)
Adds the given collection of tagged values to the given connector, NOT
checking for duplicate tags.
|
static void |
EAConnectorUtil.addTaggedValues(org.sparx.Connector con,
TaggedValues tvs)
Adds the given collection of tagged values to the given connector, NOT
checking for duplicate tags.
|
static void |
EAElementUtil.addTaggedValues(org.sparx.Element e,
List<EATaggedValue> tvs)
Adds the given list of tagged values to the collection of (EA) tagged
values of the given element, NOT checking for duplicate tags.
|
static void |
EAElementUtil.addTaggedValues(org.sparx.Element e,
TaggedValues tvs)
Adds the given collection of tagged values to the tagged values of the
given element, NOT checking for duplicate tags.
|
static void |
EAMethodUtil.addTaggedValues(org.sparx.Method m,
List<EATaggedValue> tvs)
Adds the given list of tagged values to the collection of (EA) tagged
values of the given method, NOT checking for duplicate tags.
|
static org.sparx.Connector |
EAElementUtil.createEAAssociation(org.sparx.Element client,
org.sparx.Element supplier) |
static org.sparx.Attribute |
EAElementUtil.createEAAttribute(org.sparx.Element e,
String name,
String alias,
String documentation,
Set<String> stereotypes,
List<EATaggedValue> taggedValues,
boolean isDerived,
boolean isOrdered,
boolean allowDuplicates,
String initialValue,
Multiplicity m,
String type,
Integer classifierID)
Create a new attribute for the given element.
|
static org.sparx.Element |
EARepositoryUtil.createEAClass(org.sparx.Repository rep,
String className,
int eaPkgId) |
static org.sparx.Element |
EARepositoryUtil.createEAClass(org.sparx.Repository rep,
String className,
int eaPkgId,
String type) |
static void |
EARepositoryUtil.createEAGeneralization(org.sparx.Repository rep,
int c1ElementId,
String c1Name,
int c2ElementId,
String c2Name) |
static org.sparx.Method |
EAElementUtil.createEAMethod(org.sparx.Element elmt,
String name) |
static int |
EARepositoryUtil.createEAPackage(org.sparx.Repository rep,
PackageInfo pi,
int eaParentPkgId)
Creates an EA package for the given PackageInfo.
|
static org.sparx.Parameter |
EAMethodUtil.createEAParameter(org.sparx.Method m,
String name) |
static int |
EARepositoryUtil.establishEAPackageHierarchy(ClassInfo ci,
int containerPkgId,
SortedMap<Integer,SortedMap<PackageInfo,Integer>> eaPkgIdByModelPkg_byContainerPkgId,
org.sparx.Repository rep,
int numberOfSchemasSelectedForProcessing)
Creates a package hierarchy inside a given container package.
|
static void |
EAElementUtil.loadLinkedDocument(org.sparx.Element e,
String linkedDocumentAbsolutePath) |
static org.sparx.Repository |
EARepositoryUtil.openRepository(File repfileIn,
boolean createIfNotExisting) |
static void |
EAElementUtil.setEAAbstract(org.sparx.Element e,
boolean isAbstract) |
static void |
EAConnectorEndUtil.setEAAggregation(org.sparx.ConnectorEnd conEnd,
EAAggregation aggregation) |
static void |
EAConnectorEndUtil.setEAAlias(org.sparx.ConnectorEnd conEnd,
String alias) |
static void |
EAConnectorUtil.setEAAlias(org.sparx.Connector con,
String aliasName) |
static void |
EAElementUtil.setEAAlias(org.sparx.Element e,
String aliasName) |
static void |
EAAttributeUtil.setEAAllowDuplicates(org.sparx.Attribute att,
boolean allowDuplicates) |
static void |
EAConnectorEndUtil.setEAAllowDuplicates(org.sparx.ConnectorEnd conEnd,
boolean allowDuplicates) |
static void |
EAConnectorUtil.setEAAssociationClass(org.sparx.Connector con,
org.sparx.Element classElement)
NOTE: only works with EA 12 Java API, not the previous API.
|
static void |
EAConnectorEndUtil.setEACardinality(org.sparx.ConnectorEnd conEnd,
String cardinalityAsString) |
static void |
EAMethodUtil.setEACode(org.sparx.Method m,
String code)
Sets 'Code' on the given EA method.
|
static void |
EAConnectorEndUtil.setEAContainment(org.sparx.ConnectorEnd conEnd,
String containment) |
static void |
EAConnectorUtil.setEADirection(org.sparx.Connector con,
EADirection direction) |
static void |
EAElementUtil.setEAGenType(org.sparx.Element e,
String gentype)
Sets attribute GenType on the given EA element.
|
static void |
EAAttributeUtil.setEAIsCollection(org.sparx.Attribute att,
boolean isCollection) |
static void |
EAAttributeUtil.setEAIsOrdered(org.sparx.Attribute att,
boolean isOrdered) |
static void |
EAAttributeUtil.setEALength(org.sparx.Attribute att,
String length) |
static void |
EAConnectorUtil.setEAName(org.sparx.Connector con,
String name) |
static void |
EAConnectorEndUtil.setEANavigable(org.sparx.ConnectorEnd conEnd,
EANavigable navigable)
Indicates whether the connector end is navigable from the opposite
classifier - Navigable, Non-Navigable or Unspecified.
|
static void |
EAConnectorUtil.setEANotes(org.sparx.Connector con,
String notes) |
static void |
EAElementUtil.setEANotes(org.sparx.Element e,
String documentation) |
static void |
EAConnectorEndUtil.setEAOrdering(org.sparx.ConnectorEnd conEnd,
boolean isOrdered) |
static void |
EAMethodUtil.setEAPos(org.sparx.Method m,
int pos)
Sets 'Pos' on the given EA method.
|
static void |
EAAttributeUtil.setEAPrecision(org.sparx.Attribute att,
int precision) |
static void |
EAConnectorEndUtil.setEARole(org.sparx.ConnectorEnd conEnd,
String role) |
static void |
EAConnectorEndUtil.setEARoleNote(org.sparx.ConnectorEnd conEnd,
String note) |
static void |
EAAttributeUtil.setEAScale(org.sparx.Attribute att,
int scale) |
static void |
EAConnectorUtil.setEAStereotype(org.sparx.Connector con,
String stereotype) |
static void |
EAConnectorEndUtil.setEAStereotypeEx(org.sparx.ConnectorEnd conEnd,
String stereotypeEx) |
static void |
EAConnectorUtil.setEAStereotypeEx(org.sparx.Connector con,
String stereotypeEx) |
static void |
EAElementUtil.setEAStereotypeEx(org.sparx.Element e,
String stereotype)
Sets attribute StereotypeEx on the given EA element.
|
static void |
EAMethodUtil.setEAStereotypeEx(org.sparx.Method m,
String stereotype)
Sets 'StereotypeEx' on the given EA method.
|
static void |
EAConnectorUtil.setEAStyleEx(org.sparx.Connector con,
String styleEx) |
static void |
EAConnectorUtil.setEASupplierID(org.sparx.Connector con,
int supplierID) |
static void |
EAParameterUtil.setEAType(org.sparx.Parameter p,
String type) |
static void |
EAAttributeUtil.setTaggedValue(org.sparx.Attribute att,
EATaggedValue tv)
Sets the given tagged value in the tagged values of the given attribute.
|
static void |
EAAttributeUtil.setTaggedValue(org.sparx.Attribute att,
String name,
String value)
Sets the given tagged value in the tagged values of the given attribute.
|
static void |
EAConnectorEndUtil.setTaggedValue(org.sparx.ConnectorEnd ce,
EATaggedValue tv)
Sets the given tagged value in the given connector end.
|
static void |
EAConnectorEndUtil.setTaggedValue(org.sparx.ConnectorEnd end,
String name,
String value)
Sets the given tagged value in the tagged values of the given connector
end.
|
static void |
EAElementUtil.setTaggedValue(org.sparx.Element e,
EATaggedValue tv)
Sets the given tagged value in the tagged values of the given element.
|
static void |
EAElementUtil.setTaggedValue(org.sparx.Element e,
String name,
String value)
Sets the given tagged value in the tagged values of the given element.
|
static void |
EAPackageUtil.setTaggedValue(org.sparx.Package pkg,
String name,
String value)
Sets the given tagged value in the tagged values of the given package.
|
static void |
EAAttributeUtil.setTaggedValues(org.sparx.Attribute att,
List<EATaggedValue> tvs)
Sets the given tagged values in the given attribute.
|
static void |
EAAttributeUtil.setTaggedValues(org.sparx.Attribute att,
TaggedValues tvs)
Sets the given tagged values in the given attribute.
|
static void |
EAConnectorEndUtil.setTaggedValues(org.sparx.ConnectorEnd ce,
TaggedValues tvs)
Sets the given tagged values in the given connector end.
|
static void |
EAConnectorUtil.setTaggedValues(org.sparx.Connector con,
List<EATaggedValue> tvs)
Sets the given tagged values in the given connector.
|
static void |
EAConnectorUtil.setTaggedValues(org.sparx.Connector con,
TaggedValues tvs)
Sets the given tagged values in the given connector.
|
static void |
EAElementUtil.setTaggedValues(org.sparx.Element e,
List<EATaggedValue> tvs)
Sets the given tagged values in the given element.
|
static void |
EAElementUtil.setTaggedValues(org.sparx.Element e,
TaggedValues tvs)
Sets the given tagged values in the given element.
|
static void |
EAMethodUtil.setTaggedValues(org.sparx.Method m,
List<EATaggedValue> tvs)
Sets the given tagged values in the given method.
|
static void |
EAElementUtil.updateTaggedValue(org.sparx.Element e,
String name,
String value,
boolean createAsMemoField)
Updates the tagged values with given name (which can be a fully qualified
name) in the tagged values of the given element.
|
Copyright © 2018. All rights reserved.