Interface Connector
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,Feature
,MDObject
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,RedefinableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
public interface Connector extends Feature
A representation of the model object 'Connector'.A Connector specifies links that enables communication between two or more instances. In contrast to Associations, which specify links between any instance of the associated Classifiers, Connectors specify links between instances playing the connected parts only.
The following features are supported:
- See Also:
UMLPackage.getConnector()
- Model:
- annotation="MOF package='compositestructures.mdinternalstructures'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<Connector>
get_connectorOfRedefinedConnector()
Returns the value of the 'connector Of Redefined Connector' reference list.java.util.Collection<InformationFlow>
get_informationFlowOfRealizingConnector()
Returns the value of the 'information Flow Of Realizing Connector' reference list.java.util.Collection<Message>
get_messageOfConnector()
Returns the value of the 'message Of Connector' reference list.StructuredClassifier
get_structuredClassifierOfOwnedConnector()
Returns the value of the 'structured Classifier Of Owned Connector' container reference.java.util.Collection<Behavior>
getContract()
Returns the value of the 'Contract' reference list.java.util.List<ConnectorEnd>
getEnd()
Returns the value of the 'End' containment reference list.ConnectorKind
getKind()
Returns the value of the 'Kind' attribute.java.util.Collection<Connector>
getRedefinedConnector()
Returns the value of the 'Redefined Connector' reference list.Association
getType()
Returns the value of the 'Type' reference.boolean
has_connectorOfRedefinedConnector()
boolean
has_informationFlowOfRealizingConnector()
boolean
has_messageOfConnector()
boolean
hasContract()
boolean
hasEnd()
boolean
hasRedefinedConnector()
void
set_structuredClassifierOfOwnedConnector(StructuredClassifier value)
Sets the value of the 'structured Classifier Of Owned Connector
' container reference.void
setType(Association value)
Sets the value of the 'Type
' reference.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Feature
getFeaturingClassifier, isStatic, setFeaturingClassifier, setStatic
-
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
getType
@CheckForNull Association getType()
Returns the value of the 'Type' reference. It is bidirectional and its opposite is 'connector Of Type
'. An optional Association that classifies links corresponding to this Connector.- Returns:
- the value of the 'Type' reference.
- See Also:
setType(Association)
,UMLPackage.getConnector_Type()
,Association.get_connectorOfType()
- Model:
- opposite="_connectorOfType" ordered="false"
- Generated:
-
setType
void setType(@CheckForNull Association value)
Sets the value of the 'Type
' reference.- Parameters:
value
- the new value of the 'Type' reference.- See Also:
getType()
- Generated:
-
get_messageOfConnector
java.util.Collection<Message> get_messageOfConnector()
Returns the value of the 'message Of Connector' reference list. The list contents are of typeMessage
. It is bidirectional and its opposite is 'Connector
'.If the meaning of the 'message Of Connector' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'message Of Connector' reference list.
- See Also:
UMLPackage.getConnector__messageOfConnector()
,Message.getConnector()
- Model:
- opposite="connector" ordered="false"
- Generated:
-
get_informationFlowOfRealizingConnector
java.util.Collection<InformationFlow> get_informationFlowOfRealizingConnector()
Returns the value of the 'information Flow Of Realizing Connector' reference list. The list contents are of typeInformationFlow
. It is bidirectional and its opposite is 'Realizing Connector
'.If the meaning of the 'information Flow Of Realizing Connector' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'information Flow Of Realizing Connector' reference list.
- See Also:
UMLPackage.getConnector__informationFlowOfRealizingConnector()
,InformationFlow.getRealizingConnector()
- Model:
- opposite="realizingConnector" ordered="false"
- Generated:
-
getContract
java.util.Collection<Behavior> getContract()
Returns the value of the 'Contract' reference list. The list contents are of typeBehavior
. It is bidirectional and its opposite is 'connector Of Contract
'. The set of Behaviors that specify the valid interaction patterns across the Connector.- Returns:
- the value of the 'Contract' reference list.
- See Also:
UMLPackage.getConnector_Contract()
,Behavior.get_connectorOfContract()
- Model:
- opposite="_connectorOfContract" ordered="false"
- Generated:
-
getRedefinedConnector
java.util.Collection<Connector> getRedefinedConnector()
Returns the value of the 'Redefined Connector' reference list. The list contents are of typeConnector
. It is bidirectional and its opposite is '.mdinternalstructures.Connector#get_connectorOfRedefinedConnector connector Of Redefined Connector
'. 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.- Returns:
- the value of the 'Redefined Connector' reference list.
- See Also:
UMLPackage.getConnector_RedefinedConnector()
,get_connectorOfRedefinedConnector()
- Model:
- opposite="_connectorOfRedefinedConnector" ordered="false"
- Generated:
-
get_connectorOfRedefinedConnector
java.util.Collection<Connector> get_connectorOfRedefinedConnector()
Returns the value of the 'connector Of Redefined Connector' reference list. The list contents are of typeConnector
. It is bidirectional and its opposite is 'Redefined Connector
'.If the meaning of the 'connector Of Redefined Connector' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'connector Of Redefined Connector' reference list.
- See Also:
UMLPackage.getConnector__connectorOfRedefinedConnector()
,getRedefinedConnector()
- Model:
- opposite="redefinedConnector" ordered="false"
- Generated:
-
getEnd
java.util.List<ConnectorEnd> getEnd()
Returns the value of the 'End' containment reference list. The list contents are of typeConnectorEnd
. It is bidirectional and its opposite is 'connector Of End
'. 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.- Returns:
- the value of the 'End' containment reference list.
- See Also:
UMLPackage.getConnector_End()
,ConnectorEnd.get_connectorOfEnd()
- Model:
- opposite="_connectorOfEnd" containment="true" resolveProxies="true" lower="2"
- Generated:
-
getKind
@CheckForNull ConnectorKind getKind()
Returns the value of the 'Kind' attribute. The literals are from the enumerationConnectorKind
. 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.- Returns:
- the value of the 'Kind' attribute.
- See Also:
ConnectorKind
,UMLPackage.getConnector_Kind()
- Model:
- required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
get_structuredClassifierOfOwnedConnector
@CheckForNull StructuredClassifier get_structuredClassifierOfOwnedConnector()
Returns the value of the 'structured Classifier Of Owned Connector' container reference. It is bidirectional and its opposite is 'Owned Connector
'.If the meaning of the 'structured Classifier Of Owned Connector' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'structured Classifier Of Owned Connector' container reference.
- See Also:
set_structuredClassifierOfOwnedConnector(StructuredClassifier)
,UMLPackage.getConnector__structuredClassifierOfOwnedConnector()
,StructuredClassifier.getOwnedConnector()
- Model:
- opposite="ownedConnector" transient="false" ordered="false"
- Generated:
-
set_structuredClassifierOfOwnedConnector
void set_structuredClassifierOfOwnedConnector(@CheckForNull StructuredClassifier value)
Sets the value of the 'structured Classifier Of Owned Connector
' container reference.- Parameters:
value
- the new value of the 'structured Classifier Of Owned Connector' container reference.- See Also:
get_structuredClassifierOfOwnedConnector()
- Generated:
-
has_messageOfConnector
boolean has_messageOfConnector() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
has_informationFlowOfRealizingConnector
boolean has_informationFlowOfRealizingConnector() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasContract
boolean hasContract() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasRedefinedConnector
boolean hasRedefinedConnector() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
has_connectorOfRedefinedConnector
boolean has_connectorOfRedefinedConnector() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasEnd
boolean hasEnd() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-