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:
Generated class or method.
EMF model class or method.
abstract="true"
  • Field Summary

    Fields inherited from interface org.palladiosimulator.pcm.core.entity.Entity

    copyright
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the 'Expression' attribute.
    Returns the value of the 'Role' container reference.
    void
    Sets the value of the 'Expression' attribute.
    void
    setRole(Role value)
    Sets the value of the 'Role' container reference.

    Methods inherited from interface org.eclipse.emf.cdo.CDOObject

    cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption

    Methods inherited from interface de.uka.ipd.sdq.identifier.Identifier

    getId, setId

    Methods inherited from interface org.palladiosimulator.pcm.core.entity.NamedElement

    getEntityName, setEntityName

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver
  • Method Details

    • 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:
      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:
      Generated class or method.
    • getExpression

      String getExpression()
      Returns the value of the 'Expression' attribute.

      If the meaning of the 'Expression' attribute isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'Expression' attribute.
      See Also:
      Generated class or method.
      EMF model class or method.
      required="true"
    • setExpression

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