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

com.helger.regrep.lcm.SubmitObjectsRequest Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version

package com.helger.regrep.lcm;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import com.helger.commons.annotation.CodingStyleguideUnaware;
import com.helger.commons.annotation.ReturnsMutableCopy;
import com.helger.commons.equals.EqualsHelper;
import com.helger.commons.hashcode.HashCodeGenerator;
import com.helger.commons.string.ToStringGenerator;
import com.helger.regrep.rim.RegistryObjectListType;
import com.helger.regrep.rs.RegistryRequestType;


/**
 * 

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" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="checkReferences" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="mode" type="{urn:oasis:names:tc:ebxml-regrep:xsd:lcm:4.0}mode" default="CreateOrReplace" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
*

This class was annotated by ph-jaxb22-plugin -Xph-annotate

*

This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode

*

This class contains methods created by ph-jaxb22-plugin -Xph-tostring

*

This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2

*

This class contains methods created by ph-jaxb22-plugin -Xph-value-extender

* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "registryObjectList" }) @XmlRootElement(name = "SubmitObjectsRequest") @CodingStyleguideUnaware public class SubmitObjectsRequest extends RegistryRequestType { @XmlElement(name = "RegistryObjectList", namespace = "urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0") private RegistryObjectListType registryObjectList; @XmlAttribute(name = "checkReferences") private Boolean checkReferences; @XmlAttribute(name = "mode") private Mode mode; /** * Default constructor
* Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * */ public SubmitObjectsRequest() { } /** * Gets the value of the registryObjectList property. * * @return * possible object is * {@link RegistryObjectListType } * */ @Nullable public RegistryObjectListType getRegistryObjectList() { return registryObjectList; } /** * Sets the value of the registryObjectList property. * * @param value * allowed object is * {@link RegistryObjectListType } * */ public void setRegistryObjectList( @Nullable RegistryObjectListType value) { this.registryObjectList = value; } /** * Gets the value of the checkReferences property. * * @return * possible object is * {@link Boolean } * */ public boolean isCheckReferences() { if (checkReferences == null) { return false; } else { return checkReferences; } } /** * Sets the value of the checkReferences property. * * @param value * allowed object is * {@link Boolean } * */ public void setCheckReferences( @Nullable Boolean value) { this.checkReferences = value; } /** * Gets the value of the mode property. * * @return * possible object is * {@link Mode } * */ @Nullable public Mode getMode() { if (mode == null) { return Mode.CREATE_OR_REPLACE; } else { return mode; } } /** * Sets the value of the mode property. * * @param value * allowed object is * {@link Mode } * */ public void setMode( @Nullable Mode value) { this.mode = value; } /** * Created by ph-jaxb22-plugin -Xph-equalshashcode * */ @Override public boolean equals(final Object o) { if (o == this) { return true; } if (!super.equals(o)) { return false; } final SubmitObjectsRequest rhs = ((SubmitObjectsRequest) o); if (!EqualsHelper.equals(checkReferences, rhs.checkReferences)) { return false; } if (!EqualsHelper.equals(mode, rhs.mode)) { return false; } if (!EqualsHelper.equals(registryObjectList, rhs.registryObjectList)) { return false; } return true; } /** * Created by ph-jaxb22-plugin -Xph-equalshashcode * */ @Override public int hashCode() { return HashCodeGenerator.getDerived(super.hashCode()).append(checkReferences).append(mode).append(registryObjectList).getHashCode(); } /** * Created by ph-jaxb22-plugin -Xph-tostring * */ @Override public String toString() { return ToStringGenerator.getDerived(super.toString()).append("checkReferences", checkReferences).append("mode", mode).append("registryObjectList", registryObjectList).getToString(); } /** * This method clones all values from this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2 * * @param ret * The target object to clone to. May not be null. */ public void cloneTo( @Nonnull SubmitObjectsRequest ret) { super.cloneTo(ret); ret.checkReferences = checkReferences; ret.mode = mode; ret.registryObjectList = ((registryObjectList == null)?null:registryObjectList.clone()); } /** * Created by ph-jaxb22-plugin -Xph-cloneable2 * * @return * The cloned object. Never null. */ @Nonnull @ReturnsMutableCopy @Override public SubmitObjectsRequest clone() { SubmitObjectsRequest ret = new SubmitObjectsRequest(); cloneTo(ret); return ret; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy