@Entity(name="NamedBundle") public class NamedBundle extends AStatement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, NamedBundle
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 |
---|
NamedBundle() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
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() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setId(QualifiedName value)
Sets the value of the id property.
|
void |
setNamespace(Namespace namespace) |
void |
setStatement(List<Statement> statement) |
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 NamedBundle
public QualifiedName getId()
getId
in interface Identifiable
QualifiedName
public void setId(QualifiedName value)
setId
in interface Identifiable
value
- allowed object is
QualifiedName
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
equals
in class AStatement
public boolean equals(Object object)
equals
in class AStatement
public Namespace getNamespace()
getNamespace
in interface NamedBundle
public void setNamespace(Namespace namespace)
setNamespace
in interface NamedBundle
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
hashCode
in class AStatement
public int hashCode()
hashCode
in class AStatement
public StatementOrBundle.Kind getKind()
StatementOrBundle
getKind
in interface StatementOrBundle
getKind
in class AStatement
StatementOrBundle.Kind
Copyright © 2013. All Rights Reserved.