public class KeplerCompositeIOPort extends KeplerVirtualIOPort
A compoiste port 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 |
|---|
KeplerCompositeIOPort(NamedObj container,
java.lang.String name)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEncapsulatedPort(IOPort port)
Assigns the given ptolemy port reference to the current set of
encapsulated ports.
|
void |
addEncapsulatedPort(KeplerVirtualIOPort port)
Assigns the given virtual port to the current set of encapsulated ports.
|
java.util.Vector |
getEncapsulatedPortReferences() |
Type |
getType()
Returns a record type of the encapsulated ports, where the labels are the
port names.
|
boolean |
isInput() |
boolean |
isOutput() |
void |
setName(java.lang.String name)
Set the name of the attribute.
|
java.lang.String |
toString()
Return the class name and the full name of the object,
with syntax "className {fullName}".
|
setContainer_checkContainer, _getContainedObject, _propagateExistence, clone, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, 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, uniqueName, validateSettables, workspacepublic KeplerCompositeIOPort(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 setName(java.lang.String name) throws IllegalActionException, NameDuplicationException
AttributesetName in interface NameablesetName in class Attributename - The new name.IllegalActionException - If the name contains a period.NameDuplicationException - If there is already an
attribute with the same name in the container.NamedObj.getName(),
NamedObj.getName(NamedObj)public java.util.Vector getEncapsulatedPortReferences()
public void addEncapsulatedPort(IOPort port) throws IllegalActionException, NameDuplicationException
port - The ptolemy port to encapsulate.IllegalActionExceptionNameDuplicationExceptionpublic void addEncapsulatedPort(KeplerVirtualIOPort port) throws IllegalActionException, NameDuplicationException
vport - The virtual port to encapsulate.IllegalActionExceptionNameDuplicationExceptionpublic boolean isOutput()
isOutput in class KeplerVirtualIOPortpublic boolean isInput()
isInput in class KeplerVirtualIOPortpublic Type getType()
getType in class KeplerVirtualIOPort