public class ProductLatticeConcept extends FiniteConcept
ProductLatticeOntology
Red (cshelton) |
Red (cshelton) |
Entity.ContainedObjectsIterator
abovePort, belowPort
isAcceptable
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
ProductLatticeConcept(CompositeEntity ontology,
java.lang.String name)
Create a new product lattice concept with the specified name and the
specified product lattice ontology.
|
ProductLatticeConcept(ProductLatticeOntology ontology,
java.lang.String name,
java.util.List<Concept> conceptTuple)
Create a new product lattice concept with the specified name and the
specified product lattice ontology.
|
Modifier and Type | Method and Description |
---|---|
ColorAttribute |
getColor()
Return the color attribute associated with this ProductLatticeConcept.
|
Concept |
getComponentConceptValue(Ontology ontology)
Return the first concept that is a component of this product lattice
ontology concept tuple and belongs to the given ontology.
|
java.util.List<Concept> |
getConceptTuple()
Return the list of concepts that compose this product lattice concept.
|
Ontology |
getOntology()
Return the product lattice ontology that contains this concept.
|
java.lang.String |
toString()
Return the string that represents this concept, its name.
|
getCoverSetAbove, getCoverSetBelow, getIncomingPort, getOutgoingPort
getAssociatedObject, 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDerivedLevel, getDerivedList, propagateValue
description, getDisplayName, getFullName, getName, getName
public ProductLatticeConcept(CompositeEntity ontology, java.lang.String name) throws NameDuplicationException, IllegalActionException
ontology
- The specified product lattice 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 ProductLatticeConcept(ProductLatticeOntology ontology, java.lang.String name, java.util.List<Concept> conceptTuple) throws NameDuplicationException, IllegalActionException
ontology
- The specified product lattice ontology where this concept resides.name
- The specified name for the concept.conceptTuple
- The list of concepts that compose this product lattice concept.NameDuplicationException
- If the ontology already contains a
concept with the specified name.IllegalActionException
- If the base class throws it.public ColorAttribute getColor() throws IllegalActionException
ProductLatticeOntology.setColorOntology(Ontology)
.
The color of the concept will be derived from the color of the concept
in the tuple from the specified component color ontology.getColor
in class Concept
IllegalActionException
- Thrown if there is an error getting the
color from the component concept value.public Concept getComponentConceptValue(Ontology ontology) throws IllegalActionException
ontology
- The specified ontology from which to get the component
concept. This should be one of the component ontologies from the
product lattice ontology for this concept.IllegalActionException
- If the specified ontology is not a component
of the product lattice ontology to which this concept belongs.public java.util.List<Concept> getConceptTuple()
public Ontology getOntology()
getOntology
in class Concept
public java.lang.String toString()
toString
in class FiniteConcept