org.eclipse.ocl.ecore
Interface Constraint

All Superinterfaces:
org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
ConstraintImpl

public interface Constraint
extends org.eclipse.emf.ecore.ENamedElement

A representation of the model object 'Constraint'.

The following features are supported:

See Also:
EcorePackage.getConstraint()
Generated
Model
annotation="http://www.eclipse.org/emf/2002/Ecore constraints='WellFormedName'"

Method Summary
 org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EModelElement> getConstrainedElements()
          Returns the value of the 'Constrained Elements' reference list.
 ExpressionInOCL<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EParameter> getSpecification()
          Returns the value of the 'Specification' containment reference.
 java.lang.String getStereotype()
          Returns the value of the 'Stereotype' attribute.
 void setSpecification(ExpressionInOCL<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EParameter> value)
          Sets the value of the 'Specification' containment reference.
 void setStereotype(java.lang.String value)
          Sets the value of the 'Stereotype' attribute.
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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

getSpecification

ExpressionInOCL<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EParameter> getSpecification()
Returns the value of the 'Specification' containment reference.

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

Returns:
the value of the 'Specification' containment reference.
See Also:
setSpecification(ExpressionInOCL), EcorePackage.getConstraint_Specification()
Generated
Model
containment="true" required="true"

setSpecification

void setSpecification(ExpressionInOCL<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EParameter> value)
Sets the value of the 'Specification' containment reference.

Parameters:
value - the new value of the 'Specification' containment reference.
See Also:
getSpecification()
Generated

getConstrainedElements

org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EModelElement> getConstrainedElements()
Returns the value of the 'Constrained Elements' reference list. The list contents are of type EModelElement.

If the meaning of the 'Constrained Elements' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Constrained Elements' reference list.
See Also:
EcorePackage.getConstraint_ConstrainedElements()
Generated
Model

getStereotype

java.lang.String getStereotype()
Returns the value of the 'Stereotype' attribute.

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

Returns:
the value of the 'Stereotype' attribute.
See Also:
setStereotype(String), EcorePackage.getConstraint_Stereotype()
Generated
Model

setStereotype

void setStereotype(java.lang.String value)
Sets the value of the 'Stereotype' attribute.

Parameters:
value - the new value of the 'Stereotype' attribute.
See Also:
getStereotype()
Generated