
org.freebxml.omar.jaxb.bindings.lcm.RelocateObjectsRequest Maven / Gradle / Ivy
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.12.21 at 10:41:46 AM CET
//
package org.freebxml.omar.jaxb.bindings.lcm;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
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 org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.freebxml.omar.jaxb.bindings.rim.AdhocQueryType;
import org.freebxml.omar.jaxb.bindings.rim.ObjectRefType;
import org.freebxml.omar.jaxb.bindings.rs.RegistryRequestType;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rs:4.0}RegistryRequestType">
* <sequence>
* <element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}AdhocQuery"/>
* <element name="SourceRegistry" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ObjectRefType"/>
* <element name="DestinationRegistry" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ObjectRefType"/>
* <element name="OwnerAtSource" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ObjectRefType"/>
* <element name="OwnerAtDestination" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ObjectRefType"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"adhocQuery",
"sourceRegistry",
"destinationRegistry",
"ownerAtSource",
"ownerAtDestination"
})
@XmlRootElement(name = "RelocateObjectsRequest")
@Entity(name = "org.freebxml.omar.jaxb.bindings.lcm.RelocateObjectsRequest")
@Table(name = "RELOCATEOBJECTSREQUEST")
public class RelocateObjectsRequest
extends RegistryRequestType
implements Equals, HashCode
{
@XmlElement(name = "AdhocQuery", namespace = "urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0", required = true)
protected AdhocQueryType adhocQuery;
@XmlElement(name = "SourceRegistry", required = true)
protected ObjectRefType sourceRegistry;
@XmlElement(name = "DestinationRegistry", required = true)
protected ObjectRefType destinationRegistry;
@XmlElement(name = "OwnerAtSource", required = true)
protected ObjectRefType ownerAtSource;
@XmlElement(name = "OwnerAtDestination", required = true)
protected ObjectRefType ownerAtDestination;
/**
* Gets the value of the adhocQuery property.
*
* @return
* possible object is
* {@link AdhocQueryType }
*
*/
@ManyToOne(cascade = {
CascadeType.ALL
})
@JoinColumn(name = "ADHOCQUERY_ADHOCQUERYTYPE_ID")
public AdhocQueryType getAdhocQuery() {
return adhocQuery;
}
/**
* Sets the value of the adhocQuery property.
*
* @param value
* allowed object is
* {@link AdhocQueryType }
*
*/
public void setAdhocQuery(AdhocQueryType value) {
this.adhocQuery = value;
}
/**
* Gets the value of the sourceRegistry property.
*
* @return
* possible object is
* {@link ObjectRefType }
*
*/
@ManyToOne(cascade = {
CascadeType.ALL
})
@JoinColumn(name = "SOURCEREGISTRY_OBJECTREFTYPE_0")
public ObjectRefType getSourceRegistry() {
return sourceRegistry;
}
/**
* Sets the value of the sourceRegistry property.
*
* @param value
* allowed object is
* {@link ObjectRefType }
*
*/
public void setSourceRegistry(ObjectRefType value) {
this.sourceRegistry = value;
}
/**
* Gets the value of the destinationRegistry property.
*
* @return
* possible object is
* {@link ObjectRefType }
*
*/
@ManyToOne(cascade = {
CascadeType.ALL
})
@JoinColumn(name = "DESTINATIONREGISTRY_OBJECTRE_0")
public ObjectRefType getDestinationRegistry() {
return destinationRegistry;
}
/**
* Sets the value of the destinationRegistry property.
*
* @param value
* allowed object is
* {@link ObjectRefType }
*
*/
public void setDestinationRegistry(ObjectRefType value) {
this.destinationRegistry = value;
}
/**
* Gets the value of the ownerAtSource property.
*
* @return
* possible object is
* {@link ObjectRefType }
*
*/
@ManyToOne(cascade = {
CascadeType.ALL
})
@JoinColumn(name = "OWNERATSOURCE_OBJECTREFTYPE__0")
public ObjectRefType getOwnerAtSource() {
return ownerAtSource;
}
/**
* Sets the value of the ownerAtSource property.
*
* @param value
* allowed object is
* {@link ObjectRefType }
*
*/
public void setOwnerAtSource(ObjectRefType value) {
this.ownerAtSource = value;
}
/**
* Gets the value of the ownerAtDestination property.
*
* @return
* possible object is
* {@link ObjectRefType }
*
*/
@ManyToOne(cascade = {
CascadeType.ALL
})
@JoinColumn(name = "OWNERATDESTINATION_OBJECTREF_0")
public ObjectRefType getOwnerAtDestination() {
return ownerAtDestination;
}
/**
* Sets the value of the ownerAtDestination property.
*
* @param value
* allowed object is
* {@link ObjectRefType }
*
*/
public void setOwnerAtDestination(ObjectRefType value) {
this.ownerAtDestination = value;
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof RelocateObjectsRequest)) {
equalsBuilder.appendSuper(false);
return ;
}
if (this == object) {
return ;
}
super.equals(object, equalsBuilder);
final RelocateObjectsRequest that = ((RelocateObjectsRequest) object);
equalsBuilder.append(this.getAdhocQuery(), that.getAdhocQuery());
equalsBuilder.append(this.getSourceRegistry(), that.getSourceRegistry());
equalsBuilder.append(this.getDestinationRegistry(), that.getDestinationRegistry());
equalsBuilder.append(this.getOwnerAtSource(), that.getOwnerAtSource());
equalsBuilder.append(this.getOwnerAtDestination(), that.getOwnerAtDestination());
}
public boolean equals(Object object) {
if (!(object instanceof RelocateObjectsRequest)) {
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.getAdhocQuery());
hashCodeBuilder.append(this.getSourceRegistry());
hashCodeBuilder.append(this.getDestinationRegistry());
hashCodeBuilder.append(this.getOwnerAtSource());
hashCodeBuilder.append(this.getOwnerAtDestination());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy