KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > Olj > impl > RelationColumnTypeImpl


1 /**
2  * <copyright>
3  * </copyright>
4  *
5  * $Id$
6  */

7 package Olj.impl;
8
9 import Olj.OljPackage;
10 import Olj.RelationColumnType;
11 import Olj.RelationModeType;
12
13 import org.eclipse.emf.common.notify.Notification;
14
15 import org.eclipse.emf.ecore.EClass;
16 import org.eclipse.emf.ecore.EStructuralFeature;
17
18 import org.eclipse.emf.ecore.impl.ENotificationImpl;
19 import org.eclipse.emf.ecore.impl.EObjectImpl;
20
21 /**
22  * <!-- begin-user-doc -->
23  * An implementation of the model object '<em><b>Relation Column Type</b></em>'.
24  * <!-- end-user-doc -->
25  * <p>
26  * The following features are implemented:
27  * <ul>
28  * <li>{@link Olj.impl.RelationColumnTypeImpl#getDefaultValue <em>Default Value</em>}</li>
29  * <li>{@link Olj.impl.RelationColumnTypeImpl#getRelationMode <em>Relation Mode</em>}</li>
30  * <li>{@link Olj.impl.RelationColumnTypeImpl#getRelationSourceColumnName <em>Relation Source Column Name</em>}</li>
31  * <li>{@link Olj.impl.RelationColumnTypeImpl#getRelationSourceTableID <em>Relation Source Table ID</em>}</li>
32  * <li>{@link Olj.impl.RelationColumnTypeImpl#getRelationSourceTableName <em>Relation Source Table Name</em>}</li>
33  * <li>{@link Olj.impl.RelationColumnTypeImpl#getRelationTargetColumnName <em>Relation Target Column Name</em>}</li>
34  * <li>{@link Olj.impl.RelationColumnTypeImpl#getRelationTargetTableID <em>Relation Target Table ID</em>}</li>
35  * <li>{@link Olj.impl.RelationColumnTypeImpl#getRelationTargetTableName <em>Relation Target Table Name</em>}</li>
36  * </ul>
37  * </p>
38  *
39  * @generated
40  */

