public class FlatScalarTokenRepresentativeConcept extends FlatTokenRepresentativeConcept
FlatScalarTokenInfiniteConcept
Red (blickly) |
Red (blickly) |
Entity.ContainedObjectsIterator
Modifier and Type | Field and Description |
---|---|
Parameter |
leftEndPoint
The value of the left endpoint of the scalar interval.
|
Parameter |
leftIntervalClosed
Indicates whether or not the interval is closed on its left endpoint.
|
Parameter |
rightEndPoint
The value of the right endpoint of the scalar interval.
|
Parameter |
rightIntervalClosed
Indicates whether or not the interval is closed on its right endpoint.
|
abovePort, belowPort
isAcceptable
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
FlatScalarTokenRepresentativeConcept(CompositeEntity ontology,
java.lang.String name)
Create a new FlatScalarTokenRepresentativeConcept with the specified
name and ontology.
|
Modifier and Type | Method and Description |
---|---|
protected FlatScalarTokenInfiniteConcept |
_createInfiniteConceptInstance(java.lang.String infiniteConceptString)
Create a new FlatScalarTokenInfiniteConcept for the given concept string.
|
protected FlatScalarTokenInfiniteConcept |
_instantiateFlatTokenInfiniteConcept(Token tokenValue)
Return a new FlatScalarTokenInfiniteConcept for this representative with
the given token value.
|
void |
attributeChanged(Attribute attribute)
React to a change in an attribute.
|
boolean |
withinInterval(ScalarToken value)
Determine whether or not the specified ScalarToken is within the interval
specified by this representative concept.
|
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 leftEndPoint
public Parameter leftIntervalClosed
public Parameter rightEndPoint
public Parameter rightIntervalClosed
public FlatScalarTokenRepresentativeConcept(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 in this concept.IllegalActionException
- Thrown if the interval is invalid (the specified
left endpoint is greater than the right endpoint, or vice versa).public boolean withinInterval(ScalarToken value) throws IllegalActionException
value
- The specified ScalarToken to be tested.IllegalActionException
- Thrown if the interval endpoints have not
been specified.protected FlatScalarTokenInfiniteConcept _createInfiniteConceptInstance(java.lang.String infiniteConceptString) throws IllegalActionException
_createInfiniteConceptInstance
in class FlatTokenRepresentativeConcept
infiniteConceptString
- The specified concept string that
represents the FlatScalarTokenInfiniteConcept to be created.IllegalActionException
- Thrown if a valid
FlatScalarTokenInfiniteConcept cannot be created.protected FlatScalarTokenInfiniteConcept _instantiateFlatTokenInfiniteConcept(Token tokenValue) throws IllegalActionException
_instantiateFlatTokenInfiniteConcept
in class FlatTokenRepresentativeConcept
tokenValue
- The token value for the FlatTokenInfiniteConcept
to be instantiated.IllegalActionException
- Thrown if the FlatTokenInfiniteConcept
cannot be created.