Interface Constraint

  • All Superinterfaces:
    org.eclipse.emf.cdo.CDOObject, org.eclipse.emf.cdo.common.id.CDOWithID, org.palladiosimulator.pcm.core.entity.Entity, EObject, de.uka.ipd.sdq.identifier.Identifier, org.palladiosimulator.pcm.core.entity.NamedElement, Notifier, org.palladiosimulator.pcm.PCMBaseClass, org.palladiosimulator.pcm.PCMClass
    All Known Subinterfaces:
    OCLConstraint
    All Known Implementing Classes:
    ConstraintImpl, OCLConstraintImpl

    public interface Constraint
    extends org.palladiosimulator.pcm.core.entity.Entity
    A representation of the model object 'Constraint'. AT constraints specify what software architects are forbidden to change in a software architecture. Such restrictions prescribe software architects possible design decisions, which can ensure that architectural design remains sound. AT constraints can, thus, formalize reusable architectural knowledge applied to an architectural model. These constraints can then ensure the conformance to the architectural knowledge by prohibiting design decisions that would violate conformance.

    The following features are supported:

    See Also:
    ArchitecturaltemplatesPackage.getConstraint()
    Generated class or method.
    EMF model class or method.
    abstract="true"
    • Method Detail

      • getRole

        Role getRole()
        Returns the value of the 'Role' container reference. It is bidirectional and its opposite is 'Constraints'.

        If the meaning of the 'Role' container reference isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'Role' container reference.
        See Also:
        setRole(Role), ArchitecturaltemplatesPackage.getConstraint_Role(), Role.getConstraints()
        Generated class or method.
        EMF model class or method.
        opposite="constraints" required="true" transient="false"
      • setRole

        void setRole​(Role value)
        Sets the value of the 'Role' container reference.
        Parameters:
        value - the new value of the 'Role' container reference.
        See Also:
        getRole()
        Generated class or method.
      • setExpression

        void setExpression​(String value)
        Sets the value of the 'Expression' attribute.
        Parameters:
        value - the new value of the 'Expression' attribute.
        See Also:
        getExpression()
        Generated class or method.