41 public class RelationColumnTypeImpl extends EObjectImpl implements RelationColumnType {
42     /**
43      * The default value of the '{@link #getDefaultValue() <em>Default Value</em>}' attribute.
44      * <!-- begin-user-doc -->
45      * <!-- end-user-doc -->
46      * @see #getDefaultValue()
47      * @generated
48      * @ordered
49      */

50     protected static final String JavaDoc DEFAULT_VALUE_EDEFAULT = null;
51
52     /**
53      * The cached value of the '{@link #getDefaultValue() <em>Default Value</em>}' attribute.
54      * <!-- begin-user-doc -->
55      * <!-- end-user-doc -->
56      * @see #getDefaultValue()
57      * @generated
58      * @ordered
59      */

60     protected String JavaDoc defaultValue = DEFAULT_VALUE_EDEFAULT;
61
62     /**
63      * The default value of the '{@link #getRelationMode() <em>Relation Mode</em>}' attribute.
64      * <!-- begin-user-doc -->
65      * <!-- end-user-doc -->
66      * @see #getRelationMode()
67      * @generated
68      * @ordered
69      */

70     protected static final RelationModeType RELATION_MODE_EDEFAULT = RelationModeType.KEY_LITERAL;
71
72     /**
73      * The cached value of the '{@link #getRelationMode() <em>Relation Mode</em>}' attribute.
74      * <!-- begin-user-doc -->
75      * <!-- end-user-doc -->
76      * @see #getRelationMode()
77      * @generated
78      * @ordered
79      */

80     protected RelationModeType relationMode = RELATION_MODE_EDEFAULT;
81
82     /**
83      * This is true if the Relation Mode attribute has been set.
84      * <!-- begin-user-doc -->
85      * <!-- end-user-doc -->
86      * @generated
87      * @ordered
88      */

89     protected boolean relationModeESet = false;
90
91     /**
92      * The default value of the '{@link #getRelationSourceColumnName() <em>Relation Source Column Name</em>}' attribute.
93      * <!-- begin-user-doc -->
94      * <!-- end-user-doc -->
95      * @see #getRelationSourceColumnName()
96      * @generated
97      * @ordered
98      */

99     protected static final String JavaDoc RELATION_SOURCE_COLUMN_NAME_EDEFAULT = null;
100
101     /**
102      * The cached value of the '{@link #getRelationSourceColumnName() <em>Relation Source Column Name</em>}' attribute.
103      * <!-- begin-user-doc -->
104      * <!-- end-user-doc -->
105      * @see #getRelationSourceColumnName()
106      * @generated
107      * @ordered
108      */

109     protected String JavaDoc relationSourceColumnName = RELATION_SOURCE_COLUMN_NAME_EDEFAULT;
110
111     /**
112      * The default value of the '{@link #getRelationSourceTableID() <em>Relation Source Table ID</em>}' attribute.
113      * <!-- begin-user-doc -->
114      * <!-- end-user-doc -->
115      * @see #getRelationSourceTableID()
116      * @generated
117      * @ordered
118      */

119     protected static final String JavaDoc RELATION_SOURCE_TABLE_ID_EDEFAULT = null;
120
121     /**
122      * The cached value of the '{@link #getRelationSourceTableID() <em>Relation Source Table ID</em>}' attribute.
123      * <!-- begin-user-doc -->
124      * <!-- end-user-doc -->
125      * @see #getRelationSourceTableID()
126      * @generated
127      * @ordered
128      */

129     protected String JavaDoc relationSourceTableID = RELATION_SOURCE_TABLE_ID_EDEFAULT;
130
131     /**
132      * The default value of the '{@link #getRelationSourceTableName() <em>Relation Source Table Name</em>}' attribute.
133      * <!-- begin-user-doc -->
134      * <!-- end-user-doc -->
135      * @see #getRelationSourceTableName()
136      * @generated
137      * @ordered
138      */

139     protected static final String JavaDoc RELATION_SOURCE_TABLE_NAME_EDEFAULT = null;
140
141     /**
142      * The cached value of the '{@link #getRelationSourceTableName() <em>Relation Source Table Name</em>}' attribute.
143      * <!-- begin-user-doc -->
144      * <!-- end-user-doc -->
145      * @see #getRelationSourceTableName()
146      * @generated
147      * @ordered
148      */

149     protected String JavaDoc relationSourceTableName = RELATION_SOURCE_TABLE_NAME_EDEFAULT;
150
151     /**
152      * The default value of the '{@link #getRelationTargetColumnName() <em>Relation Target Column Name</em>}' attribute.
153      * <!-- begin-user-doc -->
154      * <!-- end-user-doc -->
155      * @see #getRelationTargetColumnName()
156      * @generated
157      * @ordered
158      */

159     protected static final String JavaDoc RELATION_TARGET_COLUMN_NAME_EDEFAULT = null;
160
161     /**
162      * The cached value of the '{@link #getRelationTargetColumnName() <em>Relation Target Column Name</em>}' attribute.
163      * <!-- begin-user-doc -->
164      * <!-- end-user-doc -->
165      * @see #getRelationTargetColumnName()
166      * @generated
167      * @ordered
168      */

169     protected String JavaDoc relationTargetColumnName = RELATION_TARGET_COLUMN_NAME_EDEFAULT;
170
171     /**
172      * The default value of the '{@link #getRelationTargetTableID() <em>Relation Target Table ID</em>}' attribute.
173      * <!-- begin-user-doc -->
174      * <!-- end-user-doc -->
175      * @see #getRelationTargetTableID()
176      * @generated
177      * @ordered
178      */

179     protected static final String JavaDoc RELATION_TARGET_TABLE_ID_EDEFAULT = null;
180
181     /**
182      * The cached value of the '{@link #getRelationTargetTableID() <em>Relation Target Table ID</em>}' attribute.
183      * <!-- begin-user-doc -->
184      * <!-- end-user-doc -->
185      * @see #getRelationTargetTableID()
186      * @generated
187      * @ordered
188      */

189     protected String JavaDoc relationTargetTableID = RELATION_TARGET_TABLE_ID_EDEFAULT;
190
191     /**
192      * The default value of the '{@link #getRelationTargetTableName() <em>Relation Target Table Name</em>}' attribute.
193      * <!-- begin-user-doc -->
194      * <!-- end-user-doc -->
195      * @see #getRelationTargetTableName()
196      * @generated
197      * @ordered
198      */

199     protected static final String JavaDoc RELATION_TARGET_TABLE_NAME_EDEFAULT = null;
200
201     /**
202      * The cached value of the '{@link #getRelationTargetTableName() <em>Relation Target Table Name</em>}' attribute.
203      * <!-- begin-user-doc -->
204      * <!-- end-user-doc -->
205      * @see #getRelationTargetTableName()
206      * @generated
207      * @ordered
208      */

209     protected String JavaDoc relationTargetTableName = RELATION_TARGET_TABLE_NAME_EDEFAULT;
210
211     /**
212      * <!-- begin-user-doc -->
213      * <!-- end-user-doc -->
214      * @generated
215      */

216     protected RelationColumnTypeImpl() {
217         super();
218     }
219
220     /**
221      * <!-- begin-user-doc -->
222      * <!-- end-user-doc -->
223      * @generated
224      */

225     protected EClass eStaticClass() {
226         return OljPackage.eINSTANCE.getRelationColumnType();
227     }
228
229     /**
230      * <!-- begin-user-doc -->
231      * <!-- end-user-doc -->
232      * @generated
233      */

234     public String JavaDoc getDefaultValue() {
235         return defaultValue;
236     }
237
238     /**
239      * <!-- begin-user-doc -->
240      * <!-- end-user-doc -->
241      * @generated
242      */

243     public void setDefaultValue(String JavaDoc newDefaultValue) {
244         String JavaDoc oldDefaultValue = defaultValue;
245         defaultValue = newDefaultValue;
246         if (eNotificationRequired())
247             eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.RELATION_COLUMN_TYPE__DEFAULT_VALUE, oldDefaultValue, defaultValue));
248     }
249
250     /**
251      * <!-- begin-user-doc -->
252      * <!-- end-user-doc -->
253      * @generated
254      */

