1 /**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7 package BusinessDomainDsl;
8
9
10 /**
11 * <!-- begin-user-doc -->
12 * A representation of the model object '<em><b>Enumeration Literal</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * <p>
16 * The following features are supported:
17 * <ul>
18 * <li>{@link BusinessDomainDsl.EnumerationLiteral#getPersistedValue <em>Persisted Value</em>}</li>
19 * <li>{@link BusinessDomainDsl.EnumerationLiteral#getEnumeration <em>Enumeration</em>}</li>
20 * </ul>
21 * </p>
22 *
23 * @see BusinessDomainDsl.BusinessDomainDslPackage#getEnumerationLiteral()
24 * @model
25 * @generated
26 */
27 public interface EnumerationLiteral extends ModelElement {
28 /**
29 * Returns the value of the '<em><b>Persisted Value</b></em>' attribute.
30 * <!-- begin-user-doc -->
31 * <p>
32 * If the meaning of the '<em>Persisted Value</em>' attribute isn't clear,
33 * there really should be more of a description here...
34 * </p>
35 * <!-- end-user-doc -->
36 * @return the value of the '<em>Persisted Value</em>' attribute.
37 * @see #setPersistedValue(int)
38 * @see BusinessDomainDsl.BusinessDomainDslPackage#getEnumerationLiteral_PersistedValue()
39 * @model
40 * @generated
41 */
42 int getPersistedValue();
43
44 /**
45 * Sets the value of the '{@link BusinessDomainDsl.EnumerationLiteral#getPersistedValue <em>Persisted Value</em>}' attribute.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @param value the new value of the '<em>Persisted Value</em>' attribute.
49 * @see #getPersistedValue()
50 * @generated
51 */
52 void setPersistedValue(int value);
53
54 /**
55 * Returns the value of the '<em><b>Enumeration</b></em>' container reference.
56 * It is bidirectional and its opposite is '{@link BusinessDomainDsl.Enumeration#getEnumerationLiterals <em>Enumeration Literals</em>}'.
57 * <!-- begin-user-doc -->
58 * <p>
59 * If the meaning of the '<em>Enumeration</em>' container reference isn't clear,
60 * there really should be more of a description here...
61 * </p>
62 * <!-- end-user-doc -->
63 * @return the value of the '<em>Enumeration</em>' container reference.
64 * @see #setEnumeration(Enumeration)
65 * @see BusinessDomainDsl.BusinessDomainDslPackage#getEnumerationLiteral_Enumeration()
66 * @see BusinessDomainDsl.Enumeration#getEnumerationLiterals
67 * @model opposite="enumerationLiterals" transient="false"
68 * @generated
69 */
70 Enumeration getEnumeration();
71
72 /**
73 * Sets the value of the '{@link BusinessDomainDsl.EnumerationLiteral#getEnumeration <em>Enumeration</em>}' container reference.
74 * <!-- begin-user-doc -->
75 * <!-- end-user-doc -->
76 * @param value the new value of the '<em>Enumeration</em>' container reference.
77 * @see #getEnumeration()
78 * @generated
79 */
80 void setEnumeration(Enumeration value);
81
82 } // EnumerationLiteral