fish.focus.schema.exchange.module.v1.ProcessedMovementResponseBatch Maven / Gradle / Ivy
package fish.focus.schema.exchange.module.v1;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import fish.focus.schema.exchange.movement.v1.MovementRefType;
import fish.focus.schema.exchange.movement.v1.SetReportMovementType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <extension base="{urn:module.exchange.schema.focus.fish:v1}ExchangeBaseRequest">
* <sequence>
* <element name="orgRequest" type="{urn:movement.exchange.schema.focus.fish:v1}SetReportMovementType" maxOccurs="unbounded"/>
* <element name="movementRefType" type="{urn:movement.exchange.schema.focus.fish:v1}MovementRefType"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"orgRequest",
"movementRefType"
})
@XmlRootElement(name = "ProcessedMovementResponseBatch")
public class ProcessedMovementResponseBatch
extends ExchangeBaseRequest
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
protected List orgRequest;
@XmlElement(required = true)
protected MovementRefType movementRefType;
/**
* Gets the value of the orgRequest 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 orgRequest property.
*
*
* For example, to add a new item, do as follows:
*
* getOrgRequest().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SetReportMovementType }
*
*
*/
public List getOrgRequest() {
if (orgRequest == null) {
orgRequest = new ArrayList();
}
return this.orgRequest;
}
/**
* Gets the value of the movementRefType property.
*
* @return
* possible object is
* {@link MovementRefType }
*
*/
public MovementRefType getMovementRefType() {
return movementRefType;
}
/**
* Sets the value of the movementRefType property.
*
* @param value
* allowed object is
* {@link MovementRefType }
*
*/
public void setMovementRefType(MovementRefType value) {
this.movementRefType = value;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}