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

no.digipost.org.oasis_open.docs.ebxml_bp.ebbp_signals_2.ProcessSpecificationInfoType Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2021.12.01 at 12:54:39 PM UTC 
//


package no.digipost.org.oasis_open.docs.ebxml_bp.ebbp_signals_2;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import no.digipost.org.w3.xlink.TypeType;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 *  This defines the content structure for identifying the
 *                 root ProcessSpecification for which this business signal is being sent. "instanceVersion"
 *                 attribute refers to the user-defined version of the ProcessSpecification identified by the "name"
 *                 attribute. The "name" attribute is set to the same value as name
 *                 attribute for the corresponding ProcessSpecification element within the
 *                 Business Process Specification instance (For example, the @name attribute of "name" attributeGroup in ebBP). The "xlink:type" attribute has a FIXED
 *                 value of "simple". This identifies the element as being an XLINK simple link. The
 *                 "xlink:href" attribute has a value that is a URI that conforms to [RFC2396].
 *                 It identifies the location of the Business Process Specification instance document that defines the
 *                 Business Collaboration. The "uuid" attribute captures the unique identifier given to
 *                 the Business Process Specification instance document that is being referred. It corresponds to the
 *                 uuid attribute of "ProcessSpecification" element in the Business Process Specification instance document.
 *             
 * 
 * 

Java class for ProcessSpecificationInfoType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="ProcessSpecificationInfoType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <attGroup ref="{http://docs.oasis-open.org/ebxml-bp/ebbp-signals-2.0}xlink.grp"/>
 *       <attribute name="instanceVersion" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="uuid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ProcessSpecificationInfoType") public class ProcessSpecificationInfoType implements Equals2, HashCode2, ToString2 { @XmlAttribute(name = "instanceVersion") protected String instanceVersion; @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "uuid", required = true) protected String uuid; @XmlAttribute(name = "type", namespace = "http://www.w3.org/1999/xlink") protected TypeType type; @XmlAttribute(name = "href", namespace = "http://www.w3.org/1999/xlink", required = true) protected String href; /** * Default no-arg constructor * */ public ProcessSpecificationInfoType() { super(); } /** * Fully-initialising value constructor * */ public ProcessSpecificationInfoType(final String instanceVersion, final String name, final String uuid, final TypeType type, final String href) { this.instanceVersion = instanceVersion; this.name = name; this.uuid = uuid; this.type = type; this.href = href; } /** * Gets the value of the instanceVersion property. * * @return * possible object is * {@link String } * */ public String getInstanceVersion() { return instanceVersion; } /** * Sets the value of the instanceVersion property. * * @param value * allowed object is * {@link String } * */ public void setInstanceVersion(String value) { this.instanceVersion = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the uuid property. * * @return * possible object is * {@link String } * */ public String getUuid() { return uuid; } /** * Sets the value of the uuid property. * * @param value * allowed object is * {@link String } * */ public void setUuid(String value) { this.uuid = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link TypeType } * */ public TypeType getType() { if (type == null) { return TypeType.SIMPLE; } else { return type; } } /** * Sets the value of the type property. * * @param value * allowed object is * {@link TypeType } * */ public void setType(TypeType value) { this.type = value; } /** * Gets the value of the href property. * * @return * possible object is * {@link String } * */ public String getHref() { return href; } /** * Sets the value of the href property. * * @param value * allowed object is * {@link String } * */ public void setHref(String value) { this.href = value; } public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE2; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theInstanceVersion; theInstanceVersion = this.getInstanceVersion(); strategy.appendField(locator, this, "instanceVersion", buffer, theInstanceVersion, (this.instanceVersion!= null)); } { String theName; theName = this.getName(); strategy.appendField(locator, this, "name", buffer, theName, (this.name!= null)); } { String theUuid; theUuid = this.getUuid(); strategy.appendField(locator, this, "uuid", buffer, theUuid, (this.uuid!= null)); } { TypeType theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType, (this.type!= null)); } { String theHref; theHref = this.getHref(); strategy.appendField(locator, this, "href", buffer, theHref, (this.href!= null)); } return buffer; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } final ProcessSpecificationInfoType that = ((ProcessSpecificationInfoType) object); { String lhsInstanceVersion; lhsInstanceVersion = this.getInstanceVersion(); String rhsInstanceVersion; rhsInstanceVersion = that.getInstanceVersion(); if (!strategy.equals(LocatorUtils.property(thisLocator, "instanceVersion", lhsInstanceVersion), LocatorUtils.property(thatLocator, "instanceVersion", rhsInstanceVersion), lhsInstanceVersion, rhsInstanceVersion, (this.instanceVersion!= null), (that.instanceVersion!= null))) { return false; } } { String lhsName; lhsName = this.getName(); String rhsName; rhsName = that.getName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName, (this.name!= null), (that.name!= null))) { return false; } } { String lhsUuid; lhsUuid = this.getUuid(); String rhsUuid; rhsUuid = that.getUuid(); if (!strategy.equals(LocatorUtils.property(thisLocator, "uuid", lhsUuid), LocatorUtils.property(thatLocator, "uuid", rhsUuid), lhsUuid, rhsUuid, (this.uuid!= null), (that.uuid!= null))) { return false; } } { TypeType lhsType; lhsType = this.getType(); TypeType rhsType; rhsType = that.getType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "type", lhsType), LocatorUtils.property(thatLocator, "type", rhsType), lhsType, rhsType, (this.type!= null), (that.type!= null))) { return false; } } { String lhsHref; lhsHref = this.getHref(); String rhsHref; rhsHref = that.getHref(); if (!strategy.equals(LocatorUtils.property(thisLocator, "href", lhsHref), LocatorUtils.property(thatLocator, "href", rhsHref), lhsHref, rhsHref, (this.href!= null), (that.href!= null))) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE2; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { String theInstanceVersion; theInstanceVersion = this.getInstanceVersion(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "instanceVersion", theInstanceVersion), currentHashCode, theInstanceVersion, (this.instanceVersion!= null)); } { String theName; theName = this.getName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName, (this.name!= null)); } { String theUuid; theUuid = this.getUuid(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "uuid", theUuid), currentHashCode, theUuid, (this.uuid!= null)); } { TypeType theType; theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType, (this.type!= null)); } { String theHref; theHref = this.getHref(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "href", theHref), currentHashCode, theHref, (this.href!= null)); } return currentHashCode; } public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE2; return this.hashCode(null, strategy); } public ProcessSpecificationInfoType withInstanceVersion(String value) { setInstanceVersion(value); return this; } public ProcessSpecificationInfoType withName(String value) { setName(value); return this; } public ProcessSpecificationInfoType withUuid(String value) { setUuid(value); return this; } public ProcessSpecificationInfoType withType(TypeType value) { setType(value); return this; } public ProcessSpecificationInfoType withHref(String value) { setHref(value); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy