public class LatticeOntologyCompositeAdapter extends LatticeOntologyAdapter
Red (mankit) |
Red (mankit) |
_ownConstraints, _subAdapterConstraints, _useDefaultConstraints, interconnectConstraintType
_annotationEvaluator, _solver
Constructor and Description |
---|
LatticeOntologyCompositeAdapter(LatticeOntologySolver solver,
CompositeEntity component)
Construct the property constraint adapter associated
with the given TypedCompositeActor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
_addDefaultConstraints(LatticeOntologySolver.ConstraintType actorConstraintType)
Add default constraints for the composite actor referred to by this
LatticeOntologyCompositeAdapter based on the given ConstraintType.
|
protected void |
_addInterConnectionConstraints()
Add all the constraints between actors inside the composite actor
referenced by this adapter.
|
protected java.util.List<OntologyAdapter> |
_getSubAdapters()
Return the list of sub-adapters.
|
java.util.List<Inequality> |
constraintList()
Return all constraints of this component.
|
_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, getPropertyables, putAttribute, setComponent, setEquals, toString
public LatticeOntologyCompositeAdapter(LatticeOntologySolver solver, CompositeEntity component) throws IllegalActionException
solver
- The lattice ontology solver used for this adapter.component
- The associated component.IllegalActionException
- If the adapter cannot be initialized.protected void _addDefaultConstraints(LatticeOntologySolver.ConstraintType actorConstraintType) throws IllegalActionException
_addDefaultConstraints
in class LatticeOntologyAdapter
actorConstraintType
- The given ConstraintType for the default constraints
for the composite actor referred to by this LatticeOntologyCompositeAdapterIllegalActionException
- If an exception is thrownLatticeOntologySolver.ConstraintType
protected java.util.List<OntologyAdapter> _getSubAdapters() throws IllegalActionException
_getSubAdapters
in class LatticeOntologyAdapter
IllegalActionException
- Thrown if there is an error
getting the adapter for any contained entities.public java.util.List<Inequality> constraintList() throws IllegalActionException
constraintList
in class LatticeOntologyAdapter
IllegalActionException
- Thrown if _addInterConnectionConstraints()
has an error or if the superclass call to constraintList() has an error.protected void _addInterConnectionConstraints() throws IllegalActionException
IllegalActionException
- Thrown if getAdapter() has an error
when it is called.