public interface IPort extends IBindableInstance
Modifier and Type | Field and Description |
---|---|
static String |
MetaclassName |
Modifier and Type | Method and Description |
---|---|
void |
addProvided(IProvidedInterface element)
Add a ObProvidedInterface to the 'Provided' association.
|
void |
addRequired(IRequiredInterface element)
Add a ObRequiredInterface to the 'Required' association.
|
int |
cardProvided()
Returns the number elements in the Provided association.
|
int |
cardProvided(Class<? extends IProvidedInterface> filteredClass)
Returns the number elements in the Provided association filtered with the given metaclass.
|
int |
cardRequired()
Returns the number elements in the Required association.
|
int |
cardRequired(Class<? extends IRequiredInterface> filteredClass)
Returns the number elements in the Required association filtered with the given metaclass.
|
ObList<IProvidedInterface> |
getProvided()
Get the list of ObProvidedInterface to the Provided association.
|
<T extends IProvidedInterface> |
getProvided(Class<T> filteredClass)
Get the list of ObProvidedInterface to the Provided association.
|
ObList<IRequiredInterface> |
getRequired()
Get the list of ObRequiredInterface to the Required association.
|
<T extends IRequiredInterface> |
getRequired(Class<T> filteredClass)
Get the list of ObRequiredInterface to the Required association.
|
boolean |
isBehavior()
Getter for the IsBehavior meta class attribute.
|
boolean |
isConjugated()
Getter for the IsConjugated meta class attribute.
|
boolean |
isService()
Getter for the IsService meta class attribute.
|
void |
removeProvided(IProvidedInterface element)
Remove an ObProvidedInterface from the 'Provided' association.
|
void |
removeRequired(IRequiredInterface element)
Remove an ObRequiredInterface from the 'Required' association.
|
void |
setBehavior(boolean value)
Setter for the 'IsBehavior' meta class attribute
|
void |
setConjugated(boolean value)
Setter for the 'IsConjugated' meta class attribute
|
void |
setService(boolean value)
Setter for the 'IsService' meta class attribute
|
addRepresentation, cardRepresentation, cardRepresentation, getCluster, getInternalOwner, getRepresentation, getRepresentation, getRepresentedFeature, removeRepresentation, setCluster, setInternalOwner, setRepresentedFeature
addConnection, addPart, addRepresentedCommunicationNode, addRepresentedLifeLine, addRepresentingItem, addRepresentingObjectNode, addSlot, cardConnection, cardConnection, cardPart, cardPart, cardRepresentedCommunicationNode, cardRepresentedCommunicationNode, cardRepresentedLifeLine, cardRepresentedLifeLine, cardRepresentingItem, cardRepresentingItem, cardRepresentingObjectNode, cardRepresentingObjectNode, cardSlot, cardSlot, getBase, getConnection, getConnection, getMultiplicityMax, getMultiplicityMin, getOwner, getPart, getPart, getRepresentedCommunicationNode, getRepresentedCommunicationNode, getRepresentedLifeLine, getRepresentedLifeLine, getRepresentingItem, getRepresentingItem, getRepresentingObjectNode, getRepresentingObjectNode, getSlot, getSlot, getValue, isConstant, removeConnection, removePart, removeRepresentedCommunicationNode, removeRepresentedLifeLine, removeRepresentingItem, removeRepresentingObjectNode, removeSlot, setBase, setConstant, setMultiplicityMax, setMultiplicityMin, setOwner, setValue
addBpmnLaneRefs, addConstraintDefinition, addDefaultParametering, addDependsOnDependency, addDescriptor, addDocument, addExtension, addImpactedDependency, addLocalDescriptor, addLocalTag, addManifesting, addproduct, addReceivedInfo, addRepresentingConnector, addRepresentingEnd, addRepresentingInstance, addRepresentingPartition, addRepresents, addSentInfo, addStereotype, addTag, addTemplateSubstitution, addTypingParameter, cardBpmnLaneRefs, cardBpmnLaneRefs, cardConstraintDefinition, cardConstraintDefinition, cardDefaultParametering, cardDefaultParametering, cardDependsOnDependency, cardDependsOnDependency, cardDescriptor, cardDescriptor, cardDocument, cardDocument, cardExtension, cardExtension, cardImpactedDependency, cardImpactedDependency, cardLocalDescriptor, cardLocalDescriptor, cardLocalTag, cardLocalTag, cardManifesting, cardManifesting, cardproduct, cardproduct, cardReceivedInfo, cardReceivedInfo, cardRepresentingConnector, cardRepresentingConnector, cardRepresentingEnd, cardRepresentingEnd, cardRepresentingInstance, cardRepresentingInstance, cardRepresentingPartition, cardRepresentingPartition, cardRepresents, cardRepresents, cardSentInfo, cardSentInfo, cardTag, cardTag, cardTemplateSubstitution, cardTemplateSubstitution, cardTypingParameter, cardTypingParameter, getBpmnLaneRefs, getBpmnLaneRefs, getConstraintDefinition, getConstraintDefinition, getDefaultParametering, getDefaultParametering, getDependsOnDependency, getDependsOnDependency, getDescriptor, getDescriptor, getDocument, getDocument, getExtension, getExtension, getImpactedDependency, getImpactedDependency, getLocalDescriptor, getLocalDescriptor, getLocalTag, getLocalTag, getManifesting, getManifesting, getNote, getNoteContent, getOwnerTemplateParameter, getproduct, getproduct, getReceivedInfo, getReceivedInfo, getRepresentingConnector, getRepresentingConnector, getRepresentingEnd, getRepresentingEnd, getRepresentingInstance, getRepresentingInstance, getRepresentingPartition, getRepresentingPartition, getRepresents, getRepresents, getSentInfo, getSentInfo, getTag, getTag, getTagValues, getTemplateSubstitution, getTemplateSubstitution, getTypingParameter, getTypingParameter, isStereotyped, isTagged, putNoteContent, putTagValue, putTagValues, removeBpmnLaneRefs, removeConstraintDefinition, removeDefaultParametering, removeDependsOnDependency, removeDescriptor, removeDocument, removeExtension, removeImpactedDependency, removeLocalDescriptor, removeLocalTag, removeManifesting, removeNote, removeproduct, removeReceivedInfo, removeRepresentingConnector, removeRepresentingEnd, removeRepresentingInstance, removeRepresentingPartition, removeRepresents, removeSentInfo, removeStereotype, removeTag, removeTag, removeTemplateSubstitution, removeTypingParameter, setName, setOwnerTemplateParameter, toString
accept, addcausing, cardcausing, cardcausing, compareTo, delete, equals, getcausing, getcausing, getCompositionOwner, getElementStatus, getHid, getIdentifier, getLid, getMetaclassId, getMetaclassName, getmodifDate, getName, getSessionId, hashCode, isValid, removecausing, setmodifDate
static final String MetaclassName
boolean isBehavior()
void setBehavior(boolean value)
value
- the new 'IsBehavior' value.boolean isService()
void setService(boolean value)
value
- the new 'IsService' value.boolean isConjugated()
void setConjugated(boolean value)
value
- the new 'IsConjugated' value.void addRequired(IRequiredInterface element)
element
- The ObRequiredInterface to add.int cardRequired()
int cardRequired(Class<? extends IRequiredInterface> filteredClass)
filteredClass
- The filter to apply.ObList<IRequiredInterface> getRequired()
<T extends IRequiredInterface> ObList<T> getRequired(Class<T> filteredClass)
This list is filtered using the given filteredClass
argument.
The returned list elements can therefore be directly safely casted.
T
- The applied filter.filteredClass
- The filter to apply.void removeRequired(IRequiredInterface element)
element
- The ObRequiredInterface to remove.void addProvided(IProvidedInterface element)
element
- The ObProvidedInterface to add.int cardProvided()
int cardProvided(Class<? extends IProvidedInterface> filteredClass)
filteredClass
- The filter to apply.ObList<IProvidedInterface> getProvided()
<T extends IProvidedInterface> ObList<T> getProvided(Class<T> filteredClass)
This list is filtered using the given filteredClass
argument.
The returned list elements can therefore be directly safely casted.
T
- The applied filter.filteredClass
- The filter to apply.void removeProvided(IProvidedInterface element)
element
- The ObProvidedInterface to remove.