001    /***************************************************************************/
002    /*  Copyright (C) 2010-2011, Sebastian Hellmann                            */
003    /*  Note: If you need parts of NLP2RDF in another licence due to licence   */
004    /*  incompatibility, please mail hellmann@informatik.uni-leipzig.de        */
005    /*                                                                         */
006    /*  This file is part of NLP2RDF.                                          */
007    /*                                                                         */
008    /*  NLP2RDF is free software; you can redistribute it and/or modify        */
009    /*  it under the terms of the GNU General Public License as published by   */
010    /*  the Free Software Foundation; either version 3 of the License, or      */
011    /*  (at your option) any later version.                                    */
012    /*                                                                         */
013    /*  NLP2RDF is distributed in the hope that it will be useful,             */
014    /*  but WITHOUT ANY WARRANTY; without even the implied warranty of         */
015    /*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the           */
016    /*  GNU General Public License for more details.                           */
017    /*                                                                         */
018    /*  You should have received a copy of the GNU General Public License      */
019    /*  along with this program. If not, see <http://www.gnu.org/licenses/>.   */
020    /***************************************************************************/
021    
022    package eu.lod2.nlp2rdf.schema.sso;
023    
024    import java.util.List;
025    import java.util.Iterator;
026    
027    import com.hp.hpl.jena.ontology.Individual;
028    
029    /**
030     * Interface http://nlp2rdf.lod2.eu/schema/sso/Sentence
031     */
032    
033    public interface ISentence extends Individual, eu.lod2.nlp2rdf.schema.str.IString {
034    
035            /**
036             * Domain property PreviousSentence
037             * with uri http://nlp2rdf.lod2.eu/schema/sso/previousSentence
038             */
039    
040            public boolean existsPreviousSentence();
041    
042            public boolean hasPreviousSentence(eu.lod2.nlp2rdf.schema.sso.ISentence sentenceValue);
043    
044            public eu.lod2.nlp2rdf.schema.sso.Sentence getPreviousSentence();
045    
046            public void setPreviousSentence(eu.lod2.nlp2rdf.schema.sso.ISentence sentenceValue);
047    
048            public void removePreviousSentence();
049    
050            /**
051             * Domain property NextSentence
052             * with uri http://nlp2rdf.lod2.eu/schema/sso/nextSentence
053             */
054    
055            public boolean existsNextSentence();
056    
057            public boolean hasNextSentence(eu.lod2.nlp2rdf.schema.sso.ISentence sentenceValue);
058    
059            public eu.lod2.nlp2rdf.schema.sso.Sentence getNextSentence();
060    
061            public void setNextSentence(eu.lod2.nlp2rdf.schema.sso.ISentence sentenceValue);
062    
063            public void removeNextSentence();
064    
065            /**
066             * Domain property Word
067             * with uri http://nlp2rdf.lod2.eu/schema/sso/word
068             */
069    
070            public boolean existsWord();
071    
072            public boolean hasWord(eu.lod2.nlp2rdf.schema.sso.IWord wordValue);
073    
074            public int countWord();
075    
076            public Iterator<eu.lod2.nlp2rdf.schema.sso.Word> iterateWord();
077    
078            public List<eu.lod2.nlp2rdf.schema.sso.Word> listWord();
079    
080            public void addWord(eu.lod2.nlp2rdf.schema.sso.IWord wordValue);
081    
082            public void addAllWord(List<? extends eu.lod2.nlp2rdf.schema.sso.IWord> wordList);
083    
084            public void removeWord(eu.lod2.nlp2rdf.schema.sso.IWord wordValue);
085    
086            public void removeAllWord();
087    
088            /**
089             * Domain property FirstWord
090             * with uri http://nlp2rdf.lod2.eu/schema/sso/firstWord
091             */
092    
093            public boolean existsFirstWord();
094    
095            public boolean hasFirstWord(eu.lod2.nlp2rdf.schema.sso.IWord wordValue);
096    
097            public eu.lod2.nlp2rdf.schema.sso.Word getFirstWord();
098    
099            public void setFirstWord(eu.lod2.nlp2rdf.schema.sso.IWord wordValue);
100    
101            public void removeFirstWord();
102    
103            /**
104             * Domain property LastWord
105             * with uri http://nlp2rdf.lod2.eu/schema/sso/lastWord
106             */
107    
108            public boolean existsLastWord();
109    
110            public boolean hasLastWord(eu.lod2.nlp2rdf.schema.sso.IWord wordValue);
111    
112            public eu.lod2.nlp2rdf.schema.sso.Word getLastWord();
113    
114            public void setLastWord(eu.lod2.nlp2rdf.schema.sso.IWord wordValue);
115    
116            public void removeLastWord();
117    
118            /**
119             * Domain property PreviousSentenceTrans
120             * with uri http://nlp2rdf.lod2.eu/schema/sso/previousSentenceTrans
121             */
122    
123            public boolean existsPreviousSentenceTrans();
124    
125            public boolean hasPreviousSentenceTrans(eu.lod2.nlp2rdf.schema.sso.ISentence sentenceValue);
126    
127            public int countPreviousSentenceTrans();
128    
129            public Iterator<eu.lod2.nlp2rdf.schema.sso.Sentence> iteratePreviousSentenceTrans();
130    
131            public List<eu.lod2.nlp2rdf.schema.sso.Sentence> listPreviousSentenceTrans();
132    
133            public void addPreviousSentenceTrans(eu.lod2.nlp2rdf.schema.sso.ISentence sentenceValue);
134    
135            public void addAllPreviousSentenceTrans(List<? extends eu.lod2.nlp2rdf.schema.sso.ISentence> sentenceList);
136    
137            public void removePreviousSentenceTrans(eu.lod2.nlp2rdf.schema.sso.ISentence sentenceValue);
138    
139            public void removeAllPreviousSentenceTrans();
140    
141            /**
142             * Domain property SuperString
143             * with uri http://nlp2rdf.lod2.eu/schema/string/superString
144             */
145    
146            public boolean existsSuperString();
147    
148            public boolean hasSuperString(eu.lod2.nlp2rdf.schema.str.IString stringValue);
149    
150            public int countSuperString();
151    
152            public Iterator<eu.lod2.nlp2rdf.schema.str.String> iterateSuperString();
153    
154            public List<eu.lod2.nlp2rdf.schema.str.String> listSuperString();
155    
156            public void addSuperString(eu.lod2.nlp2rdf.schema.str.IString stringValue);
157    
158            public void addAllSuperString(List<? extends eu.lod2.nlp2rdf.schema.str.IString> stringList);
159    
160            public void removeSuperString(eu.lod2.nlp2rdf.schema.str.IString stringValue);
161    
162            public void removeAllSuperString();
163    
164            /**
165             * Domain property SubString
166             * with uri http://nlp2rdf.lod2.eu/schema/string/subString
167             */
168    
169            public boolean existsSubString();
170    
171            public boolean hasSubString(eu.lod2.nlp2rdf.schema.str.IString stringValue);
172    
173            public int countSubString();
174    
175            public Iterator<eu.lod2.nlp2rdf.schema.str.String> iterateSubString();
176    
177            public List<eu.lod2.nlp2rdf.schema.str.String> listSubString();
178    
179            public void addSubString(eu.lod2.nlp2rdf.schema.str.IString stringValue);
180    
181            public void addAllSubString(List<? extends eu.lod2.nlp2rdf.schema.str.IString> stringList);
182    
183            public void removeSubString(eu.lod2.nlp2rdf.schema.str.IString stringValue);
184    
185            public void removeAllSubString();
186    
187            /**
188             * Domain property SuperStringTrans
189             * with uri http://nlp2rdf.lod2.eu/schema/string/superStringTrans
190             */
191    
192            public boolean existsSuperStringTrans();
193    
194            public boolean hasSuperStringTrans(eu.lod2.nlp2rdf.schema.str.IString stringValue);
195    
196            public int countSuperStringTrans();
197    
198            public Iterator<eu.lod2.nlp2rdf.schema.str.String> iterateSuperStringTrans();
199    
200            public List<eu.lod2.nlp2rdf.schema.str.String> listSuperStringTrans();
201    
202            public void addSuperStringTrans(eu.lod2.nlp2rdf.schema.str.IString stringValue);
203    
204            public void addAllSuperStringTrans(List<? extends eu.lod2.nlp2rdf.schema.str.IString> stringList);
205    
206            public void removeSuperStringTrans(eu.lod2.nlp2rdf.schema.str.IString stringValue);
207    
208            public void removeAllSuperStringTrans();
209    
210            /**
211             * Domain property SubStringTrans
212             * with uri http://nlp2rdf.lod2.eu/schema/string/subStringTrans
213             */
214    
215            public boolean existsSubStringTrans();
216    
217            public boolean hasSubStringTrans(eu.lod2.nlp2rdf.schema.str.IString stringValue);
218    
219            public int countSubStringTrans();
220    
221            public Iterator<eu.lod2.nlp2rdf.schema.str.String> iterateSubStringTrans();
222    
223            public List<eu.lod2.nlp2rdf.schema.str.String> listSubStringTrans();
224    
225            public void addSubStringTrans(eu.lod2.nlp2rdf.schema.str.IString stringValue);
226    
227            public void addAllSubStringTrans(List<? extends eu.lod2.nlp2rdf.schema.str.IString> stringList);
228    
229            public void removeSubStringTrans(eu.lod2.nlp2rdf.schema.str.IString stringValue);
230    
231            public void removeAllSubStringTrans();
232    
233            /**
234             * Domain property AnchorOf
235             * with uri http://nlp2rdf.lod2.eu/schema/string/anchorOf
236             */
237    
238            public boolean existsAnchorOf();
239    
240            public boolean hasAnchorOf(java.lang.String stringValue);
241    
242            public java.lang.String getAnchorOf();
243    
244            public void setAnchorOf(java.lang.String stringValue);
245    
246            public void removeAnchorOf();
247    
248            /**
249             * Domain property EndIndex
250             * with uri http://nlp2rdf.lod2.eu/schema/string/endIndex
251             */
252    
253            public boolean existsEndIndex();
254    
255            public boolean hasEndIndex(java.lang.String stringValue);
256    
257            public int countEndIndex();
258    
259            public Iterator<java.lang.String> iterateEndIndex();
260    
261            public List<java.lang.String> listEndIndex();
262    
263            public void addEndIndex(java.lang.String stringValue);
264    
265            public void addAllEndIndex(List<java.lang.String> stringList);
266    
267            public void removeEndIndex(java.lang.String stringValue);
268    
269            public void removeAllEndIndex();
270    
271            /**
272             * Domain property BeginIndex
273             * with uri http://nlp2rdf.lod2.eu/schema/string/beginIndex
274             */
275    
276            public boolean existsBeginIndex();
277    
278            public boolean hasBeginIndex(java.lang.String stringValue);
279    
280            public int countBeginIndex();
281    
282            public Iterator<java.lang.String> iterateBeginIndex();
283    
284            public List<java.lang.String> listBeginIndex();
285    
286            public void addBeginIndex(java.lang.String stringValue);
287    
288            public void addAllBeginIndex(List<java.lang.String> stringList);
289    
290            public void removeBeginIndex(java.lang.String stringValue);
291    
292            public void removeAllBeginIndex();
293    
294            /**
295             * Domain property RightContext
296             * with uri http://nlp2rdf.lod2.eu/schema/string/rightContext
297             */
298    
299            public boolean existsRightContext();
300    
301            public boolean hasRightContext(java.lang.String stringValue);
302    
303            public int countRightContext();
304    
305            public Iterator<java.lang.String> iterateRightContext();
306    
307            public List<java.lang.String> listRightContext();
308    
309            public void addRightContext(java.lang.String stringValue);
310    
311            public void addAllRightContext(List<java.lang.String> stringList);
312    
313            public void removeRightContext(java.lang.String stringValue);
314    
315            public void removeAllRightContext();
316    
317            /**
318             * Domain property LeftContext
319             * with uri http://nlp2rdf.lod2.eu/schema/string/leftContext
320             */
321    
322            public boolean existsLeftContext();
323    
324            public boolean hasLeftContext(java.lang.String stringValue);
325    
326            public int countLeftContext();
327    
328            public Iterator<java.lang.String> iterateLeftContext();
329    
330            public List<java.lang.String> listLeftContext();
331    
332            public void addLeftContext(java.lang.String stringValue);
333    
334            public void addAllLeftContext(List<java.lang.String> stringList);
335    
336            public void removeLeftContext(java.lang.String stringValue);
337    
338            public void removeAllLeftContext();
339    
340    }