org.openrdf.concepts.voc
Interface VocResource

All Superinterfaces:
Entity, Resource
All Known Subinterfaces:
Deprecated, Term, Vocabulary

public interface VocResource
extends Resource


Method Summary
 Set<Vocabulary> getVocVocabularies()
          Relates a vocabulary to a resource.
 void setVocVocabularies(Set<? extends Vocabulary> value)
          Relates a vocabulary to a resource.
 
Methods inherited from interface org.openrdf.concepts.rdfs.Resource
getRdfsComment, getRdfsIsDefinedBy, getRdfsLabel, getRdfsMembers, getRdfsSeeAlso, getRdfTypes, getRdfValues, setRdfsComment, setRdfsIsDefinedBy, setRdfsLabel, setRdfsMembers, setRdfsSeeAlso, setRdfTypes, setRdfValues
 
Methods inherited from interface org.openrdf.elmo.Entity
getElmoManager, getQName
 

Method Detail

getVocVocabularies

Set<Vocabulary> getVocVocabularies()
Relates a vocabulary to a resource. If the subject is also a vocabulary, then terms belonging to the object vocabulary are considered to also belong to the subject vocabulary. If the subject is an RDF Class, then the object vocabulary is taken as relevant for describing instances of that class.


setVocVocabularies

void setVocVocabularies(Set<? extends Vocabulary> value)
Relates a vocabulary to a resource. If the subject is also a vocabulary, then terms belonging to the object vocabulary are considered to also belong to the subject vocabulary. If the subject is an RDF Class, then the object vocabulary is taken as relevant for describing instances of that class.



Copyright © 2004-2008 Aduna. All Rights Reserved.