public abstract class InfiniteConcept extends Concept
Since this class aims to be a general superclass of any type of infinite concept, it does not provide any implementations that may be particular to a particular style of infinite concepts, and is abstract. Subclasses are responsible for determining exactly what type of infinite concept they will support.
| Red (blickly) |
| Red (blickly) |
Entity.ContainedObjectsIteratorisAcceptable_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS| Modifier | Constructor and Description |
|---|---|
protected |
InfiniteConcept(Ontology ontology)
Create a new Infinite concept, belonging to the given
ontology, with an automatically generated name.
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
compare(Concept concept)
Compare this concept with the given concept.
|
boolean |
equals(java.lang.Object concept)
Return if this concept is equal to the given object,
which is only the case if compare returns CPO.SAME.
|
InfiniteConceptRepresentative |
getRepresentative()
Return the finite concept representative in the ontology if it exists,
or null if it does not.
|
abstract Concept |
greatestLowerBound(Concept concept)
Compute the greatest lower bound (GLB) of this and another concept.
|
abstract int |
hashCode()
Return a hash code for this Concept.
|
abstract Concept |
leastUpperBound(Concept concept)
Compute the least upper bound (LUB) of this and another concept.
|
getAssociatedObject, getColor, getOntology, getValue, getVariables, initialize, isAboveOrEqualTo, isSettable, isValueAcceptable, setValue, toString_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, workspacefinalize, getClass, notify, notifyAll, wait, wait, waitgetDerivedLevel, getDerivedList, propagateValuedescription, getDisplayName, getFullName, getName, getNameprotected InfiniteConcept(Ontology ontology) throws IllegalActionException, NameDuplicationException
ontology - The finite ontology to which this belongs.NameDuplicationException - Not thrown.IllegalActionException - If the base class throws it.public abstract int compare(Concept concept) throws IllegalActionException
concept - The concept with which we are comparing.IllegalActionException - If the specified concept
does not have the same ontology as this one.public boolean equals(java.lang.Object concept)
equals in class java.lang.Objectconcept - Object with which to compare.public InfiniteConceptRepresentative getRepresentative()
RecordConcept do not need a representative.public abstract int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public abstract Concept greatestLowerBound(Concept concept) throws java.lang.IllegalArgumentException
concept - The other conceptjava.lang.IllegalArgumentException - If concepts are not drawn from
the same ontology.public abstract Concept leastUpperBound(Concept concept) throws java.lang.IllegalArgumentException
concept - The other conceptjava.lang.IllegalArgumentException - If concepts are not drawn from
the same ontology.