255     public RelationModeType getRelationMode() {
256         return relationMode;
257     }
258
259     /**
260      * <!-- begin-user-doc -->
261      * <!-- end-user-doc -->
262      * @generated
263      */

264     public void setRelationMode(RelationModeType newRelationMode) {
265         RelationModeType oldRelationMode = relationMode;
266         relationMode = newRelationMode == null ? RELATION_MODE_EDEFAULT : newRelationMode;
267         boolean oldRelationModeESet = relationModeESet;
268         relationModeESet = true;
269         if (eNotificationRequired())
270             eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.RELATION_COLUMN_TYPE__RELATION_MODE, oldRelationMode, relationMode, !oldRelationModeESet));
271     }
272
273     /**
274      * <!-- begin-user-doc -->
275      * <!-- end-user-doc -->
276      * @generated
277      */

278     public void unsetRelationMode() {
279         RelationModeType oldRelationMode = relationMode;
280         boolean oldRelationModeESet = relationModeESet;
281         relationMode = RELATION_MODE_EDEFAULT;
282         relationModeESet = false;
283         if (eNotificationRequired())
284             eNotify(new ENotificationImpl(this, Notification.UNSET, OljPackage.RELATION_COLUMN_TYPE__RELATION_MODE, oldRelationMode, RELATION_MODE_EDEFAULT, oldRelationModeESet));
285     }
286
287     /**
288      * <!-- begin-user-doc -->
289      * <!-- end-user-doc -->
290      * @generated
291      */

292     public boolean isSetRelationMode() {
293         return relationModeESet;
294     }
295
296     /**
297      * <!-- begin-user-doc -->
298      * <!-- end-user-doc -->
299      * @generated
300      */

