public class KeplerRefinementIOPort extends KeplerVirtualIOPort
A port refinement may only be contained within an entity (e.g., an actor). All port refinements are required to have a well-formed port name, representing the actual "pointer" into the port's data structure. The pointer 'elem' is used to denote traversal into an array (list) or matrix, and the component name (e.g., 'lat') is used to denote traversal into a record.
NamedObj.ContainedObjectsIterator_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS| Constructor and Description |
|---|
KeplerRefinementIOPort(NamedObj container,
java.lang.String name)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
TypedIOPort |
_getPort(java.lang.String pointer) |
java.lang.String |
getPointer() |
TypedIOPort |
getRefinedPort() |
java.lang.String |
getTargetName() |
Type |
getType()
...
|
boolean |
isInput() |
boolean |
isOutput() |
void |
setName(java.lang.String name)
Calls setRefinedPortPointer to set the pointer.
|
void |
setPointer(java.lang.String pointer)
Assign the given pointer (name) to the port.
|
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 KeplerRefinementIOPort(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
setName 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 void setPointer(java.lang.String pointer) throws IllegalActionException, NameDuplicationException
public TypedIOPort getRefinedPort()
public TypedIOPort _getPort(java.lang.String pointer)
public java.lang.String getPointer()
public boolean isOutput()
isOutput in class KeplerVirtualIOPortpublic boolean isInput()
isInput in class KeplerVirtualIOPortpublic Type getType()
getType in class KeplerVirtualIOPortpublic java.lang.String getTargetName()