org.unece.cefact.namespaces.sbdh.ServiceTransaction Maven / Gradle / Ivy
package org.unece.cefact.namespaces.sbdh;
import java.io.Serializable;
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.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;
/**
* Java class for ServiceTransaction complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ServiceTransaction">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="TypeOfServiceTransaction" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}TypeOfServiceTransaction" />
* <attribute name="IsNonRepudiationRequired" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="IsAuthenticationRequired" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="IsNonRepudiationOfReceiptRequired" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="IsIntelligibleCheckRequired" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="IsApplicationErrorResponseRequested" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="TimeToAcknowledgeReceipt" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="TimeToAcknowledgeAcceptance" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="TimeToPerform" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="Recurrence" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </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-cloneable
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ServiceTransaction")
@CodingStyleguideUnaware
public class ServiceTransaction implements Serializable, Cloneable
{
@XmlAttribute(name = "TypeOfServiceTransaction")
private TypeOfServiceTransaction typeOfServiceTransaction;
@XmlAttribute(name = "IsNonRepudiationRequired")
private String isNonRepudiationRequired;
@XmlAttribute(name = "IsAuthenticationRequired")
private String isAuthenticationRequired;
@XmlAttribute(name = "IsNonRepudiationOfReceiptRequired")
private String isNonRepudiationOfReceiptRequired;
@XmlAttribute(name = "IsIntelligibleCheckRequired")
private String isIntelligibleCheckRequired;
@XmlAttribute(name = "IsApplicationErrorResponseRequested")
private String isApplicationErrorResponseRequested;
@XmlAttribute(name = "TimeToAcknowledgeReceipt")
private String timeToAcknowledgeReceipt;
@XmlAttribute(name = "TimeToAcknowledgeAcceptance")
private String timeToAcknowledgeAcceptance;
@XmlAttribute(name = "TimeToPerform")
private String timeToPerform;
@XmlAttribute(name = "Recurrence")
private String recurrence;
/**
* Gets the value of the typeOfServiceTransaction property.
*
* @return
* possible object is
* {@link TypeOfServiceTransaction }
*
*/
@Nullable
public TypeOfServiceTransaction getTypeOfServiceTransaction() {
return typeOfServiceTransaction;
}
/**
* Sets the value of the typeOfServiceTransaction property.
*
* @param value
* allowed object is
* {@link TypeOfServiceTransaction }
*
*/
public void setTypeOfServiceTransaction(
@Nullable
TypeOfServiceTransaction value) {
this.typeOfServiceTransaction = value;
}
/**
* Gets the value of the isNonRepudiationRequired property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getIsNonRepudiationRequired() {
return isNonRepudiationRequired;
}
/**
* Sets the value of the isNonRepudiationRequired property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIsNonRepudiationRequired(
@Nullable
String value) {
this.isNonRepudiationRequired = value;
}
/**
* Gets the value of the isAuthenticationRequired property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getIsAuthenticationRequired() {
return isAuthenticationRequired;
}
/**
* Sets the value of the isAuthenticationRequired property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIsAuthenticationRequired(
@Nullable
String value) {
this.isAuthenticationRequired = value;
}
/**
* Gets the value of the isNonRepudiationOfReceiptRequired property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getIsNonRepudiationOfReceiptRequired() {
return isNonRepudiationOfReceiptRequired;
}
/**
* Sets the value of the isNonRepudiationOfReceiptRequired property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIsNonRepudiationOfReceiptRequired(
@Nullable
String value) {
this.isNonRepudiationOfReceiptRequired = value;
}
/**
* Gets the value of the isIntelligibleCheckRequired property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getIsIntelligibleCheckRequired() {
return isIntelligibleCheckRequired;
}
/**
* Sets the value of the isIntelligibleCheckRequired property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIsIntelligibleCheckRequired(
@Nullable
String value) {
this.isIntelligibleCheckRequired = value;
}
/**
* Gets the value of the isApplicationErrorResponseRequested property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getIsApplicationErrorResponseRequested() {
return isApplicationErrorResponseRequested;
}
/**
* Sets the value of the isApplicationErrorResponseRequested property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIsApplicationErrorResponseRequested(
@Nullable
String value) {
this.isApplicationErrorResponseRequested = value;
}
/**
* Gets the value of the timeToAcknowledgeReceipt property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getTimeToAcknowledgeReceipt() {
return timeToAcknowledgeReceipt;
}
/**
* Sets the value of the timeToAcknowledgeReceipt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTimeToAcknowledgeReceipt(
@Nullable
String value) {
this.timeToAcknowledgeReceipt = value;
}
/**
* Gets the value of the timeToAcknowledgeAcceptance property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getTimeToAcknowledgeAcceptance() {
return timeToAcknowledgeAcceptance;
}
/**
* Sets the value of the timeToAcknowledgeAcceptance property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTimeToAcknowledgeAcceptance(
@Nullable
String value) {
this.timeToAcknowledgeAcceptance = value;
}
/**
* Gets the value of the timeToPerform property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getTimeToPerform() {
return timeToPerform;
}
/**
* Sets the value of the timeToPerform property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTimeToPerform(
@Nullable
String value) {
this.timeToPerform = value;
}
/**
* Gets the value of the recurrence property.
*
* @return
* possible object is
* {@link String }
*
*/
@Nullable
public String getRecurrence() {
return recurrence;
}
/**
* Sets the value of the recurrence property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRecurrence(
@Nullable
String value) {
this.recurrence = value;
}
/**
* Created by ph-jaxb22-plugin -Xph-equalshashcode
*
*/
@Override
public boolean equals(final Object o) {
if (o == this) {
return true;
}
if ((o == null)||(!getClass().equals(o.getClass()))) {
return false;
}
final ServiceTransaction rhs = ((ServiceTransaction) o);
if (!EqualsHelper.equals(typeOfServiceTransaction, rhs.typeOfServiceTransaction)) {
return false;
}
if (!EqualsHelper.equals(isNonRepudiationRequired, rhs.isNonRepudiationRequired)) {
return false;
}
if (!EqualsHelper.equals(isAuthenticationRequired, rhs.isAuthenticationRequired)) {
return false;
}
if (!EqualsHelper.equals(isNonRepudiationOfReceiptRequired, rhs.isNonRepudiationOfReceiptRequired)) {
return false;
}
if (!EqualsHelper.equals(isIntelligibleCheckRequired, rhs.isIntelligibleCheckRequired)) {
return false;
}
if (!EqualsHelper.equals(isApplicationErrorResponseRequested, rhs.isApplicationErrorResponseRequested)) {
return false;
}
if (!EqualsHelper.equals(timeToAcknowledgeReceipt, rhs.timeToAcknowledgeReceipt)) {
return false;
}
if (!EqualsHelper.equals(timeToAcknowledgeAcceptance, rhs.timeToAcknowledgeAcceptance)) {
return false;
}
if (!EqualsHelper.equals(timeToPerform, rhs.timeToPerform)) {
return false;
}
if (!EqualsHelper.equals(recurrence, rhs.recurrence)) {
return false;
}
return true;
}
/**
* Created by ph-jaxb22-plugin -Xph-equalshashcode
*
*/
@Override
public int hashCode() {
return new HashCodeGenerator(this).append(typeOfServiceTransaction).append(isNonRepudiationRequired).append(isAuthenticationRequired).append(isNonRepudiationOfReceiptRequired).append(isIntelligibleCheckRequired).append(isApplicationErrorResponseRequested).append(timeToAcknowledgeReceipt).append(timeToAcknowledgeAcceptance).append(timeToPerform).append(recurrence).getHashCode();
}
/**
* Created by ph-jaxb22-plugin -Xph-tostring
*
*/
@Override
public String toString() {
return new ToStringGenerator(this).append("typeOfServiceTransaction", typeOfServiceTransaction).append("isNonRepudiationRequired", isNonRepudiationRequired).append("isAuthenticationRequired", isAuthenticationRequired).append("isNonRepudiationOfReceiptRequired", isNonRepudiationOfReceiptRequired).append("isIntelligibleCheckRequired", isIntelligibleCheckRequired).append("isApplicationErrorResponseRequested", isApplicationErrorResponseRequested).append("timeToAcknowledgeReceipt", timeToAcknowledgeReceipt).append("timeToAcknowledgeAcceptance", timeToAcknowledgeAcceptance).append("timeToPerform", timeToPerform).append("recurrence", recurrence).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-cloneable
*
* @param ret
* The target object to clone to. May not be null
.
*/
public void cloneTo(
@Nonnull
ServiceTransaction ret) {
ret.isApplicationErrorResponseRequested = isApplicationErrorResponseRequested;
ret.isAuthenticationRequired = isAuthenticationRequired;
ret.isIntelligibleCheckRequired = isIntelligibleCheckRequired;
ret.isNonRepudiationOfReceiptRequired = isNonRepudiationOfReceiptRequired;
ret.isNonRepudiationRequired = isNonRepudiationRequired;
ret.recurrence = recurrence;
ret.timeToAcknowledgeAcceptance = timeToAcknowledgeAcceptance;
ret.timeToAcknowledgeReceipt = timeToAcknowledgeReceipt;
ret.timeToPerform = timeToPerform;
ret.typeOfServiceTransaction = typeOfServiceTransaction;
}
/**
* Created by ph-jaxb22-plugin -Xph-cloneable
*
* @return
* The cloned object. Never null
.
*/
@Nonnull
@ReturnsMutableCopy
@Override
public ServiceTransaction clone() {
ServiceTransaction ret = new ServiceTransaction();
cloneTo(ret);
return ret;
}
}