public interface Connector extends Feature
From package UML::StructuredClassifiers.
The following features are supported:
UMLPackage.getConnector()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
ConnectorEnd |
createEnd()
Creates a new
ConnectorEnd and appends it to the 'End' containment reference list |
Behavior |
getContract(java.lang.String name)
Retrieves the first
Behavior with the specified 'Name' from the 'Contract' reference list |
Behavior |
getContract(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first
Behavior with the specified 'Name' from the 'Contract' reference list |
org.eclipse.emf.common.util.EList<Behavior> |
getContracts()
Returns the value of the 'Contract' reference list.
|
org.eclipse.emf.common.util.EList<ConnectorEnd> |
getEnds()
Returns the value of the 'End' containment reference list.
|
ConnectorKind |
getKind()
Returns the value of the 'Kind' attribute.
|
Connector |
getRedefinedConnector(java.lang.String name)
Retrieves the first
Connector with the specified 'Name' from the 'Redefined Connector' reference list |
Connector |
getRedefinedConnector(java.lang.String name,
boolean ignoreCase)
Retrieves the first
Connector with the specified 'Name' from the 'Redefined Connector' reference list |
org.eclipse.emf.common.util.EList<Connector> |
getRedefinedConnectors()
Returns the value of the 'Redefined Connector' reference list.
|
Association |
getType()
Returns the value of the 'Type' reference
|
void |
setType(Association value)
Sets the value of the '
Type ' reference |
boolean |
validateRoles(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The ConnectableElements attached as roles to each ConnectorEnd owned by a Connector must be owned or inherited roles of the Classifier that owned the Connector, or they must be Ports of such roles.
|
boolean |
validateTypes(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The types of the ConnectableElements that the ends of a Connector are attached to must conform to the types of the ends of the Association that types the Connector, if any.
|
getFeaturingClassifier, getFeaturingClassifier, getFeaturingClassifiers, isStatic, setIsStatic
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateNonLeafRedefinition, validateRedefinitionConsistent, validateRedefinitionContextValid
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
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
getEAnnotation, getEAnnotations
Association getType()
From package UML::StructuredClassifiers.
setType(Association)
,
UMLPackage.getConnector_Type()
void setType(Association value)
Type
' reference.
value
- the new value of the 'Type' reference.getType()
org.eclipse.emf.common.util.EList<Connector> getRedefinedConnectors()
Connector
.
This feature subsets the following features:
A Connector may be redefined when its containing Classifier is specialized. The redefining Connector may have a type that specializes the type of the redefined Connector. The types of the ConnectorEnds of the redefining Connector may specialize the types of the ConnectorEnds of the redefined Connector. The properties of the ConnectorEnds of the redefining Connector may be replaced.From package UML::StructuredClassifiers.
UMLPackage.getConnector_RedefinedConnector()
Connector getRedefinedConnector(java.lang.String name)
Connector
with the specified 'Name' from the 'Redefined Connector' reference list.
name
- The 'Name' of the Connector
to retrieve, or null
.Connector
with the specified 'Name', or null
.getRedefinedConnectors()
Connector getRedefinedConnector(java.lang.String name, boolean ignoreCase)
Connector
with the specified 'Name' from the 'Redefined Connector' reference list.
name
- The 'Name' of the Connector
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.Connector
with the specified 'Name', or null
.getRedefinedConnectors()
org.eclipse.emf.common.util.EList<ConnectorEnd> getEnds()
ConnectorEnd
.
This feature subsets the following features:
A Connector has at least two ConnectorEnds, each representing the participation of instances of the Classifiers typing the ConnectableElements attached to the end. The set of ConnectorEnds is ordered.From package UML::StructuredClassifiers.
UMLPackage.getConnector_End()
ConnectorEnd createEnd()
ConnectorEnd
and appends it to the 'End' containment reference list.
ConnectorEnd
.getEnds()
ConnectorKind getKind()
ConnectorKind
.
Indicates the kind of Connector. This is derived: a Connector with one or more ends connected to a Port which is not on a Part and which is not a behavior port is a delegation; otherwise it is an assembly.
From package UML::StructuredClassifiers.
ConnectorKind
,
UMLPackage.getConnector_Kind()
org.eclipse.emf.common.util.EList<Behavior> getContracts()
Behavior
.
The set of Behaviors that specify the valid interaction patterns across the Connector.
From package UML::StructuredClassifiers.
UMLPackage.getConnector_Contract()
Behavior getContract(java.lang.String name)
Behavior
with the specified 'Name' from the 'Contract' reference list.
name
- The 'Name' of the Behavior
to retrieve, or null
.Behavior
with the specified 'Name', or null
.getContracts()
Behavior getContract(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Behavior
with the specified 'Name' from the 'Contract' reference list.
name
- The 'Name' of the Behavior
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Behavior
to retrieve, or null
.Behavior
with the specified 'Name', or null
.getContracts()
boolean validateTypes(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateRoles(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.