Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 594156192fc7c103ff8817aaafcaa5cefbd076bc (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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
/**
 * <copyright>
 * </copyright>
 *
 * $Id: Person.java,v 1.10 2010/06/03 14:06:56 mtaal Exp $
 */
package org.eclipse.emf.teneo.samples.emf.hibernate.usertype;

import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc --> A representation of the model object ' <em><b>Person</b></em>'. <!--
 * end-user-doc -->
 * 
 * <p>
 * The following features are supported:
 * <ul>
 * <li>
 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getName <em>Name</em>}</li>
 * <li>
 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getNumbers <em>Numbers</em>}</li>
 * <li>
 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getPhoneNumbers <em>Phone
 * Numbers</em>}</li>
 * <li>
 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getEmergencyContact <em>
 * Emergency Contact</em>}</li>
 * <li>
 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getAddresses <em>Addresses
 * </em>}</li>
 * <li>
 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getBirthPlace <em>Birth Place
 * </em>}</li>
 * <li>
 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getDouble <em>Double</em>}</li>
 * <li>
 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getCertificate <em>Certificate
 * </em>}</li>
 * <li>
 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getCertificates <em>
 * Certificates</em>}</li>
 * </ul>
 * </p>
 * 
 * @see org.eclipse.emf.teneo.samples.emf.hibernate.usertype.UsertypePackage#getPerson()
 * @model extendedMetaData="name='Person' kind='elementOnly'" annotation=
 *        "teneo.hibernate appinfo='@NamedQuery(name=\"getPersonByBirthPlace\" query=\"select p from Person p where p.birthPlace=?\")\n@HbEntity(dynamicInsert=true, dynamicUpdate=true, mutable=true, selectBeforeUpdate=true, persister=\"org.hibernate.persister.entity.SingleTableEntityPersister\", optimisticLock=NONE, polymorphism=EXPLICIT)'"
 * @generated
 */
