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 area in which content Items are contained. 013 */ 014@RDFType("http://rdfs.org/sioc/ns#Container") 015public class ContainerImpl extends Something implements Container 016{ 017 018 /** A UserAccount that is subscribed to this Container. */ 019 @Predicate("http://rdfs.org/sioc/ns#has_subscriber") 020 public List<orgrdfs.sioc.ns.UserAccount> has_subscriber = new ArrayList<orgrdfs.sioc.ns.UserAccount>(); 021 022 023 /** A child Container or Forum that this Container or Forum is a parent of. */ 024 @Predicate("http://rdfs.org/sioc/ns#parent_of") 025 public List<orgrdfs.sioc.ns.Container> parent_of = new ArrayList<orgrdfs.sioc.ns.Container>(); 026 027 028 /** The number of Posts (or Items) in a Forum (or a Container). */ 029 @Predicate("http://rdfs.org/sioc/ns#num_items") 030 public List<java.lang.Integer> num_items = new ArrayList<java.lang.Integer>(); 031 032 033 /** The date and time of the last Post (or Item) in a Forum (or a 034 Container), in ISO 8601 format. */ 035 @Predicate("http://rdfs.org/sioc/ns#last_item_date") 036 public List<java.lang.String> last_item_date = new ArrayList<java.lang.String>(); 037 038 039 /** An Item that this Container contains. */ 040 @Predicate("http://rdfs.org/sioc/ns#container_of") 041 public List<orgrdfs.sioc.ns.Item> container_of = new ArrayList<orgrdfs.sioc.ns.Item>(); 042 043 044 /** A Container or Forum that this Container or Forum is a child of. */ 045 @Predicate("http://rdfs.org/sioc/ns#has_parent") 046 public List<orgrdfs.sioc.ns.Container> has_parent = new ArrayList<orgrdfs.sioc.ns.Container>(); 047 048 049 050 // From class this 051 052 053 @Override 054 public List<orgrdfs.sioc.ns.UserAccount> getHas_subscriber() 055 { 056 return this.has_subscriber; 057 } 058 059 @Override 060 public void setHas_subscriber( final List<orgrdfs.sioc.ns.UserAccount> has_subscriber ) 061 { 062 this.has_subscriber = has_subscriber; 063 } 064 065 066 // From class this 067 068 069 @Override 070 public List<java.lang.Integer> getNum_items() 071 { 072 return this.num_items; 073 } 074 075 @Override 076 public void setNum_items( final List<java.lang.Integer> num_items ) 077 { 078 this.num_items = num_items; 079 } 080 081 082 // From class this 083 084 085 @Override 086 public List<orgrdfs.sioc.ns.Container> getParent_of() 087 { 088 return this.parent_of; 089 } 090 091 @Override 092 public void setParent_of( final List<orgrdfs.sioc.ns.Container> parent_of ) 093 { 094 this.parent_of = parent_of; 095 } 096 097 098 // From class this 099 100 101 @Override 102 public List<orgrdfs.sioc.ns.Item> getContainer_of() 103 { 104 return this.container_of; 105 } 106 107 @Override 108 public void setContainer_of( final List<orgrdfs.sioc.ns.Item> container_of ) 109 { 110 this.container_of = container_of; 111 } 112 113 114 // From class this 115 116 117 @Override 118 public List<java.lang.String> getLast_item_date() 119 { 120 return this.last_item_date; 121 } 122 123 @Override 124 public void setLast_item_date( final List<java.lang.String> last_item_date ) 125 { 126 this.last_item_date = last_item_date; 127 } 128 129 130 // From class this 131 132 133 @Override 134 public List<orgrdfs.sioc.ns.Container> getHas_parent() 135 { 136 return this.has_parent; 137 } 138 139 @Override 140 public void setHas_parent( final List<orgrdfs.sioc.ns.Container> has_parent ) 141 { 142 this.has_parent = has_parent; 143 } 144 145} 146