org.eclipse.ocl.ecore
Interface Constraint

All Known Implementing Classes:
ConstraintImpl

public interface Constraint

A representation of the model object 'Constraint'.

The following features are supported:

See Also:
EcorePackage.getConstraint()

Method Summary
  getConstrainedElements()
          Returns the value of the 'Constrained Elements' reference list.
 ExpressionInOCL<EClassifier,EParameter> getSpecification()
          Returns the value of the 'Specification' containment reference
 java.lang.String getStereotype()
          Returns the value of the 'Stereotype' attribute
 void setSpecification(ExpressionInOCL<EClassifier,EParameter> value)
          Sets the value of the 'Specification' containment reference
 void setStereotype(java.lang.String value)
          Sets the value of the 'Stereotype' attribute
 

Method Detail

getSpecification

ExpressionInOCL<EClassifier,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()

setSpecification

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

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

getConstrainedElements

 getConstrainedElements()
Returns the value of the 'Constrained Elements' reference list. The list contents are of type org.eclipse.emf.ecore.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()

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()

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()

Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.