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
Enumerated type for all types of attributes.
|
| 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, setValueFromObjectQualifiedName getQualifiedName(Attribute.AttributeKind kind)
Attribute.AttributeKind getAttributeKind(QualifiedName q)
QualifiedName getElementName()
Attribute.AttributeKind getKind()
Object getValue()
getValue in interface TypedValueString, QualifiedName, LangStringQualifiedName getType()
getType in interface TypedValueQualifiedNameString toNotationString()
Object getConvertedValue()
getConvertedValue in interface TypedValueObjectCopyright © 2015. All rights reserved.