org.openprovenance.model
Class Agents
java.lang.Object
org.openprovenance.model.Agents
- All Implemented Interfaces:
- org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
public class Agents
- extends Object
- implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Agents complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Agents">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="agent" type="{http://openprovenance.org/model/opmx#}Agent" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
agent
protected List<Agent> agent
Agents
public Agents()
getAgent
public List<Agent> getAgent()
- Gets the value of the agent 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 agent property.
For example, to add a new item, do as follows:
getAgent().add(newItem);
Objects of the following type(s) are allowed in the list
Agent
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.