blob: 2dc47aa1a0eb7e413738e4d56f191629e1245bdd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
/*******************************************************************************
* Copyright (c) 2005, 2020 Borland Software Corporation, CEA LIST, ARTAL
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Borland - initial API and implementation
* Aurelien Didier (ARTAL) - aurelien.didier51@gmail.com - Bug 569174
******************************************************************************/
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.eclipse.papyrus.gmf.mappings;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Value Expression</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Expression as a textual statement which results in a value when evaluated in a context
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.gmf.mappings.ValueExpression#getBody <em>Body</em>}</li>
* <li>{@link org.eclipse.papyrus.gmf.mappings.ValueExpression#getLanguage <em>Language</em>}</li>
* <li>{@link org.eclipse.papyrus.gmf.mappings.ValueExpression#getLangName <em>Lang Name</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.papyrus.gmf.mappings.GMFMapPackage#getValueExpression()
* @model annotation="http://www.eclipse.org/gmf/2005/constraints/meta def='ValueSpec'"
* @generated
*/
public interface ValueExpression extends EObject {
/**
* Returns the value of the '<em><b>Body</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The text of the expression
* <!-- end-model-doc -->
* @return the value of the '<em>Body</em>' attribute.
* @see #setBody(String)
* @see org.eclipse.papyrus.gmf.mappings.GMFMapPackage#getValueExpression_Body()
* @model required="true"
* annotation="http://www.eclipse.org/gmf/2005/constraints/meta def='body'"
* @generated
*/
String getBody();
/**
* Sets the value of the '{@link org.eclipse.papyrus.gmf.mappings.ValueExpression#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>"ocl"</code>.
* The literals are from the enumeration {@link org.eclipse.papyrus.gmf.mappings.Language}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Specifies the language in which the expression is stated
* <!-- end-model-doc -->
* @return the value of the '<em>Language</em>' attribute.
* @see org.eclipse.papyrus.gmf.mappings.Language
* @see #setLanguage(Language)
* @see org.eclipse.papyrus.gmf.mappings.GMFMapPackage#getValueExpression_Language()
* @model default="ocl" required="true"
* @generated
*/
Language getLanguage();
/**
* Sets the value of the '{@link org.eclipse.papyrus.gmf.mappings.ValueExpression#getLanguage <em>Language</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Language</em>' attribute.
* @see org.eclipse.papyrus.gmf.mappings.Language
* @see #getLanguage()
* @generated
*/
void setLanguage(Language value);
/**
* Returns the value of the '<em><b>Lang Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Lang Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Lang Name</em>' attribute.
* @see org.eclipse.papyrus.gmf.mappings.GMFMapPackage#getValueExpression_LangName()
* @model transient="true" changeable="false" volatile="true" derived="true"
* annotation="http://www.eclipse.org/gmf/2005/constraints/meta def='lang'"
* @generated
*/
String getLangName();
} // ValueExpression
|