public class ClassConceptFunctionDefinitionAttribute extends ConceptFunctionDefinitionAttribute
Red (cshelton) |
Green (cshelton) |
NamedObj.ContainedObjectsIterator
Modifier and Type | Field and Description |
---|---|
StringAttribute |
conceptFunctionClassName
The name of the ConceptFunction class to be instantiated when a
createConceptFunction() is called.
|
Parameter |
constructorArguments
The array of arguments to be passed to the constructor when
instantiating the ConceptFunction.
|
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
ClassConceptFunctionDefinitionAttribute(CompositeEntity container,
java.lang.String name)
Construct the ClassConceptFunctionDefinitionAttribute attribute
with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
ConceptFunction |
createConceptFunction()
Return the concept function defined by this attribute by instantiating
an object of the class specified in the conceptFunctionClassName
StringAttribute with the constructor arguments given in the
constructorArguments parameter.
|
_checkContainer, _getContainedObject, _propagateExistence, clone, 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, _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 StringAttribute conceptFunctionClassName
public Parameter constructorArguments
public ClassConceptFunctionDefinitionAttribute(CompositeEntity container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container
- The container.name
- The name of this attribute.IllegalActionException
- If the entity cannot be contained
by the proposed container.NameDuplicationException
- If the container already has an
actor with this name.public ConceptFunction createConceptFunction() throws IllegalActionException
createConceptFunction
in class ConceptFunctionDefinitionAttribute
IllegalActionException
- If there is an error
creating the conceptFunction.