public class KeplerVirtualIOPortReference extends KeplerIOPortReference
Port
NamedObj.ContainedObjectsIterator
Settable.Visibility
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
EXPERT, FULL, NONE, NOT_EDITABLE
Constructor and Description |
---|
KeplerVirtualIOPortReference()
Constructor
|
KeplerVirtualIOPortReference(NamedObj container,
java.lang.String name)
Constructor
|
KeplerVirtualIOPortReference(Workspace workspace)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
References are equal when they refer to the same port.
|
java.lang.String |
getDefaultExpression()
Return the default expression which is null
|
java.lang.Object |
getPort()
Return the corresponding IOPort for the reference.
|
Settable.Visibility |
getVisibility()
Set visibility to NOT_EDITABLE
|
void |
setPort(KeplerVirtualIOPort port)
Sets the reference to the given virtual port.
|
void |
setVisibility(Settable.Visibility visibility)
The visibility cannot be changed.
|
java.util.Collection |
validate()
Validate the expression.
|
setPort
_propagateValue, addValueListener, clone, exportMoML, getExpression, removeValueListener, setExpression
getValueAsString
_checkContainer, _getContainedObject, _propagateExistence, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _description, _executeChangeRequests, _exportMoMLContents, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _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, 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
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDisplayName
description, getContainer, getFullName, getName, getName, setName
public KeplerVirtualIOPortReference()
public KeplerVirtualIOPortReference(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 KeplerVirtualIOPortReference(Workspace workspace)
workspace
- Description of the Parameterpublic java.lang.String getDefaultExpression()
getDefaultExpression
in interface Settable
getDefaultExpression
in class KeplerIOPortReference
AbstractSettableAttribute.setExpression(String)
,
Instantiable
public java.lang.Object getPort()
KeplerIOPortReference
getPort
in class KeplerIOPortReference
public void setPort(KeplerVirtualIOPort port) throws IllegalActionException
vport
- The virtual port that this reference will refer to. The
virtual port must be within the same container.IllegalActionException
public Settable.Visibility getVisibility()
getVisibility
in interface Settable
getVisibility
in class KeplerIOPortReference
StringAttribute.setVisibility(Settable.Visibility)
public void setVisibility(Settable.Visibility visibility)
setVisibility
in interface Settable
setVisibility
in class KeplerIOPortReference
visibility
- The new visibility valueStringAttribute.getVisibility()
public java.util.Collection validate() throws IllegalActionException
validate
in interface Settable
validate
in class KeplerIOPortReference
IllegalActionException
- If the change is not acceptable
to the container.public boolean equals(java.lang.Object obj)
equals
in class KeplerIOPortReference