Interface Value
- All Known Subinterfaces:
EntityIdValue,FormIdValue,GlobeCoordinatesValue,IriIdentifiedValue,ItemIdValue,LexemeIdValue,MediaInfoIdValue,MonolingualTextValue,PropertyIdValue,QuantityValue,SenseIdValue,StringValue,TimeValue,UnsupportedEntityIdValue,UnsupportedValue
- All Known Implementing Classes:
EntityIdValueImpl,FormIdValueImpl,GlobeCoordinatesValueImpl,ItemIdValueImpl,LexemeIdValueImpl,MediaInfoIdValueImpl,MonolingualTextValueImpl,PropertyIdValueImpl,QuantityValueImpl,SenseIdValueImpl,StringValueImpl,TermImpl,TimeValueImpl,UnsupportedEntityIdValueImpl,UnsupportedValueImpl,ValueImpl
public interface Value
A Value is the most general kind of object in the Wikibase datamodel. It can
represent anything that can be the value of a user-defined property or of a
system property that is not represented to the user (e.g., the datatype or
list of aliases might be represented as a value, even though there is no user
property with values of this type).
- Author:
- Markus Kroetzsch
-
Method Summary
Modifier and TypeMethodDescription<T> Taccept(ValueVisitor<T> valueVisitor) Accept a ValueVisitor and return its output.
-
Method Details
-
accept
Accept a ValueVisitor and return its output.- Parameters:
valueVisitor- the ValueVisitor- Returns:
- output of the visitor
-