001package orgrdfs.sioc.ns;
002
003import java.util.ArrayList;
004import java.util.List;
005
006import org.openimaj.rdf.owl2java.Something;
007import org.openimaj.rdf.serialize.Predicate;
008import org.openimaj.rdf.serialize.RDFType;
009
010/**
011 * An article or message that can be posted to a Forum.
012 */
013@RDFType("http://rdfs.org/sioc/ns#Post")
014public class PostImpl extends Something implements Post
015{
016
017        /**
018         * Links either created explicitly or extracted implicitly on the HTML level
019         * from the Post.
020         */
021        @Predicate("http://rdfs.org/sioc/ns#reference")
022        public List<String> reference = new ArrayList<String>();
023
024        /** When this was created, in ISO 8601 format. */
025        @Predicate("http://rdfs.org/sioc/ns#created_at")
026        public List<java.lang.String> created_at = new ArrayList<java.lang.String>();
027
028        /** The content of the Post. */
029        @Predicate("http://rdfs.org/sioc/ns#description")
030        public List<java.lang.String> description = new ArrayList<java.lang.String>();
031
032        /** The encoded content of the Post, contained in CDATA areas. */
033        @Predicate("http://rdfs.org/sioc/ns#content_encoded")
034        public List<java.lang.String> content_encoded = new ArrayList<java.lang.String>();
035
036        /**
037         * This is the title (subject line) of the Post. Note that for a Post within
038         * a threaded discussion that has no parents, it would detail the topic
039         * thread.
040         */
041        @Predicate("http://rdfs.org/sioc/ns#title")
042        public List<java.lang.String> title = new ArrayList<java.lang.String>();
043
044        /** Keyword(s) describing subject of the Post. */
045        @Predicate("http://rdfs.org/sioc/ns#subject")
046        public List<java.lang.String> subject = new ArrayList<java.lang.String>();
047
048        /** When this was modified, in ISO 8601 format. */
049        @Predicate("http://rdfs.org/sioc/ns#modified_at")
050        public List<java.lang.String> modified_at = new ArrayList<java.lang.String>();
051
052        /** comxmlns.foaf._0.Document superclass instance */
053        // private comxmlns.foaf._0.Document document;
054
055        /** orgrdfs.sioc.ns.Item superclass instance */
056        private orgrdfs.sioc.ns.Item item;
057
058        // From class item
059
060        @Override
061        public List<String> getAddressed_to()
062        {
063                return item.getAddressed_to();
064        }
065
066        @Override
067        public void setAddressed_to(final List<String> addressed_to)
068        {
069                item.setAddressed_to(addressed_to);
070        }
071
072        // From class item
073
074        @Override
075        public List<String> getAttachment()
076        {
077                return item.getAttachment();
078        }
079
080        @Override
081        public void setAttachment(final List<String> attachment)
082        {
083                item.setAttachment(attachment);
084        }
085
086        // From class item
087
088        @Override
089        public List<orgrdfs.sioc.ns.Item> getNext_version()
090        {
091                return item.getNext_version();
092        }
093
094        @Override
095        public void setNext_version(final List<orgrdfs.sioc.ns.Item> next_version)
096        {
097                item.setNext_version(next_version);
098        }
099
100        // From class this
101
102        @Override
103        public List<java.lang.String> getCreated_at()
104        {
105                return this.created_at;
106        }
107
108        @Override
109        public void setCreated_at(final List<java.lang.String> created_at)
110        {
111                this.created_at = created_at;
112        }
113
114        // From class item
115
116        @Override
117        public List<String> getAbout()
118        {
119                return item.getAbout();
120        }
121
122        @Override
123        public void setAbout(final List<String> about)
124        {
125                item.setAbout(about);
126        }
127
128        // From class item
129
130        @Override
131        public List<orgrdfs.sioc.ns.UserAccount> getHas_modifier()
132        {
133                return item.getHas_modifier();
134        }
135
136        @Override
137        public void setHas_modifier(final List<orgrdfs.sioc.ns.UserAccount> has_modifier)
138        {
139                item.setHas_modifier(has_modifier);
140        }
141
142        // From class item
143
144        @Override
145        public List<java.lang.String> getIp_address()
146        {
147                return item.getIp_address();
148        }
149
150        @Override
151        public void setIp_address(final List<java.lang.String> ip_address)
152        {
153                item.setIp_address(ip_address);
154        }
155
156        // From class item
157
158        @Override
159        public List<orgrdfs.sioc.ns.Container> getHas_container()
160        {
161                return item.getHas_container();
162        }
163
164        @Override
165        public void setHas_container(final List<orgrdfs.sioc.ns.Container> has_container)
166        {
167                item.setHas_container(has_container);
168        }
169
170        // From class this
171
172        @Override
173        public List<java.lang.String> getDescription()
174        {
175                return this.description;
176        }
177
178        @Override
179        public void setDescription(final List<java.lang.String> description)
180        {
181                this.description = description;
182        }
183
184        // From class this
185
186        @Override
187        public List<java.lang.String> getContent_encoded()
188        {
189                return this.content_encoded;
190        }
191
192        @Override
193        public void setContent_encoded(final List<java.lang.String> content_encoded)
194        {
195                this.content_encoded = content_encoded;
196        }
197
198        // From class this
199
200        @Override
201        public List<java.lang.String> getTitle()
202        {
203                return this.title;
204        }
205
206        @Override
207        public void setTitle(final List<java.lang.String> title)
208        {
209                this.title = title;
210        }
211
212        // From class item
213
214        @Override
215        public List<orgrdfs.sioc.ns.Item> getNext_by_date()
216        {
217                return item.getNext_by_date();
218        }
219
220        @Override
221        public void setNext_by_date(final List<orgrdfs.sioc.ns.Item> next_by_date)
222        {
223                item.setNext_by_date(next_by_date);
224        }
225
226        // From class this
227
228        @Override
229        public List<java.lang.String> getSubject()
230        {
231                return this.subject;
232        }
233
234        @Override
235        public void setSubject(final List<java.lang.String> subject)
236        {
237                this.subject = subject;
238        }
239
240        // From class item
241
242        @Override
243        public List<orgrdfs.sioc.ns.Item> getPrevious_by_date()
244        {
245                return item.getPrevious_by_date();
246        }
247
248        @Override
249        public void setPrevious_by_date(final List<orgrdfs.sioc.ns.Item> previous_by_date)
250        {
251                item.setPrevious_by_date(previous_by_date);
252        }
253
254        // From class item
255
256        @Override
257        public List<orgrdfs.sioc.ns.Item> getReply_of()
258        {
259                return item.getReply_of();
260        }
261
262        @Override
263        public void setReply_of(final List<orgrdfs.sioc.ns.Item> reply_of)
264        {
265                item.setReply_of(reply_of);
266        }
267
268        // From class item
269
270        @Override
271        public List<orgrdfs.sioc.ns.Item> getLatest_version()
272        {
273                return item.getLatest_version();
274        }
275
276        @Override
277        public void setLatest_version(final List<orgrdfs.sioc.ns.Item> latest_version)
278        {
279                item.setLatest_version(latest_version);
280        }
281
282        // From class item
283
284        @Override
285        public List<orgrdfs.sioc.ns.Item> getHas_reply()
286        {
287                return item.getHas_reply();
288        }
289
290        @Override
291        public void setHas_reply(final List<orgrdfs.sioc.ns.Item> has_reply)
292        {
293                item.setHas_reply(has_reply);
294        }
295
296        // From class item
297
298        @Override
299        public List<org.w3._2004._03.trix.rdfg_1.Graph> getEmbeds_knowledge()
300        {
301                return item.getEmbeds_knowledge();
302        }
303
304        @Override
305        public void setEmbeds_knowledge(final List<org.w3._2004._03.trix.rdfg_1.Graph> embeds_knowledge)
306        {
307                item.setEmbeds_knowledge(embeds_knowledge);
308        }
309
310        // From class this
311
312        @Override
313        public List<String> getReference()
314        {
315                return this.reference;
316        }
317
318        @Override
319        public void setReference(final List<String> reference)
320        {
321                this.reference = reference;
322        }
323
324        // From class item
325
326        @Override
327        public List<java.lang.String> getContent()
328        {
329                return item.getContent();
330        }
331
332        @Override
333        public void setContent(final List<java.lang.String> content)
334        {
335                item.setContent(content);
336        }
337
338        // From class item
339
340        @Override
341        public List<String> getHas_discussion()
342        {
343                return item.getHas_discussion();
344        }
345
346        @Override
347        public void setHas_discussion(final List<String> has_discussion)
348        {
349                item.setHas_discussion(has_discussion);
350        }
351
352        // From class this
353
354        @Override
355        public List<java.lang.String> getModified_at()
356        {
357                return this.modified_at;
358        }
359
360        @Override
361        public void setModified_at(final List<java.lang.String> modified_at)
362        {
363                this.modified_at = modified_at;
364        }
365
366        // From class item
367
368        @Override
369        public List<orgrdfs.sioc.ns.Item> getPrevious_version()
370        {
371                return item.getPrevious_version();
372        }
373
374        @Override
375        public void setPrevious_version(final List<orgrdfs.sioc.ns.Item> previous_version)
376        {
377                item.setPrevious_version(previous_version);
378        }
379
380}