Package ptolemy.data.ontologies.lattice
Class UnaryOperationMonotonicFunctionDefinition
- java.lang.Object
-
- ptolemy.kernel.util.NamedObj
-
- ptolemy.kernel.util.Attribute
-
- ptolemy.data.ontologies.ConceptFunctionDefinitionAttribute
-
- ptolemy.data.ontologies.ExpressionConceptFunctionDefinitionAttribute
-
- ptolemy.data.ontologies.lattice.UnaryOperationMonotonicFunctionDefinition
-
- All Implemented Interfaces:
java.lang.Cloneable
,Changeable
,Debuggable
,DebugListener
,Derivable
,ModelErrorHandler
,MoMLExportable
,Moveable
,Nameable
public class UnaryOperationMonotonicFunctionDefinition extends ExpressionConceptFunctionDefinitionAttribute
Concept function definition attribute for any unary operation.- Since:
- Ptolemy II 10.0
- Version:
- $Id$
- Author:
- Charles Shelton
- Pt.AcceptedRating:
- Red (cshelton)
- Pt.ProposedRating:
- Red (cshelton)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ptolemy.kernel.util.NamedObj
NamedObj.ContainedObjectsIterator
-
-
Field Summary
Fields Modifier and Type Field Description StringParameter
functionOntologyName
The name of the ontology that specifies the domain and range of concepts for the defined binary operation concept function.-
Fields inherited from class ptolemy.data.ontologies.ExpressionConceptFunctionDefinitionAttribute
argumentDomainOntologies, argumentNames, conceptFunctionExpression, constrainFunctionToBeMonotonic, numberOfArgumentsIsFixed, outputRangeOntologyName
-
Fields inherited from class ptolemy.kernel.util.NamedObj
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
-
-
Constructor Summary
Constructors Constructor Description UnaryOperationMonotonicFunctionDefinition(CompositeEntity container, java.lang.String name)
Construct the UnaryOperationConceptFunctionDefinition attribute with the given container and name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attributeChanged(Attribute attribute)
Override the attributeChanged method so that the output range and all argument domain ontology names are set to the functionOntologyName.-
Methods inherited from class ptolemy.data.ontologies.ExpressionConceptFunctionDefinitionAttribute
createConceptFunction
-
Methods inherited from class ptolemy.kernel.util.Attribute
_checkContainer, _getContainedObject, _propagateExistence, clone, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent
-
Methods inherited from class ptolemy.kernel.util.NamedObj
_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, 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
-
-
-
-
Field Detail
-
functionOntologyName
public StringParameter functionOntologyName
The name of the ontology that specifies the domain and range of concepts for the defined binary operation concept function.
-
-
Constructor Detail
-
UnaryOperationMonotonicFunctionDefinition
public UnaryOperationMonotonicFunctionDefinition(CompositeEntity container, java.lang.String name) throws IllegalActionException, NameDuplicationException
Construct the UnaryOperationConceptFunctionDefinition attribute with the given container and name.- Parameters:
container
- The container.name
- The name of this attribute.- Throws:
IllegalActionException
- If the entity cannot be contained by the proposed container.NameDuplicationException
- If the container already has an actor with this name.
-
-
Method Detail
-
attributeChanged
public void attributeChanged(Attribute attribute) throws IllegalActionException
Override the attributeChanged method so that the output range and all argument domain ontology names are set to the functionOntologyName.- Overrides:
attributeChanged
in classNamedObj
- Parameters:
attribute
- The attribute that has been changed.- Throws:
IllegalActionException
- If there is a problem changing the attribute.
-
-