1 /**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7 package org.mod4j.dsl.datacontract.mm.DataContractDsl;
8
9 import org.eclipse.emf.common.util.EList;
10
11 /**
12 * <!-- begin-user-doc -->
13 * A representation of the model object '<em><b>Enumeration Dto</b></em>'.
14 * <!-- end-user-doc -->
15 *
16 * <p>
17 * The following features are supported:
18 * <ul>
19 * <li>{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.EnumerationDto#getLiterals <em>Literals</em>}</li>
20 * <li>{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.EnumerationDto#getBase <em>Base</em>}</li>
21 * <li>{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.EnumerationDto#getDatacontractModel <em>Datacontract Model</em>}</li>
22 * </ul>
23 * </p>
24 *
25 * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractDslPackage#getEnumerationDto()
26 * @model
27 * @generated
28 */
29 public interface EnumerationDto extends ModelElement {
30 /**
31 * Returns the value of the '<em><b>Literals</b></em>' containment reference list.
32 * The list contents are of type {@link org.mod4j.dsl.datacontract.mm.DataContractDsl.EnumerationDtoLiteral}.
33 * <!-- begin-user-doc -->
34 * <p>
35 * If the meaning of the '<em>Literals</em>' containment reference list isn't clear,
36 * there really should be more of a description here...
37 * </p>
38 * <!-- end-user-doc -->
39 * @return the value of the '<em>Literals</em>' containment reference list.
40 * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractDslPackage#getEnumerationDto_Literals()
41 * @model containment="true"
42 * @generated
43 */
44 EList<EnumerationDtoLiteral> getLiterals();
45
46 /**
47 * Returns the value of the '<em><b>Base</b></em>' reference.
48 * <!-- begin-user-doc -->
49 * <p>
50 * If the meaning of the '<em>Base</em>' reference isn't clear,
51 * there really should be more of a description here...
52 * </p>
53 * <!-- end-user-doc -->
54 * @return the value of the '<em>Base</em>' reference.
55 * @see #setBase(ExternalReference)
56 * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractDslPackage#getEnumerationDto_Base()
57 * @model
58 * @generated
59 */
60 ExternalReference getBase();
61
62 /**
63 * Sets the value of the '{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.EnumerationDto#getBase <em>Base</em>}' reference.
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @param value the new value of the '<em>Base</em>' reference.
67 * @see #getBase()
68 * @generated
69 */
70 void setBase(ExternalReference value);
71
72 /**
73 * Returns the value of the '<em><b>Datacontract Model</b></em>' container reference.
74 * It is bidirectional and its opposite is '{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractModel#getEnumerations <em>Enumerations</em>}'.
75 * <!-- begin-user-doc -->
76 * <p>
77 * If the meaning of the '<em>Datacontract Model</em>' container reference isn't clear,
78 * there really should be more of a description here...
79 * </p>
80 * <!-- end-user-doc -->
81 * @return the value of the '<em>Datacontract Model</em>' container reference.
82 * @see #setDatacontractModel(DataContractModel)
83 * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractDslPackage#getEnumerationDto_DatacontractModel()
84 * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractModel#getEnumerations
85 * @model opposite="enumerations" transient="false"
86 * @generated
87 */
88 DataContractModel getDatacontractModel();
89
90 /**
91 * Sets the value of the '{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.EnumerationDto#getDatacontractModel <em>Datacontract Model</em>}' container reference.
92 * <!-- begin-user-doc -->
93 * <!-- end-user-doc -->
94 * @param value the new value of the '<em>Datacontract Model</em>' container reference.
95 * @see #getDatacontractModel()
96 * @generated
97 */
98 void setDatacontractModel(DataContractModel value);
99
100 } // EnumerationDto