org.openprovenance.model
Class OPMGraph

java.lang.Object
  extended by org.openprovenance.model.OPMGraph
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString, Annotable, Identifiable
Direct Known Subclasses:
IndexedOPMGraph, RdfOPMGraph

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

Java class for OPMGraph complex type. See OPMGraph.


Field Summary
protected  Accounts accounts
           
protected  Agents agents
           
protected  List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotation
           
protected  Annotations annotations
           
protected  Artifacts artifacts
           
protected  Dependencies dependencies
           
protected  String id
           
protected  Processes processes
           
 
Constructor Summary
OPMGraph()
           
 
Method Summary
 boolean equals(Object object)
           
 void equals(Object object, EqualsBuilder equalsBuilder)
           
 Accounts getAccounts()
          Gets the value of the accounts property.
 Agents getAgents()
          Gets the value of the agents property.
 List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> getAnnotation()
          Gets the value of the annotation property.
 Annotations getAnnotations()
          Gets the value of the annotations property.
 Artifacts getArtifacts()
          Gets the value of the artifacts property.
 Dependencies getDependencies()
          Gets the value of the dependencies property.
 String getId()
          Gets the value of the id property.
 Processes getProcesses()
          Gets the value of the processes property.
 int hashCode()
           
 void hashCode(HashCodeBuilder hashCodeBuilder)
           
 void setAccounts(Accounts value)
          Sets the value of the accounts property.
 void setAgents(Agents value)
          Sets the value of the agents property.
 void setAnnotations(Annotations value)
          Sets the value of the annotations property.
 void setArtifacts(Artifacts value)
          Sets the value of the artifacts property.
 void setDependencies(Dependencies value)
          Sets the value of the dependencies property.
 void setId(String value)
          Sets the value of the id property.
 void setProcesses(Processes value)
          Sets the value of the processes property.
 String toString()
           
 void toString(ToStringBuilder toStringBuilder)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

accounts

protected Accounts accounts

processes

protected Processes processes

artifacts

protected Artifacts artifacts

agents

protected Agents agents

dependencies

protected Dependencies dependencies

annotations

protected Annotations annotations

annotation

protected List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotation

id

protected String id
Constructor Detail

OPMGraph

public OPMGraph()
Method Detail

getAccounts

public Accounts getAccounts()
Gets the value of the accounts property.

Returns:
possible object is Accounts

setAccounts

public void setAccounts(Accounts value)
Sets the value of the accounts property.

Parameters:
value - allowed object is Accounts

getProcesses

public Processes getProcesses()
Gets the value of the processes property.

Returns:
possible object is Processes

setProcesses

public void setProcesses(Processes value)
Sets the value of the processes property.

Parameters:
value - allowed object is Processes

getArtifacts

public Artifacts getArtifacts()
Gets the value of the artifacts property.

Returns:
possible object is Artifacts

setArtifacts

public void setArtifacts(Artifacts value)
Sets the value of the artifacts property.

Parameters:
value - allowed object is Artifacts

getAgents

public Agents getAgents()
Gets the value of the agents property.

Returns:
possible object is Agents

setAgents

public void setAgents(Agents value)
Sets the value of the agents property.

Parameters:
value - allowed object is Agents

getDependencies

public Dependencies getDependencies()
Gets the value of the dependencies property.

Returns:
possible object is Dependencies

setDependencies

public void setDependencies(Dependencies value)
Sets the value of the dependencies property.

Parameters:
value - allowed object is Dependencies

getAnnotations

public Annotations getAnnotations()
Gets the value of the annotations property.

Returns:
possible object is Annotations

setAnnotations

public void setAnnotations(Annotations value)
Sets the value of the annotations property.

Parameters:
value - allowed object is Annotations

getAnnotation

public List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> getAnnotation()
Gets the value of the annotation 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 annotation property.

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

    getAnnotation().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<Value> JAXBElement<Type> JAXBElement<Label> JAXBElement<PName> JAXBElement<EmbeddedAnnotation> JAXBElement<Profile>

Specified by:
getAnnotation in interface Annotable

getId

public String getId()
Gets the value of the id property.

Specified by:
getId in interface Identifiable
Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Specified by:
setId in interface Identifiable
Parameters:
value - allowed object is String

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 © 2011. All Rights Reserved.