@Entity(name="NamedBundle") public class Bundle extends AStatement implements Equals, HashCode, ToString, Bundle
Java class for NamedBundle complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NamedBundle"> <complexContent> <extension base="{http://www.w3.org/ns/prov#}AStatement"> <sequence maxOccurs="unbounded"> <group ref="{http://www.w3.org/ns/prov#}documentElements"/> </sequence> <attribute ref="{http://www.w3.org/ns/prov#}id"/> </extension> </complexContent> </complexType>
StatementOrBundle.Kind
Modifier and Type | Field and Description |
---|---|
protected QualifiedName |
id |
protected List<Statement> |
statement |
pk
Constructor and Description |
---|
Bundle() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
void |
equals(Object object,
org.apache.commons.lang.builder.EqualsBuilder equalsBuilder) |
QualifiedName |
getId()
Gets the value of the id property.
|
StatementOrBundle.Kind |
getKind()
Gets the type of a provenance statement
|
Namespace |
getNamespace() |
List<Statement> |
getStatement()
Gets the value of the statement property.
|
int |
hashCode() |
void |
hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder) |
void |
setId(QualifiedName value)
Sets the value of the id property.
|
void |
setNamespace(Namespace namespace) |
void |
setStatement(List<Statement> statement) |
String |
toString() |
void |
toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder) |
getPk, setPk
protected QualifiedName id
public List<Statement> getStatement()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the statement property.
For example, to add a new item, do as follows:
getStatement().add(newItem);
Objects of the following type(s) are allowed in the list
Entity
Activity
WasGeneratedBy
Used
WasInformedBy
WasStartedBy
WasEndedBy
WasInvalidatedBy
WasDerivedFrom
Agent
WasAttributedTo
WasAssociatedWith
ActedOnBehalfOf
WasInfluencedBy
SpecializationOf
AlternateOf
Collection
EmptyCollection
HadMember
MentionOf
getStatement
in interface Bundle
public QualifiedName getId()
getId
in interface Identifiable
QualifiedName
public void setId(QualifiedName value)
setId
in interface Identifiable
value
- allowed object is
QualifiedName
public void equals(Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
public Namespace getNamespace()
getNamespace
in interface Bundle
public void setNamespace(Namespace namespace)
setNamespace
in interface Bundle
public StatementOrBundle.Kind getKind()
StatementOrBundle
getKind
in interface StatementOrBundle
getKind
in class AStatement
StatementOrBundle.Kind
Copyright © 2016. All rights reserved.