public class FlatScalarTokenInfiniteConcept extends FlatTokenInfiniteConcept
This RecordConcept allows any record to be assigned concept values for its
individual elements from an arbitrary finite ontology. For example, if we
wanted to assign a concept to the token above from the constAbstractInterpretation
ontology, it would be:
{x = Positive, y = Positive, pixelOn = BooleanTrue}
This code is adapted from the
MonotonicityConcept
implementation.
FlatScalarTokenRepresentativeConcept
Red (blickly) |
Red (blickly) |
Entity.ContainedObjectsIterator
_representative, _tokenValue
isAcceptable
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Modifier | Constructor and Description |
---|---|
protected |
FlatScalarTokenInfiniteConcept(Ontology ontology,
FlatScalarTokenRepresentativeConcept representative,
ScalarToken value)
Create a new Record concept, belonging to the given
ontology.
|
Modifier and Type | Method and Description |
---|---|
static FlatScalarTokenInfiniteConcept |
createFlatScalarTokenInfiniteConcept(Ontology ontology,
FlatScalarTokenRepresentativeConcept representative,
ScalarToken value)
Create a new flat token infinite concept, belonging to the given
ontology, with an automatically generated name.
|
FlatScalarTokenRepresentativeConcept |
getRepresentative()
Get the concept that represents this set of infinite concepts in the
ontology lattice.
|
ScalarToken |
getTokenValue()
Get the token value contained by this concept.
|
compare, createFlatTokenInfiniteConcept, equals, getColor, greatestLowerBound, hashCode, leastUpperBound, toString
getAssociatedObject, getOntology, getValue, getVariables, initialize, isAboveOrEqualTo, isSettable, isValueAcceptable, setValue
_adjustDeferrals, _checkContainer, _getContainedObject, _propagateExistence, clone, 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, attributeChanged, 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
finalize, getClass, notify, notifyAll, wait, wait, wait
getDerivedLevel, getDerivedList, propagateValue
description, getDisplayName, getFullName, getName, getName
protected FlatScalarTokenInfiniteConcept(Ontology ontology, FlatScalarTokenRepresentativeConcept representative, ScalarToken value) throws IllegalActionException, NameDuplicationException
ontology
- The ontology to which this concept belongs.representative
- The finite concept that represents where the infinite
token concepts belong in the ontology lattice.value
- The token value for this FlatTokenInfiniteConcept.NameDuplicationException
- Should never be thrown.IllegalActionException
- If the base class throws it.public static FlatScalarTokenInfiniteConcept createFlatScalarTokenInfiniteConcept(Ontology ontology, FlatScalarTokenRepresentativeConcept representative, ScalarToken value) throws IllegalActionException
ontology
- The ontology to which this concept belongs.representative
- The finite concept that represents where the infinite
token concepts belong in the ontology lattice.value
- The token value for this FlatTokenInfiniteConcept.IllegalActionException
- If the base class throws it.public FlatScalarTokenRepresentativeConcept getRepresentative()
getRepresentative
in class FlatTokenInfiniteConcept
public ScalarToken getTokenValue()
getTokenValue
in class FlatTokenInfiniteConcept