- All Superinterfaces:
TypedValue
Interface for a PROV attribute-value pair.
Attribute-value pairs are meant to provide further descriptions to (most) Statement.
- Author:
- lavm
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumEnumerated type for all types of attributes. -
Method Summary
Methods inherited from interface org.openprovenance.prov.model.TypedValue
convertValueToObject, setType, setValue, setValue, setValue, setValueFromObject
-
Method Details
-
getQualifiedName
-
getAttributeKind
-
getElementName
QualifiedName getElementName() -
getKind
Attribute.AttributeKind getKind() -
getValue
Object getValue()Get the type of an Attribute- Specified by:
getValuein interfaceTypedValue- Returns:
- possible object of
String,QualifiedName,LangString
-
getType
QualifiedName getType()Get the type of an Attribute- Specified by:
getTypein interfaceTypedValue- Returns:
- possible instance of
QualifiedName
-
toNotationString
String toNotationString()A method to generate the prov-n representation of an attribute ex:attr="value" %% xsd:type- Returns:
- a string representation of the attribute
-
getConvertedValue
Object getConvertedValue()Returns the value of an Attribute as a Java Object.- Specified by:
getConvertedValuein interfaceTypedValue- Returns:
- a Java Object
-