public interface Person extends EObject {
	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>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>Name</em>' attribute.
	 * @see #setName(Name)
	 * @see org.eclipse.emf.teneo.samples.emf.hibernate.usertype.UsertypePackage#getPerson_Name()
	 * @model unique="false" dataType="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Name"
	 *        required="true" extendedMetaData="kind='element' name='name'"
	 * @generated
	 */
	Name getName();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getName <em>Name</em>}'
	 * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
	 * 
	 * @param value
	 *          the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(Name value);

	/**
	 * Returns the value of the '<em><b>Numbers</b></em>' attribute. <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Numbers</em>' attribute isn't clear, there really should be more of
	 * a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * 
	 * @return the value of the '<em>Numbers</em>' attribute.
	 * @see #setNumbers(int[])
	 * @see org.eclipse.emf.teneo.samples.emf.hibernate.usertype.UsertypePackage#getPerson_Numbers()
	 * @model unique="false" dataType="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.IntArray"
	 *        required="true" extendedMetaData="kind='element' name='intArray'"
	 * @generated
	 */
	int[] getNumbers();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getNumbers <em>Numbers</em>}
	 * ' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
	 * 
	 * @param value
	 *          the new value of the '<em>Numbers</em>' attribute.
	 * @see #getNumbers()
	 * @generated
	 */
	void setNumbers(int[] value);

	/**
	 * Returns the value of the '<em><b>Phone Numbers</b></em>' attribute list. The list contents are
	 * of type {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.UsaPhoneNumber} . <!--
	 * begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Phone Numbers</em>' attribute list isn't clear, there really should
	 * be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * 
	 * @return the value of the '<em>Phone Numbers</em>' attribute list.
	 * @see org.eclipse.emf.teneo.samples.emf.hibernate.usertype.UsertypePackage#getPerson_PhoneNumbers()
	 * @model dataType= "org.eclipse.emf.teneo.samples.emf.hibernate.usertype.PhoneNumber" upper="100"
	 * @generatedNOT
	 */
	@SuppressWarnings("rawtypes")
	EList getPhoneNumbers();

	/**
	 * Returns the value of the '<em><b>Emergency Contact</b></em>' attribute. The default value is
	 * <code>""</code>. <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Emergency Contact</em>' attribute isn't clear, there really should
	 * be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * 
	 * @return the value of the '<em>Emergency Contact</em>' attribute.
	 * @see #setEmergencyContact(UsaPhoneNumber)
	 * @see org.eclipse.emf.teneo.samples.emf.hibernate.usertype.UsertypePackage#getPerson_EmergencyContact()
	 * @model default="" dataType= "org.eclipse.emf.teneo.samples.emf.hibernate.usertype.PhoneNumber"
	 * @generated
	 */
	UsaPhoneNumber getEmergencyContact();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getEmergencyContact
	 * <em>Emergency Contact</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
	 * 
	 * @param value
	 *          the new value of the '<em>Emergency Contact</em>' attribute.
	 * @see #getEmergencyContact()
	 * @generated
	 */
	void setEmergencyContact(UsaPhoneNumber value);

	/**
	 * Returns the value of the '<em><b>Addresses</b></em>' reference list. The list contents are of
	 * type {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Address}. It is bidirectional
	 * and its opposite is '
	 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Address#getPerson <em>Person</em>}
	 * '. <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Addresses</em>' reference list isn't clear, there really should be
	 * more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * 
	 * @return the value of the '<em>Addresses</em>' reference list.
	 * @see org.eclipse.emf.teneo.samples.emf.hibernate.usertype.UsertypePackage#getPerson_Addresses()
	 * @see org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Address#getPerson
	 * @model type="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Address" opposite="person"
	 *        annotation=
	 *        "teneo.jpa appinfo='@OnDelete(action=OnDeleteAction.CASCADE)\n@OneToMany(indexed=false, unique=true)'"
	 * @generatedNOT
	 */
	@SuppressWarnings("rawtypes")
	EList getAddresses();

	/**
	 * Returns the value of the '<em><b>Birth Place</b></em>' attribute. <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Birth Place</em>' attribute isn't clear, there really should be more
	 * of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * 
	 * @return the value of the '<em>Birth Place</em>' attribute.
	 * @see #setBirthPlace(String)
	 * @see org.eclipse.emf.teneo.samples.emf.hibernate.usertype.UsertypePackage#getPerson_BirthPlace()
	 * @model required="true"
	 * @generated
	 */
	String getBirthPlace();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getBirthPlace
	 * <em>Birth Place</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
	 * 
	 * @param value
	 *          the new value of the '<em>Birth Place</em>' attribute.
	 * @see #getBirthPlace()
	 * @generated
	 */
	void setBirthPlace(String value);

	/**
	 * Returns the value of the '<em><b>Double</b></em>' attribute. The default value is
	 * <code>"0"</code>. <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Double</em>' attribute isn't clear, there really should be more of a
	 * description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * 
	 * @return the value of the '<em>Double</em>' attribute.
	 * @see #setDouble(Double)
	 * @see org.eclipse.emf.teneo.samples.emf.hibernate.usertype.UsertypePackage#getPerson_Double()
	 * @model default="0" unique="false" dataType=
	 *        "org.eclipse.emf.teneo.samples.emf.hibernate.usertype.myDoubleType" required="true"
	 *        extendedMetaData="kind='element' name='intArray'"
	 * @generated
	 */
	Double getDouble();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getDouble <em>Double</em>}'
	 * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
	 * 
	 * @param value
	 *          the new value of the '<em>Double</em>' attribute.
	 * @see #getDouble()
	 * @generated
	 */
	void setDouble(Double value);

/**
	 * Returns the value of the '<em><b>Certificate</b></em>' reference. <!--
	 * begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Certificate</em>' reference isn't clear, there
	 * really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * 
	 * @return the value of the '<em>Certificate</em>' reference.
	 * @see #setCertificate(Certificate)
	 * @see org.eclipse.emf.teneo.samples.emf.hibernate.usertype.UsertypePackage#getPerson_Certificate()
	 * @model annotation="teneo.jpa appinfo='@Columns(
	 *        {@Column(name=\"cert_name\"),
	 *        @Column(name=\"cert_length\")})\n\t\t\t\t\t'"
	 * @generated
	 */
	Certificate getCertificate();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Person#getCertificate
	 * <em>Certificate</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
	 * 
	 * @param value
	 *          the new value of the '<em>Certificate</em>' reference.
	 * @see #getCertificate()
	 * @generated
	 */
	void setCertificate(Certificate value);

/**
	 * Returns the value of the '<em><b>Certificates</b></em>' reference list. The
	 * list contents are of type
	 * {@link org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Certificate}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Certificates</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * 
	 * @return the value of the '<em>Certificates</em>' reference list.
	 * @see org.eclipse.emf.teneo.samples.emf.hibernate.usertype.UsertypePackage#getPerson_Certificates()
	 * @model 
	 *        type="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.Certificate"
	 *        annotation="teneo.jpa appinfo='@Columns(
	 *        {@Column(name=\"cert_name\"),
	 *        @Column(name=\"cert_length\")})\n\t\t\t\t\t'"
	 * @generatedNOT
	 */
	@SuppressWarnings("rawtypes")
	EList getCertificates();

} // Person

Back to the top