blob: ade9eab3cbb5ffa2a41baac69a106fc42c8a9dd4 [file] [log] [blame]
//------------------------------------------------------------------------------
// Copyright (c) 2005, 2006 IBM Corporation and others.
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// which accompanies this distribution, and is available at
// http://www.eclipse.org/legal/epl-v10.html
//
// Contributors:
// IBM Corporation - initial implementation
//------------------------------------------------------------------------------
package org.eclipse.epf.uma;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Constraint</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A Constraint is a Method Element that represents 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 a Method Element.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.epf.uma.Constraint#getBody <em>Body</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.epf.uma.UmaPackage#getConstraint()
* @model
* @generated
*/
public interface Constraint extends MethodElement {
/**
* Returns the value of the '<em><b>Body</b></em>' attribute.
* The default value is <code>""</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* This attribute stores the definition of the constraint.
* <!-- end-model-doc -->
* @return the value of the '<em>Body</em>' attribute.
* @see #setBody(String)
* @see org.eclipse.epf.uma.UmaPackage#getConstraint_Body()
* @model default="" dataType="org.eclipse.epf.uma.String" ordered="false"
* @generated
*/
String getBody();
/**
* Sets the value of the '{@link org.eclipse.epf.uma.Constraint#getBody <em>Body</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Body</em>' attribute.
* @see #getBody()
* @generated
*/
void setBody(String value);
} // Constraint