KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > dods > editor > Doml > TypeType


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

7 package org.enhydra.dods.editor.Doml;
8
9 import org.eclipse.emf.ecore.EObject;
10
11 /**
12  * <!-- begin-user-doc -->
13  * A representation of the model object '<em><b>Type Type</b></em>'.
14  * <!-- end-user-doc -->
15  *
16  * <p>
17  * The following features are supported:
18  * <ul>
19  * <li>{@link org.enhydra.dods.editor.Doml.TypeType#getCanBeNull <em>Can Be Null</em>}</li>
20  * <li>{@link org.enhydra.dods.editor.Doml.TypeType#getDbType <em>Db Type</em>}</li>
21  * <li>{@link org.enhydra.dods.editor.Doml.TypeType#getJavaType <em>Java Type</em>}</li>
22  * <li>{@link org.enhydra.dods.editor.Doml.TypeType#getSize <em>Size</em>}</li>
23  * </ul>
24  * </p>
25  *
26  * @see org.enhydra.dods.editor.Doml.DomlPackage#getTypeType()
27  * @model
28  * @generated
29  */

30 public interface TypeType extends EObject {
31     /**
32      * Returns the value of the '<em><b>Can Be Null</b></em>' attribute.
33      * The default value is <code>"false"</code>.
34      * The literals are from the enumeration {@link org.enhydra.dods.editor.Doml.TrueFalse}.
35      * <!-- begin-user-doc -->
36      * <p>
37      * If the meaning of the '<em>Can Be Null</em>' attribute isn't clear,
38      * there really should be more of a description here...
39      * </p>
40      * <!-- end-user-doc -->
41      * @return the value of the '<em>Can Be Null</em>' attribute.
42      * @see org.enhydra.dods.editor.Doml.TrueFalse
43      * @see #isSetCanBeNull()
44      * @see #unsetCanBeNull()
45      * @see #setCanBeNull(TrueFalse)
46      * @see org.enhydra.dods.editor.Doml.DomlPackage#getTypeType_CanBeNull()
47      * @model default="false" unique="false" unsettable="true"
48      * @generated
49      */

50     TrueFalse getCanBeNull();
51
52     /**
53      * Sets the value of the '{@link org.enhydra.dods.editor.Doml.TypeType#getCanBeNull <em>Can Be Null</em>}' attribute.
54      * <!-- begin-user-doc -->
55      * <!-- end-user-doc -->
56      * @param value the new value of the '<em>Can Be Null</em>' attribute.
57      * @see org.enhydra.dods.editor.Doml.TrueFalse
58      * @see #isSetCanBeNull()
59      * @see #unsetCanBeNull()
60      * @see #getCanBeNull()
61      * @generated
62      */

63     void setCanBeNull(TrueFalse value);
64
65     /**
66      * Unsets the value of the '{@link org.enhydra.dods.editor.Doml.TypeType#getCanBeNull <em>Can Be Null</em>}' attribute.
67      * <!-- begin-user-doc -->
68      * <!-- end-user-doc -->
69      * @see #isSetCanBeNull()
70      * @see #getCanBeNull()
71      * @see #setCanBeNull(TrueFalse)
72      * @generated
73      */

74     void unsetCanBeNull();
75
76     /**
77      * Returns whether the value of the '{@link org.enhydra.dods.editor.Doml.TypeType#getCanBeNull <em>Can Be Null</em>}' attribute is set.
78      * <!-- begin-user-doc -->
79      * <!-- end-user-doc -->
80      * @return whether the value of the '<em>Can Be Null</em>' attribute is set.
81      * @see #unsetCanBeNull()
82      * @see #getCanBeNull()
83      * @see #setCanBeNull(TrueFalse)
84      * @generated
85      */

86     boolean isSetCanBeNull();
87
88     /**
89      * Returns the value of the '<em><b>Db Type</b></em>' attribute.
90      * The default value is <code>"VARCHAR"</code>.
91      * The literals are from the enumeration {@link org.enhydra.dods.editor.Doml.JdbcType}.
92      * <!-- begin-user-doc -->
93      * <p>
94      * If the meaning of the '<em>Db Type</em>' attribute isn't clear,
95      * there really should be more of a description here...
96      * </p>
97      * <!-- end-user-doc -->
98      * @return the value of the '<em>Db Type</em>' attribute.
99      * @see org.enhydra.dods.editor.Doml.JdbcType
100      * @see #isSetDbType()
101      * @see #unsetDbType()
102      * @see #setDbType(JdbcType)
103      * @see org.enhydra.dods.editor.Doml.DomlPackage#getTypeType_DbType()
104      * @model default="VARCHAR" unique="false" unsettable="true"
105      * @generated
106      */

107     JdbcType getDbType();
108
109     /**
110      * Sets the value of the '{@link org.enhydra.dods.editor.Doml.TypeType#getDbType <em>Db Type</em>}' attribute.
111      * <!-- begin-user-doc -->
112      * <!-- end-user-doc -->
113      * @param value the new value of the '<em>Db Type</em>' attribute.
114      * @see org.enhydra.dods.editor.Doml.JdbcType
115      * @see #isSetDbType()
116      * @see #unsetDbType()
117      * @see #getDbType()
118      * @generated
119      */

120     void setDbType(JdbcType value);
121
122     /**
123      * Unsets the value of the '{@link org.enhydra.dods.editor.Doml.TypeType#getDbType <em>Db Type</em>}' attribute.
124      * <!-- begin-user-doc -->
125      * <!-- end-user-doc -->
126      * @see #isSetDbType()
127      * @see #getDbType()
128      * @see #setDbType(JdbcType)
129      * @generated
130      */

131     void unsetDbType();
132
133     /**
134      * Returns whether the value of the '{@link org.enhydra.dods.editor.Doml.TypeType#getDbType <em>Db Type</em>}' attribute is set.
135      * <!-- begin-user-doc -->
136      * <!-- end-user-doc -->
137      * @return whether the value of the '<em>Db Type</em>' attribute is set.
138      * @see #unsetDbType()
139      * @see #getDbType()
140      * @see #setDbType(JdbcType)
141      * @generated
142      */

143     boolean isSetDbType();
144
145     /**
146      * Returns the value of the '<em><b>Java Type</b></em>' attribute.
147      * <!-- begin-user-doc -->
148      * <p>
149      * If the meaning of the '<em>Java Type</em>' attribute isn't clear,
150      * there really should be more of a description here...
151      * </p>
152      * <!-- end-user-doc -->
153      * @return the value of the '<em>Java Type</em>' attribute.
154      * @see #setJavaType(String)
155      * @see org.enhydra.dods.editor.Doml.DomlPackage#getTypeType_JavaType()
156      * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
157      * @generated
158      */

159     String JavaDoc getJavaType();
160
161     /**
162      * Sets the value of the '{@link org.enhydra.dods.editor.Doml.TypeType#getJavaType <em>Java Type</em>}' attribute.
163      * <!-- begin-user-doc -->
164      * <!-- end-user-doc -->
165      * @param value the new value of the '<em>Java Type</em>' attribute.
166      * @see #getJavaType()
167      * @generated
168      */

169     void setJavaType(String JavaDoc value);
170
171     /**
172      * Returns the value of the '<em><b>Size</b></em>' attribute.
173      * The default value is <code>""</code>.
174      * <!-- begin-user-doc -->
175      * <p>
176      * If the meaning of the '<em>Size</em>' attribute isn't clear,
177      * there really should be more of a description here...
178      * </p>
179      * <!-- end-user-doc -->
180      * @return the value of the '<em>Size</em>' attribute.
181      * @see #isSetSize()
182      * @see #unsetSize()
183      * @see #setSize(String)
184      * @see org.enhydra.dods.editor.Doml.DomlPackage#getTypeType_Size()
185      * @model default="" unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String"
186      * @generated
187      */

188     String JavaDoc getSize();
189
190     /**
191      * Sets the value of the '{@link org.enhydra.dods.editor.Doml.TypeType#getSize <em>Size</em>}' attribute.
192      * <!-- begin-user-doc -->
193      * <!-- end-user-doc -->
194      * @param value the new value of the '<em>Size</em>' attribute.
195      * @see #isSetSize()
196      * @see #unsetSize()
197      * @see #getSize()
198      * @generated
199      */

200     void setSize(String JavaDoc value);
201
202     /**
203      * Unsets the value of the '{@link org.enhydra.dods.editor.Doml.TypeType#getSize <em>Size</em>}' attribute.
204      * <!-- begin-user-doc -->
205      * <!-- end-user-doc -->
206      * @see #isSetSize()
207      * @see #getSize()
208      * @see #setSize(String)
209      * @generated
210      */

211     void unsetSize();
212
213     /**
214      * Returns whether the value of the '{@link org.enhydra.dods.editor.Doml.TypeType#getSize <em>Size</em>}' attribute is set.
215      * <!-- begin-user-doc -->
216      * <!-- end-user-doc -->
217      * @return whether the value of the '<em>Size</em>' attribute is set.
218      * @see #unsetSize()
219      * @see #getSize()
220      * @see #setSize(String)
221      * @generated
222      */

223     boolean isSetSize();
224
225 } // TypeType
226
Popular Tags