@Entity(name="Agent") public class Agent extends AStatement implements Equals, HashCode, ToString, Agent, HasAllAttributes
Java class for Agent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Agent"> <complexContent> <extension base="{http://www.w3.org/ns/prov#}AStatement"> <sequence> <element ref="{http://www.w3.org/ns/prov#}label" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.w3.org/ns/prov#}location" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.w3.org/ns/prov#}type" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.w3.org/ns/prov#}others" maxOccurs="unbounded" minOccurs="0"/> <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute ref="{http://www.w3.org/ns/prov#}id"/> </extension> </complexContent> </complexType>
StatementOrBundle.Kind
Modifier and Type | Field and Description |
---|---|
protected List<Attribute> |
all |
protected QualifiedName |
id |
protected List<LangString> |
label |
protected List<Location> |
location |
protected List<Other> |
others |
protected List<Type> |
type |
pk
Constructor and Description |
---|
Agent() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
void |
equals(Object object,
org.apache.commons.lang.builder.EqualsBuilder equalsBuilder) |
List<Attribute> |
getAllAttributes()
Gets the List of all attributes
|
QualifiedName |
getId()
Gets the value of the id property.
|
StatementOrBundle.Kind |
getKind()
Gets the type of a provenance statement
|
List<LangString> |
getLabel()
Gets the value of the label property.
|
List<Location> |
getLocation()
Gets the value of the location property.
|
List<Other> |
getOther()
Gets the value of the others property.
|
List<Type> |
getType()
Gets the value of the type property.
|
int |
hashCode() |
void |
hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder) |
void |
setId(QualifiedName value)
Sets the value of the id property.
|
void |
setLabel(List<LangString> label) |
void |
setLocation(List<Location> location) |
void |
setOther(List<Other> others) |
void |
setType(List<Type> type) |
String |
toString() |
void |
toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder) |
getPk, setPk
protected List<LangString> label
protected QualifiedName id
public List<LangString> getLabel()
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 label property.
For example, to add a new item, do as follows:
getLabel().add(newItem);
Objects of the following type(s) are allowed in the list
InternationalizedString
public void setLabel(List<LangString> label)
public List<Location> getLocation()
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 location property.
For example, to add a new item, do as follows:
getLocation().add(newItem);
Objects of the following type(s) are allowed in the list
Location
getLocation
in interface HasLocation
Location
public List<Type> getType()
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 type property.
For example, to add a new item, do as follows:
getType().add(newItem);
Objects of the following type(s) are allowed in the list
Type
public List<Other> getOther()
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 others property.
For example, to add a new item, do as follows:
getOthers().add(newItem);
Objects of the following type(s) are allowed in the list
Other
public List<Attribute> getAllAttributes()
getAllAttributes
in interface HasAllAttributes
HasAllAttributes.getAllAttributes()
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 StatementOrBundle.Kind getKind()
StatementOrBundle
getKind
in interface StatementOrBundle
getKind
in class AStatement
StatementOrBundle.Kind
Copyright © 2016. All rights reserved.