cz.cuni.versatile.api
Interface ControlledVocabulary

All Superinterfaces:
Property
All Known Subinterfaces:
Taxonomy, TreeTaxonomy

public interface ControlledVocabulary
extends Property

A controlled vocabulary property. Allows to enumerate all property values.

Author:
Jaroslav Gergic
See Also:
Vocabulary, Taxonomy, Thesaurus, Ontology and a Meta-Model

Method Summary
 java.util.Set getValueSet()
          A set of all values a given property can have.
 java.util.Iterator iterator()
          An iterator over the value set.
 
Methods inherited from interface cz.cuni.versatile.api.Property
getLocalName, getNamespace, getSeparator, getType, getUniqueName
 

Method Detail

getValueSet

public java.util.Set getValueSet()
A set of all values a given property can have.

Returns:
a Set of all values.

iterator

public java.util.Iterator iterator()
An iterator over the value set.

Returns:
Iterator over the value set.