View Javadoc

1   package org.openrdf.concepts.foaf;
2   
3   import java.lang.Object;
4   import java.util.Set;
5   import org.openrdf.elmo.annotations.disjointWith;
6   import org.openrdf.elmo.annotations.inverseOf;
7   import org.openrdf.elmo.annotations.rdf;
8   
9   /** A document. */
10  @rdf("http://xmlns.com/foaf/0.1/Document")
11  @disjointWith({Organization.class, Person.class, Project.class, Agent.class})
12  public interface Document extends FoafResource {
13  
14  
15  	/** The primary topic of some page or document. */
16  	@rdf("http://xmlns.com/foaf/0.1/primaryTopic")
17  	public abstract Object getFoafPrimaryTopic();
18  
19  	/** The primary topic of some page or document. */
20  	public abstract void setFoafPrimaryTopic(Object value);
21  
22  
23  	/** A sha1sum hash, in hex. */
24  	@rdf("http://xmlns.com/foaf/0.1/sha1")
25  	public abstract Set<Object> getFoafSha1s();
26  
27  	/** A sha1sum hash, in hex. */
28  	public abstract void setFoafSha1s(Set<?> value);
29  
30  
31  	/** A topic of some page or document. */
32  	@rdf("http://xmlns.com/foaf/0.1/topic")
33  	@inverseOf({"http://xmlns.com/foaf/0.1/page"})
34  	public abstract Set<Object> getFoafTopics();
35  
36  	/** A topic of some page or document. */
37  	public abstract void setFoafTopics(Set<?> value);
38  
39  }