001package orgrdfs.sioc.ns;
002
003import org.openimaj.rdf.owl2java.Something;
004import org.openimaj.rdf.serialize.Predicate;
005
006import org.openimaj.rdf.serialize.RDFType;
007
008import java.util.ArrayList;
009import java.util.List;
010
011/**
012  * An Item is something which can be in a Container.
013 */
014@RDFType("http://rdfs.org/sioc/ns#Item")
015public class ItemImpl extends Something implements Item
016{
017
018        /** Refers to who (e.g. a UserAccount, e-mail address, etc.) a particular
019            Item is addressed to. */
020        @Predicate("http://rdfs.org/sioc/ns#addressed_to")
021        public List<String> addressed_to = new ArrayList<String>();
022
023
024        /** The URI of a file attached to an Item. */
025        @Predicate("http://rdfs.org/sioc/ns#attachment")
026        public List<String> attachment = new ArrayList<String>();
027
028
029        /** Links to the next revision of this Item or Post. */
030        @Predicate("http://rdfs.org/sioc/ns#next_version")
031        public List<orgrdfs.sioc.ns.Item> next_version = new ArrayList<orgrdfs.sioc.ns.Item>();
032
033
034        /** Specifies that this Item is about a particular resource, e.g. a Post
035            describing a book, hotel, etc. */
036        @Predicate("http://rdfs.org/sioc/ns#about")
037        public List<String> about = new ArrayList<String>();
038
039
040        /** A UserAccount that modified this Item. */
041        @Predicate("http://rdfs.org/sioc/ns#has_modifier")
042        public List<orgrdfs.sioc.ns.UserAccount> has_modifier = new ArrayList<orgrdfs.sioc.ns.UserAccount>();
043
044
045        /** The IP address used when creating this Item. This can be associated
046            with a creator. Some wiki articles list the IP addresses for the
047            creator or modifiers when the usernames are absent. */
048        @Predicate("http://rdfs.org/sioc/ns#ip_address")
049        public List<java.lang.String> ip_address = new ArrayList<java.lang.String>();
050
051
052        /** The Container to which this Item belongs. */
053        @Predicate("http://rdfs.org/sioc/ns#has_container")
054        public List<orgrdfs.sioc.ns.Container> has_container = new ArrayList<orgrdfs.sioc.ns.Container>();
055
056
057        /** Next Item or Post in a given Container sorted by date. */
058        @Predicate("http://rdfs.org/sioc/ns#next_by_date")
059        public List<orgrdfs.sioc.ns.Item> next_by_date = new ArrayList<orgrdfs.sioc.ns.Item>();
060
061
062        /** Links to an Item or Post which this Item or Post is a reply to. */
063        @Predicate("http://rdfs.org/sioc/ns#reply_of")
064        public List<orgrdfs.sioc.ns.Item> reply_of = new ArrayList<orgrdfs.sioc.ns.Item>();
065
066
067        /** Previous Item or Post in a given Container sorted by date. */
068        @Predicate("http://rdfs.org/sioc/ns#previous_by_date")
069        public List<orgrdfs.sioc.ns.Item> previous_by_date = new ArrayList<orgrdfs.sioc.ns.Item>();
070
071
072        /** This links Items to embedded statements, facts and structured content. */
073        @Predicate("http://rdfs.org/sioc/ns#embeds_knowledge")
074        public List<org.w3._2004._03.trix.rdfg_1.Graph> embeds_knowledge = new ArrayList<org.w3._2004._03.trix.rdfg_1.Graph>();
075
076
077        /** Points to an Item or Post that is a reply or response to this Item or Post. */
078        @Predicate("http://rdfs.org/sioc/ns#has_reply")
079        public List<orgrdfs.sioc.ns.Item> has_reply = new ArrayList<orgrdfs.sioc.ns.Item>();
080
081
082        /** Links to the latest revision of this Item or Post. */
083        @Predicate("http://rdfs.org/sioc/ns#latest_version")
084        public List<orgrdfs.sioc.ns.Item> latest_version = new ArrayList<orgrdfs.sioc.ns.Item>();
085
086
087        /** The content of the Item in plain text format. */
088        @Predicate("http://rdfs.org/sioc/ns#content")
089        public List<java.lang.String> content = new ArrayList<java.lang.String>();
090
091
092        /** The discussion that is related to this Item. */
093        @Predicate("http://rdfs.org/sioc/ns#has_discussion")
094        public List<String> has_discussion = new ArrayList<String>();
095
096
097        /** Links to the previous revision of this Item or Post. */
098        @Predicate("http://rdfs.org/sioc/ns#previous_version")
099        public List<orgrdfs.sioc.ns.Item> previous_version = new ArrayList<orgrdfs.sioc.ns.Item>();
100
101
102
103        // From class this
104
105
106        @Override
107        public List<String> getAddressed_to()
108        {
109                return this.addressed_to;
110        }
111        
112        @Override
113        public void setAddressed_to( final List<String> addressed_to )
114        {
115                this.addressed_to = addressed_to;
116        }
117
118
119        // From class this
120
121
122        @Override
123        public List<String> getAttachment()
124        {
125                return this.attachment;
126        }
127        
128        @Override
129        public void setAttachment( final List<String> attachment )
130        {
131                this.attachment = attachment;
132        }
133
134
135        // From class this
136
137
138        @Override
139        public List<orgrdfs.sioc.ns.Item> getNext_version()
140        {
141                return this.next_version;
142        }
143        
144        @Override
145        public void setNext_version( final List<orgrdfs.sioc.ns.Item> next_version )
146        {
147                this.next_version = next_version;
148        }
149
150
151        // From class this
152
153
154        @Override
155        public List<String> getAbout()
156        {
157                return this.about;
158        }
159        
160        @Override
161        public void setAbout( final List<String> about )
162        {
163                this.about = about;
164        }
165
166
167        // From class this
168
169
170        @Override
171        public List<orgrdfs.sioc.ns.UserAccount> getHas_modifier()
172        {
173                return this.has_modifier;
174        }
175        
176        @Override
177        public void setHas_modifier( final List<orgrdfs.sioc.ns.UserAccount> has_modifier )
178        {
179                this.has_modifier = has_modifier;
180        }
181
182
183        // From class this
184
185
186        @Override
187        public List<java.lang.String> getIp_address()
188        {
189                return this.ip_address;
190        }
191        
192        @Override
193        public void setIp_address( final List<java.lang.String> ip_address )
194        {
195                this.ip_address = ip_address;
196        }
197
198
199        // From class this
200
201
202        @Override
203        public List<orgrdfs.sioc.ns.Container> getHas_container()
204        {
205                return this.has_container;
206        }
207        
208        @Override
209        public void setHas_container( final List<orgrdfs.sioc.ns.Container> has_container )
210        {
211                this.has_container = has_container;
212        }
213
214
215        // From class this
216
217
218        @Override
219        public List<orgrdfs.sioc.ns.Item> getNext_by_date()
220        {
221                return this.next_by_date;
222        }
223        
224        @Override
225        public void setNext_by_date( final List<orgrdfs.sioc.ns.Item> next_by_date )
226        {
227                this.next_by_date = next_by_date;
228        }
229
230
231        // From class this
232
233
234        @Override
235        public List<orgrdfs.sioc.ns.Item> getReply_of()
236        {
237                return this.reply_of;
238        }
239        
240        @Override
241        public void setReply_of( final List<orgrdfs.sioc.ns.Item> reply_of )
242        {
243                this.reply_of = reply_of;
244        }
245
246
247        // From class this
248
249
250        @Override
251        public List<orgrdfs.sioc.ns.Item> getPrevious_by_date()
252        {
253                return this.previous_by_date;
254        }
255        
256        @Override
257        public void setPrevious_by_date( final List<orgrdfs.sioc.ns.Item> previous_by_date )
258        {
259                this.previous_by_date = previous_by_date;
260        }
261
262
263        // From class this
264
265
266        @Override
267        public List<org.w3._2004._03.trix.rdfg_1.Graph> getEmbeds_knowledge()
268        {
269                return this.embeds_knowledge;
270        }
271        
272        @Override
273        public void setEmbeds_knowledge( final List<org.w3._2004._03.trix.rdfg_1.Graph> embeds_knowledge )
274        {
275                this.embeds_knowledge = embeds_knowledge;
276        }
277
278
279        // From class this
280
281
282        @Override
283        public List<orgrdfs.sioc.ns.Item> getHas_reply()
284        {
285                return this.has_reply;
286        }
287        
288        @Override
289        public void setHas_reply( final List<orgrdfs.sioc.ns.Item> has_reply )
290        {
291                this.has_reply = has_reply;
292        }
293
294
295        // From class this
296
297
298        @Override
299        public List<orgrdfs.sioc.ns.Item> getLatest_version()
300        {
301                return this.latest_version;
302        }
303        
304        @Override
305        public void setLatest_version( final List<orgrdfs.sioc.ns.Item> latest_version )
306        {
307                this.latest_version = latest_version;
308        }
309
310
311        // From class this
312
313
314        @Override
315        public List<java.lang.String> getContent()
316        {
317                return this.content;
318        }
319        
320        @Override
321        public void setContent( final List<java.lang.String> content )
322        {
323                this.content = content;
324        }
325
326
327        // From class this
328
329
330        @Override
331        public List<String> getHas_discussion()
332        {
333                return this.has_discussion;
334        }
335        
336        @Override
337        public void setHas_discussion( final List<String> has_discussion )
338        {
339                this.has_discussion = has_discussion;
340        }
341
342
343        // From class this
344
345
346        @Override
347        public List<orgrdfs.sioc.ns.Item> getPrevious_version()
348        {
349                return this.previous_version;
350        }
351        
352        @Override
353        public void setPrevious_version( final List<orgrdfs.sioc.ns.Item> previous_version )
354        {
355                this.previous_version = previous_version;
356        }
357
358}
359