|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Constraint
A representation of the model object 'Constraint'. A constraint is a condition or restriction expressed in natural language text or in a machine readable language for the purpose of declaring some of the semantics of an element.
The following features are supported:
PivotPackage.getConstraint()| Method Summary | |
|---|---|
ValueSpecification |
createSpecification(org.eclipse.emf.ecore.EClass eClass)
Creates a new ValueSpecification and sets the 'Specification' containment reference. |
org.eclipse.emf.common.util.EList<Element> |
getConstrainedElement()
Returns the value of the 'Constrained Element' reference list. |
NamedElement |
getContext()
Returns the value of the 'Context' container reference. |
ValueSpecification |
getSpecification()
Returns the value of the 'Specification' containment reference. |
java.lang.String |
getStereotype()
Returns the value of the 'Stereotype' attribute. |
boolean |
isCallable()
Returns the value of the 'Is Callable' attribute. |
void |
setContext(NamedElement value)
Sets the value of the ' Context' container reference. |
void |
setIsCallable(boolean value)
Sets the value of the ' Is Callable' attribute. |
void |
setSpecification(ValueSpecification value)
Sets the value of the ' Specification' containment reference. |
void |
setStereotype(java.lang.String value)
Sets the value of the ' Stereotype' attribute. |
boolean |
validateUniqueName(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
| Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement |
|---|
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotation, getOwnedRule, isStatic, setIsStatic, setName |
| Methods inherited from interface org.eclipse.ocl.examples.pivot.Element |
|---|
allOwnedElements, createOwnedComment, getETarget, getOwnedComment, validateNotOwnSelf |
| Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable |
|---|
accept, eClass |
| 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.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
|---|
org.eclipse.emf.common.util.EList<Element> getConstrainedElement()
Element.
The ordered set of Elements referenced by this Constraint.
PivotPackage.getConstraint_ConstrainedElement()ValueSpecification getSpecification()
setSpecification(ValueSpecification),
PivotPackage.getConstraint_Specification()void setSpecification(ValueSpecification value)
Specification' containment reference.
value - the new value of the 'Specification' containment reference.getSpecification()ValueSpecification createSpecification(org.eclipse.emf.ecore.EClass eClass)
ValueSpecification and sets the 'Specification' containment reference.
eClass - The Ecore class of the ValueSpecification to create.
ValueSpecification.getSpecification()NamedElement getContext()
Owned Rule'.
If the meaning of the 'Context' reference isn't clear, there really should be more of a description here...
setContext(NamedElement),
PivotPackage.getConstraint_Context(),
NamedElement.getOwnedRule()void setContext(NamedElement value)
Context' container reference.
value - the new value of the 'Context' container reference.getContext()
boolean validateUniqueName(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
java.lang.String getStereotype()
If the meaning of the 'Stereotype' attribute isn't clear, there really should be more of a description here...
setStereotype(String),
PivotPackage.getConstraint_Stereotype()void setStereotype(java.lang.String value)
Stereotype' attribute.
value - the new value of the 'Stereotype' attribute.getStereotype()boolean isCallable()
"false".
If the meaning of the 'Is Callable' attribute isn't clear, there really should be more of a description here...
setIsCallable(boolean),
PivotPackage.getConstraint_IsCallable()void setIsCallable(boolean value)
Is Callable' attribute.
value - the new value of the 'Is Callable' attribute.isCallable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||