blob: a767c61368c7bf82b981a2867634236e3b97183d [file] [log] [blame]
/*
* Copyright (c) 2003, 2004 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 - initial API and implementation
*
* $Id: PrimitiveFunction.java,v 1.8 2005/11/29 20:09:39 khussey Exp $
*/
package org.eclipse.uml2;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Primitive Function</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* PrimitiveFunction is not an action. It is the signature of a function that produces output values from input values for use with ApplyFunctionAction. The behavior is described using the body and language attributes. The specification of the detailed behavior is expressed in an external language and is not further specified within UML.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.PrimitiveFunction#getBody <em>Body</em>}</li>
* <li>{@link org.eclipse.uml2.PrimitiveFunction#getLanguage <em>Language</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.UML2Package#getPrimitiveFunction()
* @model
* @generated
*/
public interface PrimitiveFunction extends PackageableElement{
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String copyright = "Copyright (c) IBM Corporation and others."; //$NON-NLS-1$
/**
* Returns the value of the '<em><b>Body</b></em>' attribute.
* The default value is <code>""</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Body</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A textual representation of the function in the named surface language.
* <!-- end-model-doc -->
* @return the value of the '<em>Body</em>' attribute.
* @see #setBody(String)
* @see org.eclipse.uml2.UML2Package#getPrimitiveFunction_Body()
* @model default="" dataType="org.eclipse.uml2.String"
* @generated
*/
String getBody();
/**
* Sets the value of the '{@link org.eclipse.uml2.PrimitiveFunction#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);
/**
* Returns the value of the '<em><b>Language</b></em>' attribute.
* The default value is <code>""</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Language</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Specifies the language in which the body of the primitive function is stated. The interpretation of the body depends on the language. If the language is unspecified, it might be implicit from the body or the context.
* <!-- end-model-doc -->
* @return the value of the '<em>Language</em>' attribute.
* @see #setLanguage(String)
* @see org.eclipse.uml2.UML2Package#getPrimitiveFunction_Language()
* @model default="" dataType="org.eclipse.uml2.String"
* @generated
*/
String getLanguage();
/**
* Sets the value of the '{@link org.eclipse.uml2.PrimitiveFunction#getLanguage <em>Language</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Language</em>' attribute.
* @see #getLanguage()
* @generated
*/
void setLanguage(String value);
} // PrimitiveFunction