public interface Attribute extends TypedValue
Interface for a PROV attribute-value pair.
Attribute-value pairs are meant to provide further descriptions to (most) Statement
.
Modifier and Type | Interface and Description |
---|---|
static class |
Attribute.AttributeKind |
Modifier and Type | Method and Description |
---|---|
Attribute.AttributeKind |
getAttributeKind(QualifiedName q) |
Object |
getConvertedValue()
Returns the value of an Attribute as a Java Object.
|
QualifiedName |
getElementName() |
Attribute.AttributeKind |
getKind() |
QualifiedName |
getQualifiedName(Attribute.AttributeKind kind) |
QualifiedName |
getType()
Get the type of an Attribute
|
Object |
getValue()
Get the type of an Attribute
|
String |
toNotationString()
A method to generate the prov-n representation of an attribute ex:attr="value" %% xsd:type
|
convertValueToObject, setType, setValue, setValue, setValue, setValueFromObject
QualifiedName getQualifiedName(Attribute.AttributeKind kind)
Attribute.AttributeKind getAttributeKind(QualifiedName q)
QualifiedName getElementName()
Attribute.AttributeKind getKind()
Object getValue()
getValue
in interface TypedValue
String
, QualifiedName
, LangString
QualifiedName getType()
getType
in interface TypedValue
QualifiedName
String toNotationString()
Object getConvertedValue()
getConvertedValue
in interface TypedValue
Object
Copyright © 2013. All Rights Reserved.