301     public String JavaDoc getRelationSourceColumnName() {
302         return relationSourceColumnName;
303     }
304
305     /**
306      * <!-- begin-user-doc -->
307      * <!-- end-user-doc -->
308      * @generated
309      */

310     public void setRelationSourceColumnName(String JavaDoc newRelationSourceColumnName) {
311         String JavaDoc oldRelationSourceColumnName = relationSourceColumnName;
312         relationSourceColumnName = newRelationSourceColumnName;
313         if (eNotificationRequired())
314             eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_COLUMN_NAME, oldRelationSourceColumnName, relationSourceColumnName));
315     }
316
317     /**
318      * <!-- begin-user-doc -->
319      * <!-- end-user-doc -->
320      * @generated
321      */

322     public String JavaDoc getRelationSourceTableID() {
323         return relationSourceTableID;
324     }
325
326     /**
327      * <!-- begin-user-doc -->
328      * <!-- end-user-doc -->
329      * @generated
330      */

331     public void setRelationSourceTableID(String JavaDoc newRelationSourceTableID) {
332         String JavaDoc oldRelationSourceTableID = relationSourceTableID;
333         relationSourceTableID = newRelationSourceTableID;
334         if (eNotificationRequired())
335             eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_TABLE_ID, oldRelationSourceTableID, relationSourceTableID));
336     }
337
338     /**
339      * <!-- begin-user-doc -->
340      * <!-- end-user-doc -->
341      * @generated
342      */

343     public String JavaDoc getRelationSourceTableName() {
344         return relationSourceTableName;
345     }
346
347     /**
348      * <!-- begin-user-doc -->
349      * <!-- end-user-doc -->
350      * @generated
351      */

352     public void setRelationSourceTableName(String JavaDoc newRelationSourceTableName) {
353         String JavaDoc oldRelationSourceTableName = relationSourceTableName;
354         relationSourceTableName = newRelationSourceTableName;
355         if (eNotificationRequired())
356             eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_TABLE_NAME, oldRelationSourceTableName, relationSourceTableName));
357     }
358
359     /**
360      * <!-- begin-user-doc -->
361      * <!-- end-user-doc -->
362      * @generated
363      */

364     public String JavaDoc getRelationTargetColumnName() {
365         return relationTargetColumnName;
366     }
367
368     /**
369      * <!-- begin-user-doc -->
370      * <!-- end-user-doc -->
371      * @generated
372      */

373     public void setRelationTargetColumnName(String JavaDoc newRelationTargetColumnName) {
374         String JavaDoc oldRelationTargetColumnName = relationTargetColumnName;
375         relationTargetColumnName = newRelationTargetColumnName;
376         if (eNotificationRequired())
377             eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_COLUMN_NAME, oldRelationTargetColumnName, relationTargetColumnName));
378     }
379
380     /**
381      * <!-- begin-user-doc -->
382      * <!-- end-user-doc -->
383      * @generated
384      */

385     public String JavaDoc getRelationTargetTableID() {
386         return relationTargetTableID;
387     }
388
389     /**
390      * <!-- begin-user-doc -->
391      * <!-- end-user-doc -->
392      * @generated
393      */

394     public void setRelationTargetTableID(String JavaDoc newRelationTargetTableID) {
395         String JavaDoc oldRelationTargetTableID = relationTargetTableID;
396         relationTargetTableID = newRelationTargetTableID;
397         if (eNotificationRequired())
398             eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_TABLE_ID, oldRelationTargetTableID, relationTargetTableID));
399     }
400
401     /**
402      * <!-- begin-user-doc -->
403      * <!-- end-user-doc -->
404      * @generated
405      */

406     public String JavaDoc getRelationTargetTableName() {
407         return relationTargetTableName;
408     }
409
410     /**
411      * <!-- begin-user-doc -->
412      * <!-- end-user-doc -->
413      * @generated
414      */

