Class ModelConstraints


  • public class ModelConstraints
    extends Object
    API for model constraints All methods require read action If you don't need breaking node set checkingNodeContext parameter to null

    If you need Scope use 1) getScope(SReference) or 2) getReferenceDescriptor(...).getScope() If you need reference presentation use getReferenceDescriptor(...).getText(...)

    Possible parameters for getReferenceDescriptor method: getReferenceDescriptor(reference) gets ref descriptor for existing reference getReferenceDescriptor(node, role) gets ref descriptor for reference being created at the location, role (cannot be null) should be "reference" link getReferenceDescriptor(node, role, index, smartConcept) gets ref descriptor for smartReference being created in "aggregation" role