/** * <copyright> * </copyright> * * $Id$ */ package soamodel; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>OCL Constraint</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link soamodel.OCLConstraint#getConstraint <em>Constraint</em>}</li> * <li>{@link soamodel.OCLConstraint#getDescription <em>Description</em>}</li> * </ul> * </p> * * @see soamodel.SoamodelPackage#getOCLConstraint() * @model abstract="true" * annotation="http://www.eclipse.org/emf/2002/Ecore constraints='FilledOCLDescription'" * annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot FilledOCLDescription='self.description.size() > 0'" * @generated */ public interface OCLConstraint extends EObject { /** * Returns the value of the '<em><b>Constraint</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Constraint</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Constraint</em>' attribute. * @see #setConstraint(String) * @see soamodel.SoamodelPackage#getOCLConstraint_Constraint() * @model required="true" * @generated */ String getConstraint(); /** * Sets the value of the '{@link soamodel.OCLConstraint#getConstraint <em>Constraint</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Constraint</em>' attribute. * @see #getConstraint() * @generated */ void setConstraint(String value); /** * Returns the value of the '<em><b>Description</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Description</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Description</em>' attribute. * @see #setDescription(String) * @see soamodel.SoamodelPackage#getOCLConstraint_Description() * @model * @generated */ String getDescription(); /** * Sets the value of the '{@link soamodel.OCLConstraint#getDescription <em>Description</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Description</em>' attribute. * @see #getDescription() * @generated */ void setDescription(String value); } // OCLConstraint