Package org.openprovenance.prov.vanilla
Class Bundle
- java.lang.Object
-
- org.openprovenance.prov.vanilla.Bundle
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openprovenance.prov.model.StatementOrBundle
StatementOrBundle.Kind
-
-
Constructor Summary
Constructors Constructor Description Bundle()Bundle(QualifiedName id, Namespace namespace, Collection<Statement> statements)
-
Method Summary
Modifier and Type Method Description booleanequals(Object object)voidequals(Object object, EqualsBuilder equalsBuilder)QualifiedNamegetId()Gets the value of the id property.StatementOrBundle.KindgetKind()Gets the type of a provenance statementNamespacegetNamespace()List<Statement>getStatement()inthashCode()voidhashCode(HashCodeBuilder hashCodeBuilder)voidsetId(QualifiedName value)Sets the value of the id property.voidsetNamespace(Namespace namespaces)StringtoString()voidtoString(ToStringBuilder toStringBuilder)
-
-
-
Constructor Detail
-
Bundle
public Bundle(QualifiedName id, Namespace namespace, Collection<Statement> statements)
-
Bundle
public Bundle()
-
-
Method Detail
-
getStatement
public List<Statement> getStatement()
- Specified by:
getStatementin interfaceBundle
-
setNamespace
public void setNamespace(Namespace namespaces)
- Specified by:
setNamespacein interfaceBundle
-
getNamespace
public Namespace getNamespace()
- Specified by:
getNamespacein interfaceBundle
-
getId
public QualifiedName getId()
Gets the value of the id property. A null value means that the object has not been identified.Entity,Activity,Agenthave a non-null identifier.- Specified by:
getIdin interfaceIdentifiable- Returns:
- possible object is
QualifiedName
-
setId
public void setId(QualifiedName value)
Sets the value of the id property.- Specified by:
setIdin interfaceIdentifiable- Parameters:
value- allowed object isQualifiedName
-
getKind
public StatementOrBundle.Kind getKind()
Gets the type of a provenance statement- Specified by:
getKindin interfaceStatementOrBundle- Returns:
StatementOrBundle.Kind
-
equals
public void equals(Object object, EqualsBuilder equalsBuilder)
-
hashCode
public void hashCode(HashCodeBuilder hashCodeBuilder)
-
toString
public void toString(ToStringBuilder toStringBuilder)
-
-