org.tmapi.core
Interface Variant

All Superinterfaces:
Construct, DatatypeAware, Reifiable, Scoped

public interface Variant
extends DatatypeAware

Represents a variant item.

Version:
$Rev: 64 $ - $Date: 2008-08-14 13:46:44 +0200 (Do, 14 Aug 2008) $
Author:
The TMAPI Project

Method Summary
 Name getParent()
          Returns the Name to which this variant belongs.
 java.util.Set<Topic> getScope()
          Returns the scope of this variant.
 
Methods inherited from interface org.tmapi.core.DatatypeAware
decimalValue, floatValue, getDatatype, getValue, integerValue, intValue, locatorValue, longValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue
 
Methods inherited from interface org.tmapi.core.Reifiable
getReifier, setReifier
 
Methods inherited from interface org.tmapi.core.Scoped
addTheme, removeTheme
 
Methods inherited from interface org.tmapi.core.Construct
addItemIdentifier, equals, getId, getItemIdentifiers, getTopicMap, hashCode, remove, removeItemIdentifier
 

Method Detail

getParent

Name getParent()
Returns the Name to which this variant belongs.

Specified by:
getParent in interface Construct
Returns:
The topic name to which this variant belongs.
See Also:
Construct.getParent()

getScope

java.util.Set<Topic> getScope()
Returns the scope of this variant. The returned scope is a true superset of the parent's scope.

Specified by:
getScope in interface Scoped
Returns:
An unmodifiable set of Topics which define the scope.