1 /**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7 package org.mod4j.dsl.datacontract.mm.DataContractDsl;
8
9
10 /**
11 * <!-- begin-user-doc -->
12 * A representation of the model object '<em><b>Dto Property</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * <p>
16 * The following features are supported:
17 * <ul>
18 * <li>{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoProperty#getDataType <em>Data Type</em>}</li>
19 * <li>{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoProperty#getBusinessClassDto <em>Business Class Dto</em>}</li>
20 * <li>{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoProperty#getCustomDto <em>Custom Dto</em>}</li>
21 * <li>{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoProperty#isMandatoryForCreation <em>Mandatory For Creation</em>}</li>
22 * <li>{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoProperty#isNullable <em>Nullable</em>}</li>
23 * <li>{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoProperty#isWritable <em>Writable</em>}</li>
24 * </ul>
25 * </p>
26 *
27 * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractDslPackage#getDtoProperty()
28 * @model
29 * @generated
30 */
31 public interface DtoProperty extends ModelElement {
32 /**
33 * Returns the value of the '<em><b>Data Type</b></em>' attribute.
34 * <!-- begin-user-doc -->
35 * <p>
36 * If the meaning of the '<em>Data Type</em>' attribute isn't clear,
37 * there really should be more of a description here...
38 * </p>
39 * <!-- end-user-doc -->
40 * @return the value of the '<em>Data Type</em>' attribute.
41 * @see #setDataType(String)
42 * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractDslPackage#getDtoProperty_DataType()
43 * @model
44 * @generated
45 */
46 String getDataType();
47
48 /**
49 * Sets the value of the '{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoProperty#getDataType <em>Data Type</em>}' attribute.
50 * <!-- begin-user-doc -->
51 * <!-- end-user-doc -->
52 * @param value the new value of the '<em>Data Type</em>' attribute.
53 * @see #getDataType()
54 * @generated
55 */
56 void setDataType(String value);
57
58 /**
59 * Returns the value of the '<em><b>Business Class Dto</b></em>' container reference.
60 * It is bidirectional and its opposite is '{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.BusinessClassDto#getProperties <em>Properties</em>}'.
61 * <!-- begin-user-doc -->
62 * <p>
63 * If the meaning of the '<em>Business Class Dto</em>' container reference isn't clear,
64 * there really should be more of a description here...
65 * </p>
66 * <!-- end-user-doc -->
67 * @return the value of the '<em>Business Class Dto</em>' container reference.
68 * @see #setBusinessClassDto(BusinessClassDto)
69 * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractDslPackage#getDtoProperty_BusinessClassDto()
70 * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.BusinessClassDto#getProperties
71 * @model opposite="properties" transient="false"
72 * @generated
73 */
74 BusinessClassDto getBusinessClassDto();
75
76 /**
77 * Sets the value of the '{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoProperty#getBusinessClassDto <em>Business Class Dto</em>}' container reference.
78 * <!-- begin-user-doc -->
79 * <!-- end-user-doc -->
80 * @param value the new value of the '<em>Business Class Dto</em>' container reference.
81 * @see #getBusinessClassDto()
82 * @generated
83 */
84 void setBusinessClassDto(BusinessClassDto value);
85
86 /**
87 * Returns the value of the '<em><b>Custom Dto</b></em>' container reference.
88 * It is bidirectional and its opposite is '{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.CustomDto#getProperties <em>Properties</em>}'.
89 * <!-- begin-user-doc -->
90 * <p>
91 * If the meaning of the '<em>Custom Dto</em>' container reference isn't clear,
92 * there really should be more of a description here...
93 * </p>
94 * <!-- end-user-doc -->
95 * @return the value of the '<em>Custom Dto</em>' container reference.
96 * @see #setCustomDto(CustomDto)
97 * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractDslPackage#getDtoProperty_CustomDto()
98 * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.CustomDto#getProperties
99 * @model opposite="properties" transient="false"
100 * @generated
101 */
102 CustomDto getCustomDto();
103
104 /**
105 * Sets the value of the '{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoProperty#getCustomDto <em>Custom Dto</em>}' container reference.
106 * <!-- begin-user-doc -->
107 * <!-- end-user-doc -->
108 * @param value the new value of the '<em>Custom Dto</em>' container reference.
109 * @see #getCustomDto()
110 * @generated
111 */
112 void setCustomDto(CustomDto value);
113
114 /**
115 * Returns the value of the '<em><b>Mandatory For Creation</b></em>' attribute.
116 * The default value is <code>"false"</code>.
117 * <!-- begin-user-doc -->
118 * <p>
119 * If the meaning of the '<em>Mandatory For Creation</em>' attribute isn't clear,
120 * there really should be more of a description here...
121 * </p>
122 * <!-- end-user-doc -->
123 * @return the value of the '<em>Mandatory For Creation</em>' attribute.
124 * @see #setMandatoryForCreation(boolean)
125 * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractDslPackage#getDtoProperty_MandatoryForCreation()
126 * @model default="false"
127 * @generated
128 */
129 boolean isMandatoryForCreation();
130
131 /**
132 * Sets the value of the '{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoProperty#isMandatoryForCreation <em>Mandatory For Creation</em>}' attribute.
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @param value the new value of the '<em>Mandatory For Creation</em>' attribute.
136 * @see #isMandatoryForCreation()
137 * @generated
138 */
139 void setMandatoryForCreation(boolean value);
140
141 /**
142 * Returns the value of the '<em><b>Nullable</b></em>' attribute.
143 * The default value is <code>"true"</code>.
144 * <!-- begin-user-doc -->
145 * <p>
146 * If the meaning of the '<em>Nullable</em>' attribute isn't clear,
147 * there really should be more of a description here...
148 * </p>
149 * <!-- end-user-doc -->
150 * @return the value of the '<em>Nullable</em>' attribute.
151 * @see #setNullable(boolean)
152 * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractDslPackage#getDtoProperty_Nullable()
153 * @model default="true"
154 * @generated
155 */
156 boolean isNullable();
157
158 /**
159 * Sets the value of the '{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoProperty#isNullable <em>Nullable</em>}' attribute.
160 * <!-- begin-user-doc -->
161 * <!-- end-user-doc -->
162 * @param value the new value of the '<em>Nullable</em>' attribute.
163 * @see #isNullable()
164 * @generated
165 */
166 void setNullable(boolean value);
167
168 /**
169 * Returns the value of the '<em><b>Writable</b></em>' attribute.
170 * The default value is <code>"true"</code>.
171 * <!-- begin-user-doc -->
172 * <p>
173 * If the meaning of the '<em>Writable</em>' attribute isn't clear,
174 * there really should be more of a description here...
175 * </p>
176 * <!-- end-user-doc -->
177 * @return the value of the '<em>Writable</em>' attribute.
178 * @see #setWritable(boolean)
179 * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractDslPackage#getDtoProperty_Writable()
180 * @model default="true"
181 * @generated
182 */
183 boolean isWritable();
184
185 /**
186 * Sets the value of the '{@link org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoProperty#isWritable <em>Writable</em>}' attribute.
187 * <!-- begin-user-doc -->
188 * <!-- end-user-doc -->
189 * @param value the new value of the '<em>Writable</em>' attribute.
190 * @see #isWritable()
191 * @generated
192 */
193 void setWritable(boolean value);
194
195 } // DtoProperty