public class KeplerIOPortSemanticLink extends Attribute
A port generalization may only be contained within an entity (e.g., an actor). A virtual port must have a name.
NamedObj.ContainedObjectsIterator
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
KeplerIOPortSemanticLink(NamedObj container,
java.lang.String name)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addSemanticProperty(SemanticProperty property) |
java.lang.Object |
getDomain() |
java.lang.Object |
getRange() |
java.util.Vector<SemanticProperty> |
getSemanticProperties() |
void |
setContainer(NamedObj container)
FIXME: This should be "external" to the port ...
|
void |
setDomain(IOPort domain)
Assigns the domain of this link.
|
void |
setDomain(KeplerVirtualIOPort domain)
Assigns the domain of this link.
|
void |
setRange(IOPort range)
Assigns the IOPort as the range of the link.
|
void |
setRange(KeplerVirtualIOPort range)
Assigns the Virtual IOPort as the range of the link.
|
_checkContainer, _getContainedObject, _propagateExistence, clone, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setName, updateContent
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _description, _executeChangeRequests, _exportMoMLContents, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, _validateSettables, addChangeListener, addDebugListener, addHierarchyListener, attributeChanged, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, containedObjectsIterator, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getElementName, getFullName, getModelErrorHandler, getName, getName, getPrototypeList, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateExistence, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, uniqueName, validateSettables, workspace
public KeplerIOPortSemanticLink(NamedObj container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container
- Description of the Parametername
- The value of the propertyIllegalActionException
- Description of the ExceptionNameDuplicationException
- Description of the Exceptionpublic void setContainer(NamedObj container) throws IllegalActionException, NameDuplicationException
setContainer
in class Attribute
container
- The container for this virtual port.IllegalActionException
- If this attribute is not of the
expected class for the container, or it has no name,
or the attribute and container are not in the same workspace, or
the proposed container would result in recursive containment.NameDuplicationException
- If the container already has
an attribute with the name of this attribute.Attribute.getContainer()
public java.lang.Object getDomain()
public void setDomain(IOPort domain) throws IllegalActionException, NameDuplicationException
public void setDomain(KeplerVirtualIOPort domain) throws IllegalActionException, NameDuplicationException
public java.lang.Object getRange()
public void setRange(IOPort range) throws IllegalActionException, NameDuplicationException
public void setRange(KeplerVirtualIOPort range) throws IllegalActionException, NameDuplicationException
public java.util.Vector<SemanticProperty> getSemanticProperties()
public void addSemanticProperty(SemanticProperty property) throws IllegalActionException, NameDuplicationException