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 Space is a place where data resides, e.g. on a website, desktop, fileshare, 013 * etc. 014 */ 015@RDFType("http://rdfs.org/sioc/ns#Space") 016public class SpaceImpl extends Something implements Space 017{ 018 019 /** A resource which belongs to this data Space. */ 020 @Predicate("http://rdfs.org/sioc/ns#space_of") 021 public List<String> space_of = new ArrayList<String>(); 022 023 024 /** Points to a Usergroup that has certain access to this Space. */ 025 @Predicate("http://rdfs.org/sioc/ns#has_usergroup") 026 public List<orgrdfs.sioc.ns.Usergroup> has_usergroup = new ArrayList<orgrdfs.sioc.ns.Usergroup>(); 027 028 029 030 // From class this 031 032 033 @Override 034 public List<String> getSpace_of() 035 { 036 return this.space_of; 037 } 038 039 @Override 040 public void setSpace_of( final List<String> space_of ) 041 { 042 this.space_of = space_of; 043 } 044 045 046 // From class this 047 048 049 @Override 050 public List<orgrdfs.sioc.ns.Usergroup> getHas_usergroup() 051 { 052 return this.has_usergroup; 053 } 054 055 @Override 056 public void setHas_usergroup( final List<orgrdfs.sioc.ns.Usergroup> has_usergroup ) 057 { 058 this.has_usergroup = has_usergroup; 059 } 060 061} 062