File |
Line |
org/openprovenance/model/Artifact.java |
62 |
org/openprovenance/model/Process.java |
62 |
implements Node, Equals, HashCode, ToString
{
@XmlElement(namespace = "http://openprovenance.org/model/v1.1.a")
protected List<AccountRef> account;
@XmlElementRef(name = "annotation", namespace = "http://openprovenance.org/model/v1.1.a", type = JAXBElement.class)
protected List<JAXBElement<? extends EmbeddedAnnotation>> annotation;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the account property.
*
* <p>
* 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 <CODE>set</CODE> method for the account property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AccountRef }
*
*
*/
public List<AccountRef> getAccount() {
if (account == null) {
account = new ArrayList<AccountRef>();
}
return this.account;
}
/**
* Gets the value of the annotation property.
*
* <p>
* 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 <CODE>set</CODE> method for the annotation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAnnotation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Type }{@code >}
* {@link JAXBElement }{@code <}{@link Label }{@code >}
* {@link JAXBElement }{@code <}{@link PName }{@code >}
* {@link JAXBElement }{@code <}{@link Profile }{@code >}
* {@link JAXBElement }{@code <}{@link EmbeddedAnnotation }{@code >}
* {@link JAXBElement }{@code <}{@link Value }{@code >}
*
*
*/
public List<JAXBElement<? extends EmbeddedAnnotation>> getAnnotation() {
if (annotation == null) {
annotation = new ArrayList<JAXBElement<? extends EmbeddedAnnotation>>();
}
return this.annotation;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof Process)) {
|
File |
Line |
org/openprovenance/model/Agent.java |
62 |
org/openprovenance/model/Artifact.java |
62 |
implements Node, Equals, HashCode, ToString
{
@XmlElement(namespace = "http://openprovenance.org/model/v1.1.a")
protected List<AccountRef> account;
@XmlElementRef(name = "annotation", namespace = "http://openprovenance.org/model/v1.1.a", type = JAXBElement.class)
protected List<JAXBElement<? extends EmbeddedAnnotation>> annotation;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the account property.
*
* <p>
* 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 <CODE>set</CODE> method for the account property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AccountRef }
*
*
*/
public List<AccountRef> getAccount() {
if (account == null) {
account = new ArrayList<AccountRef>();
}
return this.account;
}
/**
* Gets the value of the annotation property.
*
* <p>
* 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 <CODE>set</CODE> method for the annotation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAnnotation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Type }{@code >}
* {@link JAXBElement }{@code <}{@link Label }{@code >}
* {@link JAXBElement }{@code <}{@link PName }{@code >}
* {@link JAXBElement }{@code <}{@link Profile }{@code >}
* {@link JAXBElement }{@code <}{@link EmbeddedAnnotation }{@code >}
* {@link JAXBElement }{@code <}{@link Value }{@code >}
*
*
*/
public List<JAXBElement<? extends EmbeddedAnnotation>> getAnnotation() {
if (annotation == null) {
annotation = new ArrayList<JAXBElement<? extends EmbeddedAnnotation>>();
}
return this.annotation;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof Artifact)) {
|
File |
Line |
org/openprovenance/model/printer/AgentMapEntry.java |
117 |
org/openprovenance/model/printer/ArtifactMapEntry.java |
117 |
if (!(object instanceof ProcessMapEntry)) {
return false;
}
if (this == object) {
return true;
}
final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
equals(object, equalsBuilder);
return equalsBuilder.isEquals();
}
public void hashCode(HashCodeBuilder hashCodeBuilder) {
hashCodeBuilder.append(this.getValue());
hashCodeBuilder.append(this.getDisplay());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
public void toString(ToStringBuilder toStringBuilder) {
{
String theValue;
theValue = this.getValue();
toStringBuilder.append("value", theValue);
}
{
String theDisplay;
theDisplay = this.getDisplay();
toStringBuilder.append("display", theDisplay);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
}
|
File |
Line |
org/openprovenance/model/WasGeneratedBy.java |
135 |
org/openprovenance/model/WasTriggeredBy.java |
107 |
this.effect = value;
}
/**
* Gets the value of the cause property.
*
* @return
* possible object is
* {@link ProcessRef }
*
*/
public ProcessRef getCause() {
return cause;
}
/**
* Sets the value of the cause property.
*
* @param value
* allowed object is
* {@link ProcessRef }
*
*/
public void setCause(ProcessRef value) {
this.cause = value;
}
/**
* Gets the value of the account property.
*
* <p>
* 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 <CODE>set</CODE> method for the account property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AccountRef }
*
*
*/
public List<AccountRef> getAccount() {
if (account == null) {
account = new ArrayList<AccountRef>();
}
return this.account;
}
/**
* Gets the value of the time property.
*
* @return
* possible object is
* {@link OTime }
*
*/
public OTime getTime() {
return time;
}
/**
* Sets the value of the time property.
*
* @param value
* allowed object is
* {@link OTime }
*
*/
public void setTime(OTime value) {
this.time = value;
}
/**
* Gets the value of the annotation property.
*
* <p>
* 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 <CODE>set</CODE> method for the annotation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAnnotation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Type }{@code >}
* {@link JAXBElement }{@code <}{@link Label }{@code >}
* {@link JAXBElement }{@code <}{@link PName }{@code >}
* {@link JAXBElement }{@code <}{@link Profile }{@code >}
* {@link JAXBElement }{@code <}{@link EmbeddedAnnotation }{@code >}
* {@link JAXBElement }{@code <}{@link Value }{@code >}
*
*
*/
public List<JAXBElement<? extends EmbeddedAnnotation>> getAnnotation() {
if (annotation == null) {
annotation = new ArrayList<JAXBElement<? extends EmbeddedAnnotation>>();
}
return this.annotation;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof WasTriggeredBy)) {
|
File |
Line |
org/openprovenance/model/Used.java |
135 |
org/openprovenance/model/WasDerivedFrom.java |
107 |
this.effect = value;
}
/**
* Gets the value of the cause property.
*
* @return
* possible object is
* {@link ArtifactRef }
*
*/
public ArtifactRef getCause() {
return cause;
}
/**
* Sets the value of the cause property.
*
* @param value
* allowed object is
* {@link ArtifactRef }
*
*/
public void setCause(ArtifactRef value) {
this.cause = value;
}
/**
* Gets the value of the account property.
*
* <p>
* 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 <CODE>set</CODE> method for the account property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AccountRef }
*
*
*/
public List<AccountRef> getAccount() {
if (account == null) {
account = new ArrayList<AccountRef>();
}
return this.account;
}
/**
* Gets the value of the time property.
*
* @return
* possible object is
* {@link OTime }
*
*/
public OTime getTime() {
return time;
}
/**
* Sets the value of the time property.
*
* @param value
* allowed object is
* {@link OTime }
*
*/
public void setTime(OTime value) {
this.time = value;
}
/**
* Gets the value of the annotation property.
*
* <p>
* 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 <CODE>set</CODE> method for the annotation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAnnotation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Type }{@code >}
* {@link JAXBElement }{@code <}{@link Label }{@code >}
* {@link JAXBElement }{@code <}{@link PName }{@code >}
* {@link JAXBElement }{@code <}{@link Profile }{@code >}
* {@link JAXBElement }{@code <}{@link EmbeddedAnnotation }{@code >}
* {@link JAXBElement }{@code <}{@link Value }{@code >}
*
*
*/
public List<JAXBElement<? extends EmbeddedAnnotation>> getAnnotation() {
if (annotation == null) {
annotation = new ArrayList<JAXBElement<? extends EmbeddedAnnotation>>();
}
return this.annotation;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof WasDerivedFrom)) {
|
File |
Line |
org/openprovenance/model/Used.java |
292 |
org/openprovenance/model/WasGeneratedBy.java |
292 |
if (!(object instanceof WasGeneratedBy)) {
return false;
}
if (this == object) {
return true;
}
final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
equals(object, equalsBuilder);
return equalsBuilder.isEquals();
}
public void hashCode(HashCodeBuilder hashCodeBuilder) {
hashCodeBuilder.append(this.getEffect());
hashCodeBuilder.append(this.getRole());
hashCodeBuilder.append(this.getCause());
hashCodeBuilder.append(this.getAccount());
hashCodeBuilder.append(this.getTime());
hashCodeBuilder.append(this.getAnnotation());
hashCodeBuilder.append(this.getId());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
public void toString(ToStringBuilder toStringBuilder) {
{
|
File |
Line |
org/openprovenance/model/WasDerivedFromStar.java |
234 |
org/openprovenance/model/WasGeneratedByStar.java |
234 |
if (!(object instanceof WasGeneratedByStar)) {
return false;
}
if (this == object) {
return true;
}
final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
equals(object, equalsBuilder);
return equalsBuilder.isEquals();
}
public void hashCode(HashCodeBuilder hashCodeBuilder) {
hashCodeBuilder.append(this.getEffect());
hashCodeBuilder.append(this.getCause());
hashCodeBuilder.append(this.getAccount());
hashCodeBuilder.append(this.getAnnotation());
hashCodeBuilder.append(this.getId());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
public void toString(ToStringBuilder toStringBuilder) {
{
ArtifactRef theEffect;
theEffect = this.getEffect();
toStringBuilder.append("effect", theEffect);
}
{
|
File |
Line |
org/openprovenance/model/UsedStar.java |
234 |
org/openprovenance/model/WasTriggeredByStar.java |
234 |
if (!(object instanceof WasTriggeredByStar)) {
return false;
}
if (this == object) {
return true;
}
final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
equals(object, equalsBuilder);
return equalsBuilder.isEquals();
}
public void hashCode(HashCodeBuilder hashCodeBuilder) {
hashCodeBuilder.append(this.getEffect());
hashCodeBuilder.append(this.getCause());
hashCodeBuilder.append(this.getAccount());
hashCodeBuilder.append(this.getAnnotation());
hashCodeBuilder.append(this.getId());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
public void toString(ToStringBuilder toStringBuilder) {
{
ProcessRef theEffect;
theEffect = this.getEffect();
toStringBuilder.append("effect", theEffect);
}
{
|
File |
Line |
org/openprovenance/model/Label.java |
91 |
org/openprovenance/model/Profile.java |
93 |
if (!(object instanceof Type)) {
return false;
}
if (this == object) {
return true;
}
final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
equals(object, equalsBuilder);
return equalsBuilder.isEquals();
}
public void hashCode(HashCodeBuilder hashCodeBuilder) {
super.hashCode(hashCodeBuilder);
hashCodeBuilder.append(this.getValue());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
public void toString(ToStringBuilder toStringBuilder) {
super.toString(toStringBuilder);
{
String theValue;
theValue = this.getValue();
toStringBuilder.append("value", theValue);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
}
|
File |
Line |
org/openprovenance/model/WasGeneratedByStar.java |
102 |
org/openprovenance/model/WasTriggeredByStar.java |
102 |
public void setEffect(ProcessRef value) {
this.effect = value;
}
/**
* Gets the value of the cause property.
*
* @return
* possible object is
* {@link ProcessRef }
*
*/
public ProcessRef getCause() {
return cause;
}
/**
* Sets the value of the cause property.
*
* @param value
* allowed object is
* {@link ProcessRef }
*
*/
public void setCause(ProcessRef value) {
this.cause = value;
}
/**
* Gets the value of the account property.
*
* <p>
* 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 <CODE>set</CODE> method for the account property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AccountRef }
*
*
*/
public List<AccountRef> getAccount() {
if (account == null) {
account = new ArrayList<AccountRef>();
}
return this.account;
}
/**
* Gets the value of the annotation property.
*
* <p>
* 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 <CODE>set</CODE> method for the annotation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAnnotation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Type }{@code >}
* {@link JAXBElement }{@code <}{@link Label }{@code >}
* {@link JAXBElement }{@code <}{@link PName }{@code >}
* {@link JAXBElement }{@code <}{@link Profile }{@code >}
* {@link JAXBElement }{@code <}{@link EmbeddedAnnotation }{@code >}
* {@link JAXBElement }{@code <}{@link Value }{@code >}
*
*
*/
public List<JAXBElement<? extends EmbeddedAnnotation>> getAnnotation() {
if (annotation == null) {
annotation = new ArrayList<JAXBElement<? extends EmbeddedAnnotation>>();
}
return this.annotation;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof WasTriggeredByStar)) {
|
File |
Line |
org/openprovenance/model/WasDerivedFrom.java |
130 |
org/openprovenance/model/WasGeneratedBy.java |
158 |
public void setCause(ProcessRef value) {
this.cause = value;
}
/**
* Gets the value of the account property.
*
* <p>
* 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 <CODE>set</CODE> method for the account property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AccountRef }
*
*
*/
public List<AccountRef> getAccount() {
if (account == null) {
account = new ArrayList<AccountRef>();
}
return this.account;
}
/**
* Gets the value of the time property.
*
* @return
* possible object is
* {@link OTime }
*
*/
public OTime getTime() {
return time;
}
/**
* Sets the value of the time property.
*
* @param value
* allowed object is
* {@link OTime }
*
*/
public void setTime(OTime value) {
this.time = value;
}
/**
* Gets the value of the annotation property.
*
* <p>
* 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 <CODE>set</CODE> method for the annotation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAnnotation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Type }{@code >}
* {@link JAXBElement }{@code <}{@link Label }{@code >}
* {@link JAXBElement }{@code <}{@link PName }{@code >}
* {@link JAXBElement }{@code <}{@link Profile }{@code >}
* {@link JAXBElement }{@code <}{@link EmbeddedAnnotation }{@code >}
* {@link JAXBElement }{@code <}{@link Value }{@code >}
*
*
*/
public List<JAXBElement<? extends EmbeddedAnnotation>> getAnnotation() {
if (annotation == null) {
annotation = new ArrayList<JAXBElement<? extends EmbeddedAnnotation>>();
}
return this.annotation;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof WasGeneratedBy)) {
|
File |
Line |
org/openprovenance/model/UsedStar.java |
102 |
org/openprovenance/model/WasDerivedFromStar.java |
102 |
public void setEffect(ArtifactRef value) {
this.effect = value;
}
/**
* Gets the value of the cause property.
*
* @return
* possible object is
* {@link ArtifactRef }
*
*/
public ArtifactRef getCause() {
return cause;
}
/**
* Sets the value of the cause property.
*
* @param value
* allowed object is
* {@link ArtifactRef }
*
*/
public void setCause(ArtifactRef value) {
this.cause = value;
}
/**
* Gets the value of the account property.
*
* <p>
* 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 <CODE>set</CODE> method for the account property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AccountRef }
*
*
*/
public List<AccountRef> getAccount() {
if (account == null) {
account = new ArrayList<AccountRef>();
}
return this.account;
}
/**
* Gets the value of the annotation property.
*
* <p>
* 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 <CODE>set</CODE> method for the annotation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAnnotation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Type }{@code >}
* {@link JAXBElement }{@code <}{@link Label }{@code >}
* {@link JAXBElement }{@code <}{@link PName }{@code >}
* {@link JAXBElement }{@code <}{@link Profile }{@code >}
* {@link JAXBElement }{@code <}{@link EmbeddedAnnotation }{@code >}
* {@link JAXBElement }{@code <}{@link Value }{@code >}
*
*
*/
public List<JAXBElement<? extends EmbeddedAnnotation>> getAnnotation() {
if (annotation == null) {
annotation = new ArrayList<JAXBElement<? extends EmbeddedAnnotation>>();
}
return this.annotation;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof WasDerivedFromStar)) {
|
File |
Line |
org/openprovenance/model/Used.java |
158 |
org/openprovenance/model/WasTriggeredBy.java |
130 |
public void setCause(ProcessRef value) {
this.cause = value;
}
/**
* Gets the value of the account property.
*
* <p>
* 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 <CODE>set</CODE> method for the account property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AccountRef }
*
*
*/
public List<AccountRef> getAccount() {
if (account == null) {
account = new ArrayList<AccountRef>();
}
return this.account;
}
/**
* Gets the value of the time property.
*
* @return
* possible object is
* {@link OTime }
*
*/
public OTime getTime() {
return time;
}
/**
* Sets the value of the time property.
*
* @param value
* allowed object is
* {@link OTime }
*
*/
public void setTime(OTime value) {
this.time = value;
}
/**
* Gets the value of the annotation property.
*
* <p>
* 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 <CODE>set</CODE> method for the annotation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAnnotation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Type }{@code >}
* {@link JAXBElement }{@code <}{@link Label }{@code >}
* {@link JAXBElement }{@code <}{@link PName }{@code >}
* {@link JAXBElement }{@code <}{@link Profile }{@code >}
* {@link JAXBElement }{@code <}{@link EmbeddedAnnotation }{@code >}
* {@link JAXBElement }{@code <}{@link Value }{@code >}
*
*
*/
public List<JAXBElement<? extends EmbeddedAnnotation>> getAnnotation() {
if (annotation == null) {
annotation = new ArrayList<JAXBElement<? extends EmbeddedAnnotation>>();
}
return this.annotation;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof WasGeneratedBy)) {
|
File |
Line |
org/openprovenance/model/WasDerivedFrom.java |
263 |
org/openprovenance/model/WasTriggeredBy.java |
263 |
if (!(object instanceof WasTriggeredBy)) {
return false;
}
if (this == object) {
return true;
}
final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
equals(object, equalsBuilder);
return equalsBuilder.isEquals();
}
public void hashCode(HashCodeBuilder hashCodeBuilder) {
hashCodeBuilder.append(this.getEffect());
hashCodeBuilder.append(this.getCause());
hashCodeBuilder.append(this.getAccount());
hashCodeBuilder.append(this.getTime());
hashCodeBuilder.append(this.getAnnotation());
hashCodeBuilder.append(this.getId());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
public void toString(ToStringBuilder toStringBuilder) {
{
|
File |
Line |
org/openprovenance/model/WasGeneratedBy.java |
328 |
org/openprovenance/model/WasTriggeredBy.java |
293 |
toStringBuilder.append("effect", theEffect);
}
{
ProcessRef theCause;
theCause = this.getCause();
toStringBuilder.append("cause", theCause);
}
{
List<AccountRef> theAccount;
theAccount = this.getAccount();
toStringBuilder.append("account", theAccount);
}
{
OTime theTime;
theTime = this.getTime();
toStringBuilder.append("time", theTime);
}
{
List<JAXBElement<? extends EmbeddedAnnotation>> theAnnotation;
theAnnotation = this.getAnnotation();
toStringBuilder.append("annotation", theAnnotation);
}
{
String theId;
theId = this.getId();
toStringBuilder.append("id", theId);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
}
|
File |
Line |
org/openprovenance/model/Used.java |
328 |
org/openprovenance/model/WasDerivedFrom.java |
293 |
toStringBuilder.append("effect", theEffect);
}
{
ArtifactRef theCause;
theCause = this.getCause();
toStringBuilder.append("cause", theCause);
}
{
List<AccountRef> theAccount;
theAccount = this.getAccount();
toStringBuilder.append("account", theAccount);
}
{
OTime theTime;
theTime = this.getTime();
toStringBuilder.append("time", theTime);
}
{
List<JAXBElement<? extends EmbeddedAnnotation>> theAnnotation;
theAnnotation = this.getAnnotation();
toStringBuilder.append("annotation", theAnnotation);
}
{
String theId;
theId = this.getId();
toStringBuilder.append("id", theId);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
}
|
File |
Line |
org/openprovenance/model/AccountRef.java |
93 |
org/openprovenance/model/ProcessRef.java |
93 |
if (!(object instanceof RoleRef)) {
return false;
}
if (this == object) {
return true;
}
final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
equals(object, equalsBuilder);
return equalsBuilder.isEquals();
}
public void hashCode(HashCodeBuilder hashCodeBuilder) {
hashCodeBuilder.append(this.getRef());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
public void toString(ToStringBuilder toStringBuilder) {
{
Object theRef;
theRef = this.getRef();
toStringBuilder.append("ref", theRef);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
}
|
File |
Line |
org/openprovenance/model/WasGeneratedByStar.java |
261 |
org/openprovenance/model/WasTriggeredByStar.java |
261 |
ProcessRef theEffect;
theEffect = this.getEffect();
toStringBuilder.append("effect", theEffect);
}
{
ProcessRef theCause;
theCause = this.getCause();
toStringBuilder.append("cause", theCause);
}
{
List<AccountRef> theAccount;
theAccount = this.getAccount();
toStringBuilder.append("account", theAccount);
}
{
List<JAXBElement<? extends EmbeddedAnnotation>> theAnnotation;
theAnnotation = this.getAnnotation();
toStringBuilder.append("annotation", theAnnotation);
}
{
String theId;
theId = this.getId();
toStringBuilder.append("id", theId);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
}
|
File |
Line |
org/openprovenance/model/WasDerivedFrom.java |
296 |
org/openprovenance/model/WasTriggeredBy.java |
296 |
ProcessRef theCause;
theCause = this.getCause();
toStringBuilder.append("cause", theCause);
}
{
List<AccountRef> theAccount;
theAccount = this.getAccount();
toStringBuilder.append("account", theAccount);
}
{
OTime theTime;
theTime = this.getTime();
toStringBuilder.append("time", theTime);
}
{
List<JAXBElement<? extends EmbeddedAnnotation>> theAnnotation;
theAnnotation = this.getAnnotation();
toStringBuilder.append("annotation", theAnnotation);
}
{
String theId;
theId = this.getId();
toStringBuilder.append("id", theId);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
}
|
File |
Line |
org/openprovenance/model/UsedStar.java |
261 |
org/openprovenance/model/WasDerivedFromStar.java |
261 |
ArtifactRef theEffect;
theEffect = this.getEffect();
toStringBuilder.append("effect", theEffect);
}
{
ArtifactRef theCause;
theCause = this.getCause();
toStringBuilder.append("cause", theCause);
}
{
List<AccountRef> theAccount;
theAccount = this.getAccount();
toStringBuilder.append("account", theAccount);
}
{
List<JAXBElement<? extends EmbeddedAnnotation>> theAnnotation;
theAnnotation = this.getAnnotation();
toStringBuilder.append("annotation", theAnnotation);
}
{
String theId;
theId = this.getId();
toStringBuilder.append("id", theId);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
}
|
File |
Line |
org/openprovenance/model/Used.java |
331 |
org/openprovenance/model/WasGeneratedBy.java |
331 |
ProcessRef theCause;
theCause = this.getCause();
toStringBuilder.append("cause", theCause);
}
{
List<AccountRef> theAccount;
theAccount = this.getAccount();
toStringBuilder.append("account", theAccount);
}
{
OTime theTime;
theTime = this.getTime();
toStringBuilder.append("time", theTime);
}
{
List<JAXBElement<? extends EmbeddedAnnotation>> theAnnotation;
theAnnotation = this.getAnnotation();
toStringBuilder.append("annotation", theAnnotation);
}
{
String theId;
theId = this.getId();
toStringBuilder.append("id", theId);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
}
|
File |
Line |
org/openprovenance/model/UsedStar.java |
234 |
org/openprovenance/model/WasDerivedFromStar.java |
234 |
if (!(object instanceof WasDerivedFromStar)) {
return false;
}
if (this == object) {
return true;
}
final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
equals(object, equalsBuilder);
return equalsBuilder.isEquals();
}
public void hashCode(HashCodeBuilder hashCodeBuilder) {
hashCodeBuilder.append(this.getEffect());
hashCodeBuilder.append(this.getCause());
hashCodeBuilder.append(this.getAccount());
hashCodeBuilder.append(this.getAnnotation());
hashCodeBuilder.append(this.getId());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
public void toString(ToStringBuilder toStringBuilder) {
{
|
File |
Line |
org/openprovenance/model/Used.java |
281 |
org/openprovenance/model/WasGeneratedBy.java |
281 |
final WasGeneratedBy that = ((WasGeneratedBy) object);
equalsBuilder.append(this.getEffect(), that.getEffect());
equalsBuilder.append(this.getRole(), that.getRole());
equalsBuilder.append(this.getCause(), that.getCause());
equalsBuilder.append(this.getAccount(), that.getAccount());
equalsBuilder.append(this.getTime(), that.getTime());
equalsBuilder.append(this.getAnnotation(), that.getAnnotation());
equalsBuilder.append(this.getId(), that.getId());
}
public boolean equals(Object object) {
if (!(object instanceof WasGeneratedBy)) {
|
File |
Line |
org/openprovenance/model/WasTriggeredBy.java |
78 |
org/openprovenance/model/WasTriggeredByStar.java |
74 |
@XmlElementRef(name = "annotation", namespace = "http://openprovenance.org/model/v1.1.a", type = JAXBElement.class)
protected List<JAXBElement<? extends EmbeddedAnnotation>> annotation;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the effect property.
*
* @return
* possible object is
* {@link ProcessRef }
*
*/
public ProcessRef getEffect() {
return effect;
}
/**
* Sets the value of the effect property.
*
* @param value
* allowed object is
* {@link ProcessRef }
*
*/
public void setEffect(ProcessRef value) {
this.effect = value;
}
/**
* Gets the value of the cause property.
*
* @return
* possible object is
* {@link ProcessRef }
*
*/
public ProcessRef getCause() {
return cause;
}
/**
* Sets the value of the cause property.
*
* @param value
* allowed object is
* {@link ProcessRef }
*
*/
public void setCause(ProcessRef value) {
this.cause = value;
}
/**
* Gets the value of the account property.
*
* <p>
* 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 <CODE>set</CODE> method for the account property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AccountRef }
*
*
*/
public List<AccountRef> getAccount() {
if (account == null) {
account = new ArrayList<AccountRef>();
}
return this.account;
}
/**
* Gets the value of the annotation property.
*
* <p>
* 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 <CODE>set</CODE> method for the annotation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAnnotation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Type }{@code >}
* {@link JAXBElement }{@code <}{@link Label }{@code >}
* {@link JAXBElement }{@code <}{@link PName }{@code >}
* {@link JAXBElement }{@code <}{@link Profile }{@code >}
* {@link JAXBElement }{@code <}{@link EmbeddedAnnotation }{@code >}
* {@link JAXBElement }{@code <}{@link Value }{@code >}
*
*
*/
public List<JAXBElement<? extends EmbeddedAnnotation>> getAnnotation() {
|
File |
Line |
org/openprovenance/model/WasDerivedFrom.java |
78 |
org/openprovenance/model/WasDerivedFromStar.java |
74 |
@XmlElementRef(name = "annotation", namespace = "http://openprovenance.org/model/v1.1.a", type = JAXBElement.class)
protected List<JAXBElement<? extends EmbeddedAnnotation>> annotation;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the effect property.
*
* @return
* possible object is
* {@link ArtifactRef }
*
*/
public ArtifactRef getEffect() {
return effect;
}
/**
* Sets the value of the effect property.
*
* @param value
* allowed object is
* {@link ArtifactRef }
*
*/
public void setEffect(ArtifactRef value) {
this.effect = value;
}
/**
* Gets the value of the cause property.
*
* @return
* possible object is
* {@link ArtifactRef }
*
*/
public ArtifactRef getCause() {
return cause;
}
/**
* Sets the value of the cause property.
*
* @param value
* allowed object is
* {@link ArtifactRef }
*
*/
public void setCause(ArtifactRef value) {
this.cause = value;
}
/**
* Gets the value of the account property.
*
* <p>
* 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 <CODE>set</CODE> method for the account property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AccountRef }
*
*
*/
public List<AccountRef> getAccount() {
if (account == null) {
account = new ArrayList<AccountRef>();
}
return this.account;
}
/**
* Gets the value of the annotation property.
*
* <p>
* 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 <CODE>set</CODE> method for the annotation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAnnotation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Type }{@code >}
* {@link JAXBElement }{@code <}{@link Label }{@code >}
* {@link JAXBElement }{@code <}{@link PName }{@code >}
* {@link JAXBElement }{@code <}{@link Profile }{@code >}
* {@link JAXBElement }{@code <}{@link EmbeddedAnnotation }{@code >}
* {@link JAXBElement }{@code <}{@link Value }{@code >}
*
*
*/
public List<JAXBElement<? extends EmbeddedAnnotation>> getAnnotation() {
|
File |
Line |
org/openprovenance/model/UsedStar.java |
126 |
org/openprovenance/model/WasGeneratedByStar.java |
126 |
public void setCause(ProcessRef value) {
this.cause = value;
}
/**
* Gets the value of the account property.
*
* <p>
* 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 <CODE>set</CODE> method for the account property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AccountRef }
*
*
*/
public List<AccountRef> getAccount() {
if (account == null) {
account = new ArrayList<AccountRef>();
}
return this.account;
}
/**
* Gets the value of the annotation property.
*
* <p>
* 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 <CODE>set</CODE> method for the annotation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAnnotation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Type }{@code >}
* {@link JAXBElement }{@code <}{@link Label }{@code >}
* {@link JAXBElement }{@code <}{@link PName }{@code >}
* {@link JAXBElement }{@code <}{@link Profile }{@code >}
* {@link JAXBElement }{@code <}{@link EmbeddedAnnotation }{@code >}
* {@link JAXBElement }{@code <}{@link Value }{@code >}
*
*
*/
public List<JAXBElement<? extends EmbeddedAnnotation>> getAnnotation() {
if (annotation == null) {
annotation = new ArrayList<JAXBElement<? extends EmbeddedAnnotation>>();
}
return this.annotation;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof WasGeneratedByStar)) {
|
File |
Line |
org/openprovenance/model/WasTriggeredBy.java |
278 |
org/openprovenance/model/WasTriggeredByStar.java |
248 |
hashCodeBuilder.append(this.getAccount());
hashCodeBuilder.append(this.getAnnotation());
hashCodeBuilder.append(this.getId());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
public void toString(ToStringBuilder toStringBuilder) {
{
ProcessRef theEffect;
theEffect = this.getEffect();
toStringBuilder.append("effect", theEffect);
}
{
ProcessRef theCause;
theCause = this.getCause();
toStringBuilder.append("cause", theCause);
}
{
List<AccountRef> theAccount;
theAccount = this.getAccount();
toStringBuilder.append("account", theAccount);
}
{
|
File |
Line |
org/openprovenance/model/WasDerivedFrom.java |
278 |
org/openprovenance/model/WasDerivedFromStar.java |
248 |
hashCodeBuilder.append(this.getAccount());
hashCodeBuilder.append(this.getAnnotation());
hashCodeBuilder.append(this.getId());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
public void toString(ToStringBuilder toStringBuilder) {
{
ArtifactRef theEffect;
theEffect = this.getEffect();
toStringBuilder.append("effect", theEffect);
}
{
ArtifactRef theCause;
theCause = this.getCause();
toStringBuilder.append("cause", theCause);
}
{
List<AccountRef> theAccount;
theAccount = this.getAccount();
toStringBuilder.append("account", theAccount);
}
{
|
File |
Line |
org/openprovenance/model/WasDerivedFrom.java |
253 |
org/openprovenance/model/WasTriggeredBy.java |
253 |
final WasTriggeredBy that = ((WasTriggeredBy) object);
equalsBuilder.append(this.getEffect(), that.getEffect());
equalsBuilder.append(this.getCause(), that.getCause());
equalsBuilder.append(this.getAccount(), that.getAccount());
equalsBuilder.append(this.getTime(), that.getTime());
equalsBuilder.append(this.getAnnotation(), that.getAnnotation());
equalsBuilder.append(this.getId(), that.getId());
}
public boolean equals(Object object) {
if (!(object instanceof WasTriggeredBy)) {
|
File |
Line |
org/openprovenance/model/UsedStar.java |
266 |
org/openprovenance/model/WasGeneratedByStar.java |
266 |
ProcessRef theCause;
theCause = this.getCause();
toStringBuilder.append("cause", theCause);
}
{
List<AccountRef> theAccount;
theAccount = this.getAccount();
toStringBuilder.append("account", theAccount);
}
{
List<JAXBElement<? extends EmbeddedAnnotation>> theAnnotation;
theAnnotation = this.getAnnotation();
toStringBuilder.append("annotation", theAnnotation);
}
{
String theId;
theId = this.getId();
toStringBuilder.append("id", theId);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
}
|
File |
Line |
org/openprovenance/model/EmbeddedAnnotation.java |
114 |
org/openprovenance/model/UsedStar.java |
128 |
}
/**
* Gets the value of the account property.
*
* <p>
* 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 <CODE>set</CODE> method for the account property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAccount().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AccountRef }
*
*
*/
public List<AccountRef> getAccount() {
if (account == null) {
account = new ArrayList<AccountRef>();
}
return this.account;
}
/**
* Gets the value of the annotation property.
*
* <p>
* 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 <CODE>set</CODE> method for the annotation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAnnotation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Type }{@code >}
* {@link JAXBElement }{@code <}{@link Label }{@code >}
* {@link JAXBElement }{@code <}{@link PName }{@code >}
* {@link JAXBElement }{@code <}{@link Profile }{@code >}
* {@link JAXBElement }{@code <}{@link EmbeddedAnnotation }{@code >}
* {@link JAXBElement }{@code <}{@link Value }{@code >}
*
*
*/
public List<JAXBElement<? extends EmbeddedAnnotation>> getAnnotation() {
if (annotation == null) {
annotation = new ArrayList<JAXBElement<? extends EmbeddedAnnotation>>();
}
return this.annotation;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof UsedStar)) {
|
File |
Line |
org/openprovenance/model/Agent.java |
97 |
org/openprovenance/model/WasDerivedFromStar.java |
152 |
public List<AccountRef> getAccount() {
if (account == null) {
account = new ArrayList<AccountRef>();
}
return this.account;
}
/**
* Gets the value of the annotation property.
*
* <p>
* 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 <CODE>set</CODE> method for the annotation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAnnotation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Type }{@code >}
* {@link JAXBElement }{@code <}{@link Label }{@code >}
* {@link JAXBElement }{@code <}{@link PName }{@code >}
* {@link JAXBElement }{@code <}{@link Profile }{@code >}
* {@link JAXBElement }{@code <}{@link EmbeddedAnnotation }{@code >}
* {@link JAXBElement }{@code <}{@link Value }{@code >}
*
*
*/
public List<JAXBElement<? extends EmbeddedAnnotation>> getAnnotation() {
if (annotation == null) {
annotation = new ArrayList<JAXBElement<? extends EmbeddedAnnotation>>();
}
return this.annotation;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof EmbeddedAnnotation)) {
|
File |
Line |
org/openprovenance/model/WasDerivedFrom.java |
275 |
org/openprovenance/model/WasGeneratedBy.java |
305 |
hashCodeBuilder.append(this.getRole());
hashCodeBuilder.append(this.getCause());
hashCodeBuilder.append(this.getAccount());
hashCodeBuilder.append(this.getTime());
hashCodeBuilder.append(this.getAnnotation());
hashCodeBuilder.append(this.getId());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
public void toString(ToStringBuilder toStringBuilder) {
{
ArtifactRef theEffect;
theEffect = this.getEffect();
toStringBuilder.append("effect", theEffect);
}
{
|
File |
Line |
org/openprovenance/model/Used.java |
305 |
org/openprovenance/model/WasTriggeredBy.java |
275 |
hashCodeBuilder.append(this.getEffect());
hashCodeBuilder.append(this.getCause());
hashCodeBuilder.append(this.getAccount());
hashCodeBuilder.append(this.getTime());
hashCodeBuilder.append(this.getAnnotation());
hashCodeBuilder.append(this.getId());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
public void toString(ToStringBuilder toStringBuilder) {
{
ProcessRef theEffect;
theEffect = this.getEffect();
toStringBuilder.append("effect", theEffect);
}
{
|