415     public void setRelationTargetTableName(String JavaDoc newRelationTargetTableName) {
416         String JavaDoc oldRelationTargetTableName = relationTargetTableName;
417         relationTargetTableName = newRelationTargetTableName;
418         if (eNotificationRequired())
419             eNotify(new ENotificationImpl(this, Notification.SET, OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_TABLE_NAME, oldRelationTargetTableName, relationTargetTableName));
420     }
421
422     /**
423      * <!-- begin-user-doc -->
424      * <!-- end-user-doc -->
425      * @generated
426      */

427     public Object JavaDoc eGet(EStructuralFeature eFeature, boolean resolve) {
428         switch (eDerivedStructuralFeatureID(eFeature)) {
429             case OljPackage.RELATION_COLUMN_TYPE__DEFAULT_VALUE:
430                 return getDefaultValue();
431             case OljPackage.RELATION_COLUMN_TYPE__RELATION_MODE:
432                 return getRelationMode();
433             case OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_COLUMN_NAME:
434                 return getRelationSourceColumnName();
435             case OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_TABLE_ID:
436                 return getRelationSourceTableID();
437             case OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_TABLE_NAME:
438                 return getRelationSourceTableName();
439             case OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_COLUMN_NAME:
440                 return getRelationTargetColumnName();
441             case OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_TABLE_ID:
442                 return getRelationTargetTableID();
443             case OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_TABLE_NAME:
444                 return getRelationTargetTableName();
445         }
446         return eDynamicGet(eFeature, resolve);
447     }
448
449     /**
450      * <!-- begin-user-doc -->
451      * <!-- end-user-doc -->
452      * @generated
453      */

454     public void eSet(EStructuralFeature eFeature, Object JavaDoc newValue) {
455         switch (eDerivedStructuralFeatureID(eFeature)) {
456             case OljPackage.RELATION_COLUMN_TYPE__DEFAULT_VALUE:
457                 setDefaultValue((String JavaDoc)newValue);
458                 return;
459             case OljPackage.RELATION_COLUMN_TYPE__RELATION_MODE:
460                 setRelationMode((RelationModeType)newValue);
461                 return;
462             case OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_COLUMN_NAME:
463                 setRelationSourceColumnName((String JavaDoc)newValue);
464                 return;
465             case OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_TABLE_ID:
466                 setRelationSourceTableID((String JavaDoc)newValue);
467                 return;
468             case OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_TABLE_NAME:
469                 setRelationSourceTableName((String JavaDoc)newValue);
470                 return;
471             case OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_COLUMN_NAME:
472                 setRelationTargetColumnName((String JavaDoc)newValue);
473                 return;
474             case OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_TABLE_ID:
475                 setRelationTargetTableID((String JavaDoc)newValue);
476                 return;
477             case OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_TABLE_NAME:
478                 setRelationTargetTableName((String JavaDoc)newValue);
479                 return;
480         }
481         eDynamicSet(eFeature, newValue);
482     }
483
484     /**
485      * <!-- begin-user-doc -->
486      * <!-- end-user-doc -->
487      * @generated
488      */

489     public void eUnset(EStructuralFeature eFeature) {
490         switch (eDerivedStructuralFeatureID(eFeature)) {
491             case OljPackage.RELATION_COLUMN_TYPE__DEFAULT_VALUE:
492                 setDefaultValue(DEFAULT_VALUE_EDEFAULT);
493                 return;
494             case OljPackage.RELATION_COLUMN_TYPE__RELATION_MODE:
495                 unsetRelationMode();
496                 return;
497             case OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_COLUMN_NAME:
498                 setRelationSourceColumnName(RELATION_SOURCE_COLUMN_NAME_EDEFAULT);
499                 return;
500             case OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_TABLE_ID:
501                 setRelationSourceTableID(RELATION_SOURCE_TABLE_ID_EDEFAULT);
502                 return;
503             case OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_TABLE_NAME:
504                 setRelationSourceTableName(RELATION_SOURCE_TABLE_NAME_EDEFAULT);
505                 return;
506             case OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_COLUMN_NAME:
507                 setRelationTargetColumnName(RELATION_TARGET_COLUMN_NAME_EDEFAULT);
508                 return;
509             case OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_TABLE_ID:
510                 setRelationTargetTableID(RELATION_TARGET_TABLE_ID_EDEFAULT);
511                 return;
512             case OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_TABLE_NAME:
513                 setRelationTargetTableName(RELATION_TARGET_TABLE_NAME_EDEFAULT);
514                 return;
515         }
516         eDynamicUnset(eFeature);
517     }
518
519     /**
520      * <!-- begin-user-doc -->
521      * <!-- end-user-doc -->
522      * @generated
523      */

