Package ptolemy.data.ontologies
Class ExpressionConceptFunctionDefinitionAttribute
- java.lang.Object
- 
- ptolemy.kernel.util.NamedObj
- 
- ptolemy.kernel.util.Attribute
- 
- ptolemy.data.ontologies.ConceptFunctionDefinitionAttribute
- 
- ptolemy.data.ontologies.ExpressionConceptFunctionDefinitionAttribute
 
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Cloneable,- Changeable,- Debuggable,- DebugListener,- Derivable,- ModelErrorHandler,- MoMLExportable,- Moveable,- Nameable
 - Direct Known Subclasses:
- BinaryOperationMonotonicFunctionDefinition,- UnaryOperationMonotonicFunctionDefinition
 
 public class ExpressionConceptFunctionDefinitionAttribute extends ConceptFunctionDefinitionAttribute Attribute that defines a concept function with a boolean expression.- Since:
- Ptolemy II 10.0
- Version:
- $Id$
- Author:
- Charles Shelton
- See Also:
- ExpressionConceptFunction
- Pt.AcceptedRating:
- Red (cshelton)
- Pt.ProposedRating:
- Green (cshelton)
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class ptolemy.kernel.util.NamedObjNamedObj.ContainedObjectsIterator
 
- 
 - 
Field SummaryFields Modifier and Type Field Description ParameterargumentDomainOntologiesThe parameter that holds the array of strings that name the domain ontologies for the arguments for the concept function.ParameterargumentNamesThe parameter that holds the array of strings that name the arguments for the concept function.StringParameterconceptFunctionExpressionThe string that represents the boolean expression of the concept function.ParameterconstrainFunctionToBeMonotonicParameter to select whether the concept function defined by this attribute must be monotonic.ParameternumberOfArgumentsIsFixedParameter to select whether the number of arguments for the concept function is fixed.StringParameteroutputRangeOntologyNameThe name of the ontology that specifies the range of concepts for the concept function output.- 
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 SummaryConstructors Constructor Description ExpressionConceptFunctionDefinitionAttribute(CompositeEntity container, java.lang.String name)Construct the ExpressionConceptFunctionDefinitionAttribute attribute with the given container and name.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionConceptFunctioncreateConceptFunction()Return the concept function defined by this attribute's expression.- 
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, 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
 
- 
 
- 
- 
- 
Field Detail- 
argumentDomainOntologiespublic Parameter argumentDomainOntologies The parameter that holds the array of strings that name the domain ontologies for the arguments for the concept function.
 - 
argumentNamespublic Parameter argumentNames The parameter that holds the array of strings that name the arguments for the concept function.
 - 
conceptFunctionExpressionpublic StringParameter conceptFunctionExpression The string that represents the boolean expression of the concept function.
 - 
constrainFunctionToBeMonotonicpublic Parameter constrainFunctionToBeMonotonic Parameter to select whether the concept function defined by this attribute must be monotonic.
 - 
numberOfArgumentsIsFixedpublic Parameter numberOfArgumentsIsFixed Parameter to select whether the number of arguments for the concept function is fixed.
 - 
outputRangeOntologyNamepublic StringParameter outputRangeOntologyName The name of the ontology that specifies the range of concepts for the concept function output.
 
- 
 - 
Constructor Detail- 
ExpressionConceptFunctionDefinitionAttributepublic ExpressionConceptFunctionDefinitionAttribute(CompositeEntity container, java.lang.String name) throws IllegalActionException, NameDuplicationException Construct the ExpressionConceptFunctionDefinitionAttribute 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- 
createConceptFunctionpublic ExpressionConceptFunction createConceptFunction() throws IllegalActionException Return the concept function defined by this attribute's expression.- Specified by:
- createConceptFunctionin class- ConceptFunctionDefinitionAttribute
- Returns:
- The concept function.
- Throws:
- IllegalActionException- If there is an error creating the conceptFunction.
 
 
- 
 
-