org.openprovenance.model
Class CausalDependencies

java.lang.Object
  extended by org.openprovenance.model.CausalDependencies
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class CausalDependencies
extends Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for CausalDependencies complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CausalDependencies">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="used" type="{http://openprovenance.org/model/v1.1.a}Used"/>
           <element name="wasGeneratedBy" type="{http://openprovenance.org/model/v1.1.a}WasGeneratedBy"/>
           <element name="wasTriggeredBy" type="{http://openprovenance.org/model/v1.1.a}WasTriggeredBy"/>
           <element name="wasDerivedFrom" type="{http://openprovenance.org/model/v1.1.a}WasDerivedFrom"/>
           <element name="wasControlledBy" type="{http://openprovenance.org/model/v1.1.a}WasControlledBy"/>
           <element name="used_" type="{http://openprovenance.org/model/v1.1.a}UsedStar"/>
           <element name="wasGeneratedBy_" type="{http://openprovenance.org/model/v1.1.a}WasGeneratedByStar"/>
           <element name="wasTriggeredBy_" type="{http://openprovenance.org/model/v1.1.a}WasTriggeredByStar"/>
           <element name="wasDerivedFrom_" type="{http://openprovenance.org/model/v1.1.a}WasDerivedFromStar"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> usedOrWasGeneratedByOrWasTriggeredBy
           
 
Constructor Summary
CausalDependencies()
           
 
Method Summary
 boolean equals(Object object)
           
 void equals(Object object, EqualsBuilder equalsBuilder)
           
 List<Object> getUsedOrWasGeneratedByOrWasTriggeredBy()
          Gets the value of the usedOrWasGeneratedByOrWasTriggeredBy property.
 int hashCode()
           
 void hashCode(HashCodeBuilder hashCodeBuilder)
           
 String toString()
           
 void toString(ToStringBuilder toStringBuilder)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

usedOrWasGeneratedByOrWasTriggeredBy

protected List<Object> usedOrWasGeneratedByOrWasTriggeredBy
Constructor Detail

CausalDependencies

public CausalDependencies()
Method Detail

getUsedOrWasGeneratedByOrWasTriggeredBy

public List<Object> getUsedOrWasGeneratedByOrWasTriggeredBy()
Gets the value of the usedOrWasGeneratedByOrWasTriggeredBy property.

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 usedOrWasGeneratedByOrWasTriggeredBy property.

For example, to add a new item, do as follows:

    getUsedOrWasGeneratedByOrWasTriggeredBy().add(newItem);
 

Objects of the following type(s) are allowed in the list WasDerivedFrom Used WasControlledBy WasGeneratedByStar UsedStar WasTriggeredByStar WasGeneratedBy WasDerivedFromStar WasTriggeredBy


equals

public void equals(Object object,
                   EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public void hashCode(HashCodeBuilder hashCodeBuilder)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public void toString(ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.