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  * A discussion area on which Posts or entries are made.
013 */
014@RDFType("http://rdfs.org/sioc/ns#Forum")
015public class ForumImpl extends Something implements Forum
016{
017
018        /** A UserAccount that is a moderator of this Forum. */
019        @Predicate("http://rdfs.org/sioc/ns#has_moderator")
020        public List<orgrdfs.sioc.ns.UserAccount> has_moderator = new ArrayList<orgrdfs.sioc.ns.UserAccount>();
021
022
023        /** The Site that hosts this Forum. */
024        @Predicate("http://rdfs.org/sioc/ns#has_host")
025        public List<orgrdfs.sioc.ns.Site> has_host = new ArrayList<orgrdfs.sioc.ns.Site>();
026
027
028        /** The number of Threads (AKA discussion topics) in a Forum. */
029        @Predicate("http://rdfs.org/sioc/ns#num_threads")
030        public List<java.lang.Integer> num_threads = new ArrayList<java.lang.Integer>();
031
032
033        /** orgrdfs.sioc.ns.Container superclass instance */
034        private orgrdfs.sioc.ns.Container container;
035
036
037        // From class container
038
039
040        @Override
041        public List<orgrdfs.sioc.ns.UserAccount> getHas_subscriber()
042        {
043                return container.getHas_subscriber();
044        }
045        
046        @Override
047        public void setHas_subscriber( final List<orgrdfs.sioc.ns.UserAccount> has_subscriber )
048        {
049                container.setHas_subscriber( has_subscriber );
050        }
051
052
053        // From class container
054
055
056        @Override
057        public List<java.lang.Integer> getNum_items()
058        {
059                return container.getNum_items();
060        }
061        
062        @Override
063        public void setNum_items( final List<java.lang.Integer> num_items )
064        {
065                container.setNum_items( num_items );
066        }
067
068
069        // From class container
070
071
072        @Override
073        public List<orgrdfs.sioc.ns.Container> getParent_of()
074        {
075                return container.getParent_of();
076        }
077        
078        @Override
079        public void setParent_of( final List<orgrdfs.sioc.ns.Container> parent_of )
080        {
081                container.setParent_of( parent_of );
082        }
083
084
085        // From class container
086
087
088        @Override
089        public List<orgrdfs.sioc.ns.Item> getContainer_of()
090        {
091                return container.getContainer_of();
092        }
093        
094        @Override
095        public void setContainer_of( final List<orgrdfs.sioc.ns.Item> container_of )
096        {
097                container.setContainer_of( container_of );
098        }
099
100
101        // From class container
102
103
104        @Override
105        public List<java.lang.String> getLast_item_date()
106        {
107                return container.getLast_item_date();
108        }
109        
110        @Override
111        public void setLast_item_date( final List<java.lang.String> last_item_date )
112        {
113                container.setLast_item_date( last_item_date );
114        }
115
116
117        // From class this
118
119
120        @Override
121        public List<orgrdfs.sioc.ns.Site> getHas_host()
122        {
123                return this.has_host;
124        }
125        
126        @Override
127        public void setHas_host( final List<orgrdfs.sioc.ns.Site> has_host )
128        {
129                this.has_host = has_host;
130        }
131
132
133        // From class this
134
135
136        @Override
137        public List<orgrdfs.sioc.ns.UserAccount> getHas_moderator()
138        {
139                return this.has_moderator;
140        }
141        
142        @Override
143        public void setHas_moderator( final List<orgrdfs.sioc.ns.UserAccount> has_moderator )
144        {
145                this.has_moderator = has_moderator;
146        }
147
148
149        // From class container
150
151
152        @Override
153        public List<orgrdfs.sioc.ns.Container> getHas_parent()
154        {
155                return container.getHas_parent();
156        }
157        
158        @Override
159        public void setHas_parent( final List<orgrdfs.sioc.ns.Container> has_parent )
160        {
161                container.setHas_parent( has_parent );
162        }
163
164
165        // From class this
166
167
168        @Override
169        public List<java.lang.Integer> getNum_threads()
170        {
171                return this.num_threads;
172        }
173        
174        @Override
175        public void setNum_threads( final List<java.lang.Integer> num_threads )
176        {
177                this.num_threads = num_threads;
178        }
179
180}
181