public interface StructuredClassifier extends Classifier
The following features are supported:
UMLPackage.getStructuredClassifier()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Property |
createOwnedAttribute(String name,
Type type)
Creates a new
Property , with the specified 'Name', and 'Type', and
appends it to the 'Owned Attribute' containment reference list |
Property |
createOwnedAttribute(String name,
Type type,
EClass eClass)
Creates a new
Property , with the specified 'Name', and 'Type', and
appends it to the 'Owned Attribute' containment reference list |
Property |
createOwnedAttribute(String name,
Type type,
int lower,
int upper)
Creates a property with the specified name, type, lower bound, and upper bound as an owned attribute of this structured classifier
|
Connector |
createOwnedConnector(String name)
Creates a new
Connector , with the specified 'Name', and appends it to the '
Owned Connector' containment reference list |
Property |
getOwnedAttribute(String name,
Type type)
Retrieves the first
Property with the specified 'Name', and 'Type' from
the 'Owned Attribute' containment reference list |
Property |
getOwnedAttribute(String name,
Type type,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Retrieves the first
Property with the specified 'Name', and 'Type' from
the 'Owned Attribute' containment reference list |
MDWEList<Property> |
getOwnedAttributes()
Returns the value of the 'Owned Attribute' containment reference list.
|
Connector |
getOwnedConnector(String name)
Retrieves the first
Connector with the specified 'Name' from the '
Owned Connector' containment reference list |
Connector |
getOwnedConnector(String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Connector with the specified 'Name' from the '
Owned Connector' containment reference list |
MDWEList<Connector> |
getOwnedConnectors()
Returns the value of the 'Owned Connector' containment reference list.
|
Property |
getPart(String name,
Type type)
Retrieves the first
Property with the specified 'Name', and 'Type' from
the 'Part' reference list |
Property |
getPart(String name,
Type type,
boolean ignoreCase,
EClass eClass)
Retrieves the first
Property with the specified 'Name', and 'Type' from
the 'Part' reference list |
MDWEList<Property> |
getParts()
Returns the value of the 'Part' reference list.
|
ConnectableElement |
getRole(String name,
Type type)
Retrieves the first
ConnectableElement with the specified 'Name', and '
Type' from the 'Role' reference list |
ConnectableElement |
getRole(String name,
Type type,
boolean ignoreCase,
EClass eClass)
Retrieves the first
ConnectableElement with the specified 'Name', and '
Type' from the 'Role' reference list |
MDWEList<ConnectableElement> |
getRoles()
Returns the value of the 'Role' reference list.
|
boolean |
validateMultiplicities(DiagnosticChain diagnostics,
Map context)
The multiplicities on connected elements must be consistent.
|
allFeatures, allParents, conformsTo, createCollaborationUse, createGeneralization, createOwnedUseCase, createRepresentation, createSubstitution, getAllAttributes, getAllOperations, getAllUsedInterfaces, getAttribute, getAttribute, getAttributes, getCollaborationUse, getCollaborationUse, getCollaborationUses, getFeature, getFeature, getFeatures, getGeneral, getGeneral, getGeneralization, getGeneralization, getGeneralizations, getGenerals, getInheritedMember, getInheritedMember, getInheritedMembers, getOperation, getOperation, getOperations, getOwnedUseCase, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifier, getRedefinedClassifiers, getRepresentation, getSubstitution, getSubstitution, getSubstitutions, getUseCase, getUseCase, getUseCases, getUsedInterfaces, hasVisibilityOf, inherit, inheritableMembers, isAbstract, isFinalSpecialization, maySpecializeType, parents, setIsAbstract, setIsFinalSpecialization, setRepresentation, validateGeneralizationHierarchies, validateMapsToGeneralizationSet, validateNoCyclesInGeneralization, validateSpecializeType
createElementImport, createElementImport, createOwnedDiagram, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImport, getElementImport, getElementImports, getImportedElements, getImportedMember, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMember, getMembers, getNamesOfMember, getOwnedDiagrams, getOwnedDiagrams, getOwnedMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRule, getOwnedRules, getPackageImport, getPackageImport, getPackageImports, importMembers, membersAreDistinguishable, validateMembersDistinguishable
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
conformsTo, createAssociation, getAssociations, getPackage, setPackage
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature
MDWEList<Property> getOwnedAttributes()
Property
.
References the properties owned by the classifier.
UMLPackage.getStructuredClassifier_OwnedAttribute()
Property createOwnedAttribute(String name, Type type, EClass eClass)
Property
, with the specified 'Name', and 'Type', and
appends it to the 'Owned Attribute' containment reference list.
name
- The 'Name' for the new Property
, or null
.type
- The 'Type' for the new Property
, or null
.eClass
- The Ecore class of the Property
to create.Property
.getOwnedAttributes()
Property createOwnedAttribute(String name, Type type)
Property
, with the specified 'Name', and 'Type', and
appends it to the 'Owned Attribute' containment reference list.
name
- The 'Name' for the new Property
, or null
.type
- The 'Type' for the new Property
, or null
.Property
.getOwnedAttributes()
Property getOwnedAttribute(String name, Type type)
Property
with the specified 'Name', and 'Type' from
the 'Owned Attribute' containment reference list.
name
- The 'Name' of the Property
to retrieve, or null
.type
- The 'Type' of the Property
to retrieve, or null
.Property
with the specified 'Name', and 'Type', or
null
.getOwnedAttributes()
Property getOwnedAttribute(String name, Type type, boolean ignoreCase, EClass eClass, boolean createOnDemand)
Property
with the specified 'Name', and 'Type' from
the 'Owned Attribute' containment reference list.
name
- The 'Name' of the Property
to retrieve, or null
.type
- The 'Type' of the Property
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Property
to retrieve, or null
.createOnDemand
- Whether to create a Property
on demand if not found.Property
with the specified 'Name', and 'Type', or
null
.getOwnedAttributes()
MDWEList<Property> getParts()
Property
.
References the properties specifying instances that the classifier owns by composition. This association is derived, selecting those owned
properties where isComposite is true.
UMLPackage.getStructuredClassifier_Part()
Property getPart(String name, Type type)
Property
with the specified 'Name', and 'Type' from
the 'Part' reference list.
name
- The 'Name' of the Property
to retrieve, or null
.type
- The 'Type' of the Property
to retrieve, or null
.Property
with the specified 'Name', and 'Type', or
null
.getParts()
Property getPart(String name, Type type, boolean ignoreCase, EClass eClass)
Property
with the specified 'Name', and 'Type' from
the 'Part' reference list.
name
- The 'Name' of the Property
to retrieve, or null
.type
- The 'Type' of the Property
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Property
to retrieve, or null
.Property
with the specified 'Name', and 'Type', or
null
.getParts()
MDWEList<ConnectableElement> getRoles()
ConnectableElement
.
References the roles that instances may play in this classifier.
UMLPackage.getStructuredClassifier_Role()
ConnectableElement getRole(String name, Type type)
ConnectableElement
with the specified 'Name', and '
Type' from the 'Role' reference list.
name
- The 'Name' of the ConnectableElement
to retrieve, or null
.type
- The 'Type' of the ConnectableElement
to retrieve, or null
.ConnectableElement
with the specified 'Name', and '
Type', or null
.getRoles()
ConnectableElement getRole(String name, Type type, boolean ignoreCase, EClass eClass)
ConnectableElement
with the specified 'Name', and '
Type' from the 'Role' reference list.
name
- The 'Name' of the ConnectableElement
to retrieve, or null
.type
- The 'Type' of the ConnectableElement
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ConnectableElement
to retrieve, or null
.ConnectableElement
with the specified 'Name', and '
Type', or null
.getRoles()
MDWEList<Connector> getOwnedConnectors()
Connector
.
References the connectors owned by the classifier.
UMLPackage.getStructuredClassifier_OwnedConnector()
Connector createOwnedConnector(String name)
Connector
, with the specified 'Name', and appends it to the '
Owned Connector' containment reference list.
name
- The 'Name' for the new Connector
, or null
.Connector
.getOwnedConnectors()
Connector getOwnedConnector(String name)
Connector
with the specified 'Name' from the '
Owned Connector' containment reference list.
name
- The 'Name' of the Connector
to retrieve, or null
.Connector
with the specified 'Name', or null
.getOwnedConnectors()
Connector getOwnedConnector(String name, boolean ignoreCase, boolean createOnDemand)
Connector
with the specified 'Name' from the '
Owned Connector' containment reference list.
name
- The 'Name' of the Connector
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a Connector
on demand if not found.Connector
with the specified 'Name', or null
.getOwnedConnectors()
boolean validateMultiplicities(DiagnosticChain diagnostics, Map context)