public class SimpleMergeMapping extends Attribute
NamedObj.ContainedObjectsIterator
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
SimpleMergeMapping(NamedObj container,
java.lang.String name)
Constructor
|
SimpleMergeMapping(NamedObj container,
java.lang.String name,
java.lang.String sourceActor,
java.lang.String sourcePort,
java.lang.String targetPort)
Constructor
|
SimpleMergeMapping(NamedObj container,
java.lang.String name,
java.lang.String sourceActor,
java.lang.String sourcePort,
java.lang.String targetPort,
java.lang.String conversion)
Constructor
|
SimpleMergeMapping(java.lang.String sourceActor,
java.lang.String sourcePort,
java.lang.String targetPort)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getConversion() |
java.lang.String |
getSourceActor() |
java.lang.String |
getSourceActorPort() |
java.lang.String |
getTargetPort() |
static void |
main(java.lang.String[] args)
For testing
|
void |
setContainer(NamedObj container)
Specify the container NamedObj, adding this attribute to the
list of attributes in the container.
|
void |
setConversion(java.lang.String name)
Set the name of the conversion
|
void |
setSourceActor(java.lang.String name)
Set the name of the source actor
|
void |
setSourceActorPort(java.lang.String name)
Set the name of the source actor port
|
void |
setTargetPort(java.lang.String name)
Set the name of the target port
|
_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 SimpleMergeMapping(java.lang.String sourceActor, java.lang.String sourcePort, java.lang.String targetPort) throws IllegalActionException, NameDuplicationException
public SimpleMergeMapping(NamedObj container, java.lang.String name) throws IllegalActionException, NameDuplicationException
public SimpleMergeMapping(NamedObj container, java.lang.String name, java.lang.String sourceActor, java.lang.String sourcePort, java.lang.String targetPort) throws IllegalActionException, NameDuplicationException
public SimpleMergeMapping(NamedObj container, java.lang.String name, java.lang.String sourceActor, java.lang.String sourcePort, java.lang.String targetPort, java.lang.String conversion) throws IllegalActionException, NameDuplicationException
public void setContainer(NamedObj container) throws IllegalActionException, NameDuplicationException
Attribute
Subclasses may constrain the type of container by overriding
Attribute.setContainer(NamedObj)
.
setContainer
in class Attribute
container
- The container for this attributeIllegalActionException
- 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.String getSourceActor()
public java.lang.String getSourceActorPort()
public java.lang.String getTargetPort()
public java.lang.String getConversion()
public void setSourceActor(java.lang.String name) throws IllegalActionException, NameDuplicationException
public void setSourceActorPort(java.lang.String name) throws IllegalActionException, NameDuplicationException
public void setTargetPort(java.lang.String name) throws IllegalActionException, NameDuplicationException
public void setConversion(java.lang.String name) throws IllegalActionException, NameDuplicationException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static void main(java.lang.String[] args)