public abstract class DimensionRepresentativeConcept extends FlatTokenRepresentativeConcept
BaseDimensionRepresentativeConcept
,
DerivedDimensionRepresentativeConcept
Entity.ContainedObjectsIterator
Modifier and Type | Field and Description |
---|---|
protected RecordToken[] |
_userDefinedUnitRecords
The array of record tokens specified by the user in the unitInfoRecords
parameter.
|
Parameter |
unitInfoRecords
The array of information records for the units for this dimension.
|
abovePort, belowPort
isAcceptable
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
DimensionRepresentativeConcept(CompositeEntity ontology,
java.lang.String name)
Create a new DimensionRepresentativeConcept with the specified name and
ontology.
|
Modifier and Type | Method and Description |
---|---|
protected abstract UnitConcept |
_createInfiniteConceptInstance(java.lang.String infiniteConceptString)
Return a UnitConcept instance from the given concept string
representation.
|
protected RecordToken |
_findUnitRecordByName(java.lang.String unitName)
Return the unit info record token with the given Name field.
|
void |
attributeChanged(Attribute attribute)
React to a change in the unitInfoRecords parameter.
|
java.util.List<? extends UnitConcept> |
getAllUnits()
Return a list of all the possible units contained in this
dimension representative concept.
|
_instantiateFlatTokenInfiniteConcept, containsThisInfiniteConceptString, getFlatTokenInfiniteConceptByToken
_clearInstantiatedInfiniteConcepts, clone, getInfiniteConceptByString, getInstantiatedInfiniteConcepts
getCoverSetAbove, getCoverSetBelow, getIncomingPort, getOutgoingPort, toString
getAssociatedObject, getColor, getOntology, getValue, getVariables, initialize, isAboveOrEqualTo, isSettable, isValueAcceptable, setValue
_adjustDeferrals, _checkContainer, _getContainedObject, _propagateExistence, getContainer, instantiate, isAtomic, isOpaque, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, newPort, propagateExistence, setContainer, setName
_addPort, _description, _exportMoMLContents, _removePort, _validateSettables, connectedPortList, connectedPorts, connectionsChanged, containedObjectsIterator, getAttribute, getPort, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts, setClassDefinition, uniqueName
_setParent, exportMoML, getChildren, getElementName, getParent, getPrototypeList, isClassDefinition, isWithinClassDefinition
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _executeChangeRequests, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, addChangeListener, addDebugListener, addHierarchyListener, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getFullName, getModelErrorHandler, getName, getName, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, validateSettables, workspace
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDerivedLevel, getDerivedList, propagateValue
description, getDisplayName, getFullName, getName, getName
public Parameter unitInfoRecords
protected RecordToken[] _userDefinedUnitRecords
public DimensionRepresentativeConcept(CompositeEntity ontology, java.lang.String name) throws NameDuplicationException, IllegalActionException
ontology
- The specified ontology where this concept resides.name
- The specified name for the concept.NameDuplicationException
- If the ontology already contains a
concept with the specified name.IllegalActionException
- If the base class throws it.public void attributeChanged(Attribute attribute) throws IllegalActionException
attributeChanged
in class NamedObj
attribute
- The attribute that has changed.IllegalActionException
- Thrown if there is a problem getting the
token from the unitInfoRecords parameter.public java.util.List<? extends UnitConcept> getAllUnits() throws IllegalActionException
IllegalActionException
- Thrown if there is a problem getting any
unit concepts from the ontology.protected abstract UnitConcept _createInfiniteConceptInstance(java.lang.String infiniteConceptString) throws IllegalActionException
_createInfiniteConceptInstance
in class FlatTokenRepresentativeConcept
infiniteConceptString
- The string that represents the unit concept
to be returned.IllegalActionException
- Thrown if there is a problem creating
the unit concept.protected RecordToken _findUnitRecordByName(java.lang.String unitName) throws IllegalActionException
unitName
- The value of the Name field of the unit record token to
be found.IllegalActionException
- Thrown if the unit cannot be found, or
if the unit specification parameter is invalid.