1 /*******************************************************************************
2 * Copyright (c) 2013 hangum.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the GNU Lesser Public License v2.1
5 * which accompanies this distribution, and is available at
6 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
9 * hangum - initial API and implementation
10 ******************************************************************************/
13 package com
.hangum
.tadpole
.rdb
.model
;
15 import org
.eclipse
.emf
.common
.util
.EList
;
18 * <!-- begin-user-doc -->
19 * A representation of the model object '<em><b>DB</b></em>'.
20 * <!-- end-user-doc -->
23 * The following features are supported:
26 * <li>{@link com.hangum.tadpole.rdb.model.DB#getDbType <em>Db Type</em>}</li>
27 * <li>{@link com.hangum.tadpole.rdb.model.DB#getTables <em>Tables</em>}</li>
28 * <li>{@link com.hangum.tadpole.rdb.model.DB#getKey <em>Key</em>}</li>
29 * <li>{@link com.hangum.tadpole.rdb.model.DB#getUrl <em>Url</em>}</li>
30 * <li>{@link com.hangum.tadpole.rdb.model.DB#getId <em>Id</em>}</li>
31 * <li>{@link com.hangum.tadpole.rdb.model.DB#getSid <em>Sid</em>}</li>
32 * <li>{@link com.hangum.tadpole.rdb.model.DB#getReferences <em>References</em>}</li>
33 * <li>{@link com.hangum.tadpole.rdb.model.DB#getComment <em>Comment</em>}</li>
34 * <li>{@link com.hangum.tadpole.rdb.model.DB#getDBComment <em>DB Comment</em>}</li>
35 * <li>{@link com.hangum.tadpole.rdb.model.DB#getStyledReference <em>Styled Reference</em>}</li>
38 * @see com.hangum.tadpole.rdb.model.RdbPackage#getDB()
42 public interface DB
extends ERDInfo
{
44 * Returns the value of the '<em><b>Db Type</b></em>' attribute.
45 * <!-- begin-user-doc -->
47 * If the meaning of the '<em>Db Type</em>' attribute isn't clear,
48 * there really should be more of a description here...
50 * <!-- end-user-doc -->
51 * @return the value of the '<em>Db Type</em>' attribute.
52 * @see #setDbType(String)
53 * @see com.hangum.tadpole.rdb.model.RdbPackage#getDB_DbType()
60 * Sets the value of the '{@link com.hangum.tadpole.rdb.model.DB#getDbType <em>Db Type</em>}' attribute.
61 * <!-- begin-user-doc -->
62 * <!-- end-user-doc -->
63 * @param value the new value of the '<em>Db Type</em>' attribute.
67 void setDbType(String value
);
70 * Returns the value of the '<em><b>Tables</b></em>' containment reference list.
71 * The list contents are of type {@link com.hangum.tadpole.rdb.model.Table}.
72 * It is bidirectional and its opposite is '{@link com.hangum.tadpole.rdb.model.Table#getDb <em>Db</em>}'.
73 * <!-- begin-user-doc -->
75 * If the meaning of the '<em>Tables</em>' containment reference list isn't clear,
76 * there really should be more of a description here...
78 * <!-- end-user-doc -->
79 * @return the value of the '<em>Tables</em>' containment reference list.
80 * @see com.hangum.tadpole.rdb.model.RdbPackage#getDB_Tables()
81 * @see com.hangum.tadpole.rdb.model.Table#getDb
82 * @model opposite="db" containment="true"
85 EList
<Table
> getTables();
88 * Returns the value of the '<em><b>Key</b></em>' attribute.
89 * <!-- begin-user-doc -->
91 * If the meaning of the '<em>Key</em>' attribute isn't clear,
92 * there really should be more of a description here...
94 * <!-- end-user-doc -->
95 * @return the value of the '<em>Key</em>' attribute.
96 * @see #setKey(String)
97 * @see com.hangum.tadpole.rdb.model.RdbPackage#getDB_Key()
104 * Sets the value of the '{@link com.hangum.tadpole.rdb.model.DB#getKey <em>Key</em>}' attribute.
105 * <!-- begin-user-doc -->
106 * <!-- end-user-doc -->
107 * @param value the new value of the '<em>Key</em>' attribute.
111 void setKey(String value
);
114 * Returns the value of the '<em><b>Url</b></em>' attribute.
115 * <!-- begin-user-doc -->
117 * If the meaning of the '<em>Url</em>' attribute isn't clear,
118 * there really should be more of a description here...
120 * <!-- end-user-doc -->
121 * @return the value of the '<em>Url</em>' attribute.
122 * @see #setUrl(String)
123 * @see com.hangum.tadpole.rdb.model.RdbPackage#getDB_Url()
130 * Sets the value of the '{@link com.hangum.tadpole.rdb.model.DB#getUrl <em>Url</em>}' attribute.
131 * <!-- begin-user-doc -->
132 * <!-- end-user-doc -->
133 * @param value the new value of the '<em>Url</em>' attribute.
137 void setUrl(String value
);
140 * Returns the value of the '<em><b>Id</b></em>' attribute.
141 * <!-- begin-user-doc -->
143 * If the meaning of the '<em>Id</em>' attribute isn't clear,
144 * there really should be more of a description here...
146 * <!-- end-user-doc -->
147 * @return the value of the '<em>Id</em>' attribute.
148 * @see #setId(String)
149 * @see com.hangum.tadpole.rdb.model.RdbPackage#getDB_Id()
156 * Sets the value of the '{@link com.hangum.tadpole.rdb.model.DB#getId <em>Id</em>}' attribute.
157 * <!-- begin-user-doc -->
158 * <!-- end-user-doc -->
159 * @param value the new value of the '<em>Id</em>' attribute.
163 void setId(String value
);
166 * Returns the value of the '<em><b>Sid</b></em>' attribute.
167 * <!-- begin-user-doc -->
169 * If the meaning of the '<em>Sid</em>' attribute isn't clear,
170 * there really should be more of a description here...
172 * <!-- end-user-doc -->
173 * @return the value of the '<em>Sid</em>' attribute.
174 * @see #setSid(String)
175 * @see com.hangum.tadpole.rdb.model.RdbPackage#getDB_Sid()
182 * Sets the value of the '{@link com.hangum.tadpole.rdb.model.DB#getSid <em>Sid</em>}' attribute.
183 * <!-- begin-user-doc -->
184 * <!-- end-user-doc -->
185 * @param value the new value of the '<em>Sid</em>' attribute.
189 void setSid(String value
);
192 * Returns the value of the '<em><b>References</b></em>' containment reference list.
193 * The list contents are of type {@link com.hangum.tadpole.rdb.model.Relation}.
194 * It is bidirectional and its opposite is '{@link com.hangum.tadpole.rdb.model.Relation#getDb <em>Db</em>}'.
195 * <!-- begin-user-doc -->
197 * If the meaning of the '<em>References</em>' containment reference list isn't clear,
198 * there really should be more of a description here...
200 * <!-- end-user-doc -->
201 * @return the value of the '<em>References</em>' containment reference list.
202 * @see com.hangum.tadpole.rdb.model.RdbPackage#getDB_References()
203 * @see com.hangum.tadpole.rdb.model.Relation#getDb
204 * @model opposite="db" containment="true"
207 EList
<Relation
> getReferences();
210 * Returns the value of the '<em><b>Comment</b></em>' attribute.
211 * <!-- begin-user-doc -->
213 * If the meaning of the '<em>Comment</em>' attribute isn't clear,
214 * there really should be more of a description here...
216 * <!-- end-user-doc -->
217 * @return the value of the '<em>Comment</em>' attribute.
218 * @see #setComment(String)
219 * @see com.hangum.tadpole.rdb.model.RdbPackage#getDB_Comment()
226 * Sets the value of the '{@link com.hangum.tadpole.rdb.model.DB#getComment <em>Comment</em>}' attribute.
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @param value the new value of the '<em>Comment</em>' attribute.
233 void setComment(String value
);
236 * Returns the value of the '<em><b>DB Comment</b></em>' reference.
237 * <!-- begin-user-doc -->
239 * If the meaning of the '<em>DB Comment</em>' reference isn't clear,
240 * there really should be more of a description here...
242 * <!-- end-user-doc -->
243 * @return the value of the '<em>DB Comment</em>' reference.
244 * @see #setDBComment(UserComment)
245 * @see com.hangum.tadpole.rdb.model.RdbPackage#getDB_DBComment()
249 UserComment
getDBComment();
252 * Sets the value of the '{@link com.hangum.tadpole.rdb.model.DB#getDBComment <em>DB Comment</em>}' reference.
253 * <!-- begin-user-doc -->
254 * <!-- end-user-doc -->
255 * @param value the new value of the '<em>DB Comment</em>' reference.
256 * @see #getDBComment()
259 void setDBComment(UserComment value
);
262 * Returns the value of the '<em><b>Styled Reference</b></em>' containment reference list.
263 * The list contents are of type {@link com.hangum.tadpole.rdb.model.Style}.
264 * It is bidirectional and its opposite is '{@link com.hangum.tadpole.rdb.model.Style#getDb <em>Db</em>}'.
265 * <!-- begin-user-doc -->
267 * If the meaning of the '<em>Styled Reference</em>' containment reference list isn't clear,
268 * there really should be more of a description here...
270 * <!-- end-user-doc -->
271 * @return the value of the '<em>Styled Reference</em>' containment reference list.
272 * @see com.hangum.tadpole.rdb.model.RdbPackage#getDB_StyledReference()
273 * @see com.hangum.tadpole.rdb.model.Style#getDb
274 * @model opposite="db" containment="true"
277 EList
<Style
> getStyledReference();