@Entity(name="WasInfluencedBy") public class WasInfluencedBy extends AStatement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, WasInfluencedBy, HasAllAttributes
Java class for Influence complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Influence"> <complexContent> <extension base="{http://www.w3.org/ns/prov#}AStatement"> <sequence> <element name="influencee" type="{http://www.w3.org/ns/prov#}IDRef"/> <element name="influencer" type="{http://www.w3.org/ns/prov#}IDRef"/> <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"/> <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 QualifiedName |
influencee |
protected QualifiedName |
influencer |
protected List<LangString> |
label |
protected List<Other> |
other |
protected List<Type> |
type |
pk
Constructor and Description |
---|
WasInfluencedBy() |
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) |
List<Attribute> |
getAllAttributes()
Gets the List of all attributes
|
List<Attribute> |
getAny() |
QualifiedName |
getId()
Gets the value of the id property.
|
QualifiedName |
getInfluencee()
Gets the value of the influencee property.
|
QualifiedName |
getInfluencer()
Gets the value of the influencer 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.
|
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 |
setInfluencee(QualifiedName value)
Sets the value of the influencee property.
|
void |
setInfluencer(QualifiedName value)
Sets the value of the influencer property.
|
void |
setLabel(List<LangString> label) |
void |
setOther(List<Other> others) |
void |
setType(List<Type> type) |
getPk, setPk
protected QualifiedName influencee
protected QualifiedName influencer
protected List<LangString> label
protected QualifiedName id
public QualifiedName getInfluencee()
getInfluencee
in interface WasInfluencedBy
IDRef
public void setInfluencee(QualifiedName value)
setInfluencee
in interface WasInfluencedBy
value
- allowed object is
IDRef
public QualifiedName getInfluencer()
getInfluencer
in interface WasInfluencedBy
IDRef
public void setInfluencer(QualifiedName value)
setInfluencer
in interface WasInfluencedBy
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
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 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.