public class Port extends NamedElement
The following features are supported:
FlammPackage.getPort()
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
Constructor and Description |
---|
Port() |
Port(java.lang.String name,
java.lang.String id,
Component owner) |
Modifier and Type | Method and Description |
---|---|
boolean |
addFailure(Failure failure)
Add a new failure to this port.
A copy of the failure will be created and added to handle EMF containment relationship. |
boolean |
addFailure(Failure failure,
java.util.Collection<Failure> previousFailures)
Add a new failure to this port.
A copy of the failure will be created and added to handle EMF containment relationship. |
boolean |
addFailure(Failure failure,
Failure previousFailure)
Add a new failure to this port.
A copy of the failure will be created and added to handle EMF containment relationship. |
boolean |
addFailures(java.util.Collection<Failure> failures)
Add new failures to this port.
All failures will be copied and added to handle EMF containment relationship. |
Connection |
basicGetIncomingConnections() |
Connection |
basicGetOutgoingConnections() |
Component |
basicGetOwner() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetIncomingConnections(Connection newIncomingConnections,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetOutgoingConnections(Connection newOutgoingConnections,
org.eclipse.emf.common.notify.NotificationChain msgs) |
void |
clearNewFailures()
Marks all new failures as handled.
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
java.lang.Object |
eInvoke(int operationID,
org.eclipse.emf.common.util.EList<?> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
java.util.List<Port> |
getConnectedPorts()
Returns the value of the 'Connected Ports' reference list.
|
java.util.List<Failure> |
getFailures()
Returns the value of the 'Failures' containment reference list.
|
Connection |
getIncomingConnections()
Returns the value of the 'Incoming Connections' reference.
|
java.util.List<Failure> |
getNewFailures()
Returns the value of the 'New Failures' containment reference list.
|
Connection |
getOutgoingConnections()
Returns the value of the 'Outgoing Connections' reference.
|
Component |
getOwner()
Returns the value of the 'Owner' reference.
|
boolean |
hasNewFailures() |
void |
initialize() |
void |
propagateFailures() |
void |
setIncomingConnections(Connection newIncomingConnections)
Sets the value of the '
Incoming Connections ' reference. |
void |
setOutgoingConnections(Connection newOutgoingConnections)
Sets the value of the '
Outgoing Connections ' reference. |
void |
setOwner(Component newOwner)
Sets the value of the '
Owner ' reference. |
getId, getName, setId, setName, toString
eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eIsProxy, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public Port()
public Port(java.lang.String name, java.lang.String id, Component owner)
public java.util.List<Port> getConnectedPorts()
Port
.
If the meaning of the 'Connected Ports' reference list isn't clear, there really should be more of a description here...
FlammPackage.getPort_ConnectedPorts()
public java.util.List<Failure> getFailures()
Failure
.
If the meaning of the 'Failures' containment reference list isn't clear, there really should be more of a description here...
FlammPackage.getPort_Failures()
public java.util.List<Failure> getNewFailures()
Failure
.
If the meaning of the 'New Failures' containment reference list isn't clear, there really should be more of a description here...
FlammPackage.getPort_NewFailures()
public Component getOwner()
If the meaning of the 'Owner' reference isn't clear, there really should be more of a description here...
setOwner(Component)
,
FlammPackage.getPort_Owner()
public Component basicGetOwner()
public void setOwner(Component newOwner)
Owner
' reference.
value
- the new value of the 'Owner' reference.getOwner()
public Connection getIncomingConnections()
To
'.
If the meaning of the 'Incoming Connections' reference isn't clear, there really should be more of a description here...
setIncomingConnections(Connection)
,
FlammPackage.getPort_IncomingConnections()
,
Connection.getTo()
public Connection basicGetIncomingConnections()
public org.eclipse.emf.common.notify.NotificationChain basicSetIncomingConnections(Connection newIncomingConnections, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setIncomingConnections(Connection newIncomingConnections)
Incoming Connections
' reference.
value
- the new value of the 'Incoming Connections' reference.getIncomingConnections()
public Connection getOutgoingConnections()
From
'.
If the meaning of the 'Outgoing Connections' reference isn't clear, there really should be more of a description here...
setOutgoingConnections(Connection)
,
FlammPackage.getPort_OutgoingConnections()
,
Connection.getFrom()
public Connection basicGetOutgoingConnections()
public org.eclipse.emf.common.notify.NotificationChain basicSetOutgoingConnections(Connection newOutgoingConnections, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOutgoingConnections(Connection newOutgoingConnections)
Outgoing Connections
' reference.
value
- the new value of the 'Outgoing Connections' reference.getOutgoingConnections()
public boolean hasNewFailures()
public void propagateFailures()
public void clearNewFailures()
public void initialize()
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean addFailure(Failure failure)
failure
- true
if the failure was added to the set of new failures.public boolean addFailure(Failure failure, Failure previousFailure)
failure
- true
if the failure was added to the set of new failures.public boolean addFailure(Failure failure, java.util.Collection<Failure> previousFailures)
failure
- true
if the failure was added to the set of new failures.public boolean addFailures(java.util.Collection<Failure> failures)
failure
- true
if at least one of the failures was added to the set of new failures.public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class NamedElement
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class NamedElement
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class NamedElement
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class NamedElement
public java.lang.Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws java.lang.reflect.InvocationTargetException
eInvoke
in interface org.eclipse.emf.ecore.InternalEObject
eInvoke
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
java.lang.reflect.InvocationTargetException