public class LatticeOntologyASTNodeAdapter extends LatticeOntologyAdapter
| Red (mankit) |
| Red (mankit) |
_ownConstraints, _subAdapterConstraints, _useDefaultConstraints, interconnectConstraintType_annotationEvaluator, _solver| Constructor and Description |
|---|
LatticeOntologyASTNodeAdapter(LatticeOntologySolver solver,
ASTPtRootNode node)
Construct the property constraint adapter associated
with the given AST node.
|
LatticeOntologyASTNodeAdapter(LatticeOntologySolver solver,
ASTPtRootNode node,
boolean useDefaultConstraints)
Construct the property constraint adapter for the given
property solver and AST node.
|
| Modifier and Type | Method and Description |
|---|---|
protected InequalityTerm[] |
_getChildNodeTerms()
Return an array of all the inequality terms for the
child nodes to this product node.
|
protected ASTPtRootNode |
_getNode()
Return the node this adapter references.
|
protected java.util.List<OntologyAdapter> |
_getSubAdapters()
Return the list of sub-adapters.
|
java.util.List<Inequality> |
constraintList()
Return the constraints of this component.
|
static NamedObj |
getNamedObject(Entity container,
java.lang.String name)
Returns the component referenced by the given name in the given
container.
|
java.util.List<java.lang.Object> |
getPropertyables()
Return a list of property-able NamedObj contained by
the component.
|
_addDefaultConstraints, _addSubAdapterConstraints, _annotationEvaluator, _constrainAttributes, _constrainObject, _constrainObjectLists, _constrainSingleObject, _getConstrainedPorts, _getConstraintingPorts, _setConnectionConstraintType, _union, getPropertyTerm, getSolver, isConstraintSource, reinitialize, setAtLeast, setAtMost, setSameAs_getASTNodeAdapters, _getAttributeParseTrees, _getPropertyableAttributes, _getSinkPortList, _getSourcePortList, getComponent, getContainerEntity, getName, getParseTree, putAttribute, setComponent, setEquals, toStringpublic LatticeOntologyASTNodeAdapter(LatticeOntologySolver solver, ASTPtRootNode node) throws IllegalActionException
solver - The lattice-based ontology solver for this adapternode - The given AST nodeIllegalActionException - Thrown if
LatticeOntologyASTNodeAdapter(NamedObj, ASTPtRootNode, boolean)
throws it.public LatticeOntologyASTNodeAdapter(LatticeOntologySolver solver, ASTPtRootNode node, boolean useDefaultConstraints) throws IllegalActionException
solver - The lattice-based ontology solver for this adapternode - The given AST nodeuseDefaultConstraints - Indicate whether this adapter
uses the default actor constraintsIllegalActionException - If the adapter cannot
be initialized.public java.util.List<Inequality> constraintList() throws IllegalActionException
constraintList in class LatticeOntologyAdapterIllegalActionException - Not thrown in this base class.public static NamedObj getNamedObject(Entity container, java.lang.String name)
container - The container in which to find the componentname - The name of the componentpublic java.util.List<java.lang.Object> getPropertyables()
getPropertyables in class OntologyAdapterprotected InequalityTerm[] _getChildNodeTerms()
protected ASTPtRootNode _getNode()
protected java.util.List<OntologyAdapter> _getSubAdapters()
_getSubAdapters in class LatticeOntologyAdapter