@Entity(name="WasDerivedFrom") public class WasDerivedFrom extends AStatement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, WasDerivedFrom, HasAllAttributes
Java class for Derivation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Derivation"> <complexContent> <extension base="{http://www.w3.org/ns/prov#}AStatement"> <sequence> <element name="generatedEntity" type="{http://www.w3.org/ns/prov#}IDRef"/> <element name="usedEntity" type="{http://www.w3.org/ns/prov#}IDRef"/> <element name="activity" type="{http://www.w3.org/ns/prov#}IDRef" minOccurs="0"/> <element name="generation" type="{http://www.w3.org/ns/prov#}IDRef" minOccurs="0"/> <element name="usage" type="{http://www.w3.org/ns/prov#}IDRef" minOccurs="0"/> <element ref="{http://www.w3.org/ns/prov#}label" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.w3.org/ns/prov#}type" 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 QualifiedName |
activity |
protected List<Attribute> |
all |
protected QualifiedName |
generatedEntity |
protected QualifiedName |
generation |
protected QualifiedName |
id |
protected List<LangString> |
label |
protected List<Other> |
other |
protected List<Type> |
type |
protected QualifiedName |
usage |
protected QualifiedName |
usedEntity |
pk
Constructor and Description |
---|
WasDerivedFrom() |
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 |
getActivity()
Gets the value of the activity property.
|
List<Attribute> |
getAllAttributes()
Gets the List of all attributes
|
QualifiedName |
getGeneratedEntity()
Gets the value of the generatedEntity property.
|
QualifiedName |
getGeneration()
Gets the value of the generation property.
|
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<Other> |
getOther()
Gets the value of the others property.
|
List<Type> |
getType()
Gets the value of the type property.
|
QualifiedName |
getUsage()
Gets the value of the usage property.
|
QualifiedName |
getUsedEntity()
Gets the value of the usedEntity property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setActivity(QualifiedName value)
Sets the value of the activity property.
|
void |
setGeneratedEntity(QualifiedName value)
Sets the value of the generatedEntity property.
|
void |
setGeneration(QualifiedName value)
Sets the value of the generation property.
|
void |
setId(QualifiedName value)
Sets the value of the id property.
|
void |
setLabel(List<LangString> label) |
void |
setOther(List<Other> others) |
void |
setType(List<Type> type) |
void |
setUsage(QualifiedName value)
Sets the value of the usage property.
|
void |
setUsedEntity(QualifiedName value)
Sets the value of the usedEntity property.
|
getPk, setPk
protected QualifiedName generatedEntity
protected QualifiedName usedEntity
protected QualifiedName activity
protected QualifiedName generation
protected QualifiedName usage
protected List<LangString> label
protected QualifiedName id
public QualifiedName getGeneratedEntity()
getGeneratedEntity
in interface WasDerivedFrom
IDRef
public void setGeneratedEntity(QualifiedName value)
setGeneratedEntity
in interface WasDerivedFrom
value
- allowed object is
IDRef
public QualifiedName getUsedEntity()
getUsedEntity
in interface WasDerivedFrom
IDRef
public void setUsedEntity(QualifiedName value)
setUsedEntity
in interface WasDerivedFrom
value
- allowed object is
IDRef
public QualifiedName getActivity()
getActivity
in interface WasDerivedFrom
IDRef
public void setActivity(QualifiedName value)
setActivity
in interface WasDerivedFrom
value
- allowed object is
IDRef
public QualifiedName getGeneration()
getGeneration
in interface WasDerivedFrom
IDRef
public void setGeneration(QualifiedName value)
setGeneration
in interface WasDerivedFrom
value
- allowed object is
IDRef
public QualifiedName getUsage()
getUsage
in interface WasDerivedFrom
IDRef
public void setUsage(QualifiedName value)
setUsage
in interface WasDerivedFrom
value
- allowed object is
IDRef
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<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
org.openprovenance.prov.xml.HasAllAttributes#getAll()
public QualifiedName getId()
getId
in interface Identifiable
QName
public void setId(QualifiedName value)
setId
in interface Identifiable
value
- allowed object is
QName
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 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.