524     public boolean eIsSet(EStructuralFeature eFeature) {
525         switch (eDerivedStructuralFeatureID(eFeature)) {
526             case OljPackage.RELATION_COLUMN_TYPE__DEFAULT_VALUE:
527                 return DEFAULT_VALUE_EDEFAULT == null ? defaultValue != null : !DEFAULT_VALUE_EDEFAULT.equals(defaultValue);
528             case OljPackage.RELATION_COLUMN_TYPE__RELATION_MODE:
529                 return isSetRelationMode();
530             case OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_COLUMN_NAME:
531                 return RELATION_SOURCE_COLUMN_NAME_EDEFAULT == null ? relationSourceColumnName != null : !RELATION_SOURCE_COLUMN_NAME_EDEFAULT.equals(relationSourceColumnName);
532             case OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_TABLE_ID:
533                 return RELATION_SOURCE_TABLE_ID_EDEFAULT == null ? relationSourceTableID != null : !RELATION_SOURCE_TABLE_ID_EDEFAULT.equals(relationSourceTableID);
534             case OljPackage.RELATION_COLUMN_TYPE__RELATION_SOURCE_TABLE_NAME:
535                 return RELATION_SOURCE_TABLE_NAME_EDEFAULT == null ? relationSourceTableName != null : !RELATION_SOURCE_TABLE_NAME_EDEFAULT.equals(relationSourceTableName);
536             case OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_COLUMN_NAME:
537                 return RELATION_TARGET_COLUMN_NAME_EDEFAULT == null ? relationTargetColumnName != null : !RELATION_TARGET_COLUMN_NAME_EDEFAULT.equals(relationTargetColumnName);
538             case OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_TABLE_ID:
539                 return RELATION_TARGET_TABLE_ID_EDEFAULT == null ? relationTargetTableID != null : !RELATION_TARGET_TABLE_ID_EDEFAULT.equals(relationTargetTableID);
540             case OljPackage.RELATION_COLUMN_TYPE__RELATION_TARGET_TABLE_NAME:
541                 return RELATION_TARGET_TABLE_NAME_EDEFAULT == null ? relationTargetTableName != null : !RELATION_TARGET_TABLE_NAME_EDEFAULT.equals(relationTargetTableName);
542         }
543         return eDynamicIsSet(eFeature);
544     }
545
546     /**
547      * <!-- begin-user-doc -->
548      * <!-- end-user-doc -->
549      * @generated
550      */

551     public String JavaDoc toString() {
552         if (eIsProxy()) return super.toString();
553
554         StringBuffer JavaDoc result = new StringBuffer JavaDoc(super.toString());
555         result.append(" (defaultValue: ");
556         result.append(defaultValue);
557         result.append(", relationMode: ");
558         if (relationModeESet) result.append(relationMode); else result.append("<unset>");
559         result.append(", relationSourceColumnName: ");
560         result.append(relationSourceColumnName);
561         result.append(", relationSourceTableID: ");
562         result.append(relationSourceTableID);
563         result.append(", relationSourceTableName: ");
564         result.append(relationSourceTableName);
565         result.append(", relationTargetColumnName: ");
566         result.append(relationTargetColumnName);
567         result.append(", relationTargetTableID: ");
568         result.append(relationTargetTableID);
569         result.append(", relationTargetTableName: ");
570         result.append(relationTargetTableName);
571         result.append(')');
572         return result.toString();
573     }
574
575 } //RelationColumnTypeImpl
576
Popular Tags