All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.freebxml.omar.jaxb.bindings.lcm.UpdateObjectsRequest 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.RegistryObjectListType;
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}RegistryObjectList"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "registryObjectList" }) @XmlRootElement(name = "UpdateObjectsRequest") @Entity(name = "org.freebxml.omar.jaxb.bindings.lcm.UpdateObjectsRequest") @Table(name = "UPDATEOBJECTSREQUEST") public class UpdateObjectsRequest extends RegistryRequestType implements Equals, HashCode { @XmlElement(name = "RegistryObjectList", namespace = "urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0", required = true) protected RegistryObjectListType registryObjectList; /** * Gets the value of the registryObjectList property. * * @return * possible object is * {@link RegistryObjectListType } * */ @ManyToOne(cascade = { CascadeType.ALL }) @JoinColumn(name = "REGISTRYOBJECTLIST_REGISTRYO_0") public RegistryObjectListType getRegistryObjectList() { return registryObjectList; } /** * Sets the value of the registryObjectList property. * * @param value * allowed object is * {@link RegistryObjectListType } * */ public void setRegistryObjectList(RegistryObjectListType value) { this.registryObjectList = value; } public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof UpdateObjectsRequest)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final UpdateObjectsRequest that = ((UpdateObjectsRequest) object); equalsBuilder.append(this.getRegistryObjectList(), that.getRegistryObjectList()); } public boolean equals(Object object) { if (!(object instanceof UpdateObjectsRequest)) { 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.getRegistryObjectList()); } public int hashCode() { final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder(); hashCode(hashCodeBuilder); return hashCodeBuilder.toHashCode(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy