Module prov.model

Interface TypedValue

All Known Subinterfaces:
Attribute, Key, Label, Location, Other, Role, Type, Value
All Known Implementing Classes:
Key, Label, Location, Other, Role, Type, TypedValue, Value

public interface TypedValue

Interface for a PROV value.

PROV-DM Definition for Value: A value is a constant such as a string, number, time, qualified name, IRI, and encoded binary data, whose interpretation is outside the scope of PROV. Values can occur in attribute-value pairs.

In the Java implementation, a TypedValue can be seen as an object with two properties: a value and a type.

The type is expressed as a QualifiedName, whereas the value is normally expected to be a string. (Two notable exceptions are qualified names whose external representation is dependent on the choice of prefix, and langString which also have a language property.

Relevant Factory Methods:

Schema Definition:

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Location">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>anySimpleType">
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" />
     </extension>
   </simpleContent>
 </complexType>
 

See Also: