-
Notifications
You must be signed in to change notification settings - Fork 10
/
Resource.java
233 lines (213 loc) · 7.75 KB
/
Resource.java
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
/**
*/
package adaptorinterface;
import org.eclipse.emf.common.util.EList;
import java.net.URI;
import javax.xml.namespace.QName;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Resource</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link adaptorinterface.Resource#getId <em>Id</em>}</li>
* <li>{@link adaptorinterface.Resource#getName <em>Name</em>}</li>
* <li>{@link adaptorinterface.Resource#getTitle <em>Title</em>}</li>
* <li>{@link adaptorinterface.Resource#getDescription <em>Description</em>}</li>
* <li>{@link adaptorinterface.Resource#getDescribes <em>Describes</em>}</li>
* <li>{@link adaptorinterface.Resource#getExtends <em>Extends</em>}</li>
* <li>{@link adaptorinterface.Resource#getResourceProperties <em>Resource Properties</em>}</li>
* <li>{@link adaptorinterface.Resource#getAdditionalConstraints <em>Additional Constraints</em>}</li>
* <li>{@link adaptorinterface.Resource#getVocabularyComment <em>Vocabulary Comment</em>}</li>
* </ul>
*
* @see adaptorinterface.AdaptorinterfacePackage#getResource()
* @model
* @generated
*/
public interface Resource extends Shape {
QName deduceDescribes();
URI deduceDescribesAsUri ();
String deduceDescribesComment();
URI getResourceShapeURI();
String toString (Boolean withShapeLabel, Boolean withPrefix);
/**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Id</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(String)
* @see adaptorinterface.AdaptorinterfacePackage#getResource_Id()
* @model id="true" required="true"
* @generated
*/
String getId();
/**
* Sets the value of the '{@link adaptorinterface.Resource#getId <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @generated
*/
void setId(String value);
/**
* 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(String)
* @see adaptorinterface.AdaptorinterfacePackage#getResource_Name()
* @model
* @generated
*/
String getName();
/**
* Sets the value of the '{@link adaptorinterface.Resource#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(String value);
/**
* Returns the value of the '<em><b>Title</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Title</em>' attribute.
* @see #setTitle(String)
* @see adaptorinterface.AdaptorinterfacePackage#getResource_Title()
* @model
* @generated
*/
String getTitle();
/**
* Sets the value of the '{@link adaptorinterface.Resource#getTitle <em>Title</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Title</em>' attribute.
* @see #getTitle()
* @generated
*/
void setTitle(String value);
/**
* Returns the value of the '<em><b>Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Description</em>' attribute.
* @see #setDescription(String)
* @see adaptorinterface.AdaptorinterfacePackage#getResource_Description()
* @model
* @generated
*/
String getDescription();
/**
* Sets the value of the '{@link adaptorinterface.Resource#getDescription <em>Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Description</em>' attribute.
* @see #getDescription()
* @generated
*/
void setDescription(String value);
/**
* Returns the value of the '<em><b>Extends</b></em>' reference list.
* The list contents are of type {@link adaptorinterface.Resource}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Extends</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>Extends</em>' reference list.
* @see adaptorinterface.AdaptorinterfacePackage#getResource_Extends()
* @model
* @generated
*/
EList<Resource> getExtends();
/**
* Returns the value of the '<em><b>Resource Properties</b></em>' reference list.
* The list contents are of type {@link adaptorinterface.ResourceProperty}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Resource Properties</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>Resource Properties</em>' reference list.
* @see adaptorinterface.AdaptorinterfacePackage#getResource_ResourceProperties()
* @model
* @generated
*/
EList<ResourceProperty> getResourceProperties();
/**
* Returns the value of the '<em><b>Additional Constraints</b></em>' attribute list.
* The list contents are of type {@link java.lang.String}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Additional Constraints</em>' attribute list.
* @see adaptorinterface.AdaptorinterfacePackage#getResource_AdditionalConstraints()
* @model
* @generated
*/
EList<String> getAdditionalConstraints();
/**
* Returns the value of the '<em><b>Vocabulary Comment</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
* <!-- end-model-doc -->
* @return the value of the '<em>Vocabulary Comment</em>' attribute.
* @see #setVocabularyComment(String)
* @see adaptorinterface.AdaptorinterfacePackage#getResource_VocabularyComment()
* @model
* @generated
*/
String getVocabularyComment();
/**
* Sets the value of the '{@link adaptorinterface.Resource#getVocabularyComment <em>Vocabulary Comment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Vocabulary Comment</em>' attribute.
* @see #getVocabularyComment()
* @generated
*/
void setVocabularyComment(String value);
/**
* Returns the value of the '<em><b>Describes</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Describes</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Describes</em>' reference.
* @see #setDescribes(vocabulary.Class)
* @see adaptorinterface.AdaptorinterfacePackage#getResource_Describes()
* @model
* @generated
*/
vocabulary.Class getDescribes();
/**
* Sets the value of the '{@link adaptorinterface.Resource#getDescribes <em>Describes</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Describes</em>' reference.
* @see #getDescribes()
* @generated
*/
void setDescribes(vocabulary.Class value);
} // Resource