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
- 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getExpression()
Returns the value of the 'Expression' attribute.Role
getRole()
Returns the value of the 'Role' container reference.void
setExpression(String value)
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 org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
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 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.
-
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:
setExpression(String)
,ArchitecturaltemplatesPackage.getConstraint_Expression()
- 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:
getExpression()
- Generated class or method.
-
-