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

org.etsi.uri._01903.v1_3.SignedSignaturePropertiesType Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.07.19 at 05:08:29 PM CEST 
//


package org.etsi.uri._01903.v1_3;

import java.io.Serializable;
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.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
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.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * 

Java class for SignedSignaturePropertiesType complex type. * *

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

 * <complexType name="SignedSignaturePropertiesType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="SigningTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="SigningCertificate" type="{http://uri.etsi.org/01903/v1.3.2#}CertIDListType" minOccurs="0"/>
 *         <element name="SignaturePolicyIdentifier" type="{http://uri.etsi.org/01903/v1.3.2#}SignaturePolicyIdentifierType" minOccurs="0"/>
 *         <element name="SignatureProductionPlace" type="{http://uri.etsi.org/01903/v1.3.2#}SignatureProductionPlaceType" minOccurs="0"/>
 *         <element name="SignerRole" type="{http://uri.etsi.org/01903/v1.3.2#}SignerRoleType" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SignedSignaturePropertiesType", propOrder = { "signingTime", "signingCertificate", "signaturePolicyIdentifier", "signatureProductionPlace", "signerRole" }) public class SignedSignaturePropertiesType implements Serializable, Equals, HashCode, ToString { private final static long serialVersionUID = 100L; @XmlElement(name = "SigningTime") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar signingTime; @XmlElement(name = "SigningCertificate") protected CertIDListType signingCertificate; @XmlElement(name = "SignaturePolicyIdentifier") protected SignaturePolicyIdentifierType signaturePolicyIdentifier; @XmlElement(name = "SignatureProductionPlace") protected SignatureProductionPlaceType signatureProductionPlace; @XmlElement(name = "SignerRole") protected SignerRoleType signerRole; @XmlAttribute(name = "Id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; /** * Gets the value of the signingTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getSigningTime() { return signingTime; } /** * Sets the value of the signingTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setSigningTime(XMLGregorianCalendar value) { this.signingTime = value; } /** * Gets the value of the signingCertificate property. * * @return * possible object is * {@link CertIDListType } * */ public CertIDListType getSigningCertificate() { return signingCertificate; } /** * Sets the value of the signingCertificate property. * * @param value * allowed object is * {@link CertIDListType } * */ public void setSigningCertificate(CertIDListType value) { this.signingCertificate = value; } /** * Gets the value of the signaturePolicyIdentifier property. * * @return * possible object is * {@link SignaturePolicyIdentifierType } * */ public SignaturePolicyIdentifierType getSignaturePolicyIdentifier() { return signaturePolicyIdentifier; } /** * Sets the value of the signaturePolicyIdentifier property. * * @param value * allowed object is * {@link SignaturePolicyIdentifierType } * */ public void setSignaturePolicyIdentifier(SignaturePolicyIdentifierType value) { this.signaturePolicyIdentifier = value; } /** * Gets the value of the signatureProductionPlace property. * * @return * possible object is * {@link SignatureProductionPlaceType } * */ public SignatureProductionPlaceType getSignatureProductionPlace() { return signatureProductionPlace; } /** * Sets the value of the signatureProductionPlace property. * * @param value * allowed object is * {@link SignatureProductionPlaceType } * */ public void setSignatureProductionPlace(SignatureProductionPlaceType value) { this.signatureProductionPlace = value; } /** * Gets the value of the signerRole property. * * @return * possible object is * {@link SignerRoleType } * */ public SignerRoleType getSignerRole() { return signerRole; } /** * Sets the value of the signerRole property. * * @param value * allowed object is * {@link SignerRoleType } * */ public void setSignerRole(SignerRoleType value) { this.signerRole = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } public String toString() { final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { XMLGregorianCalendar theSigningTime; theSigningTime = this.getSigningTime(); strategy.appendField(locator, this, "signingTime", buffer, theSigningTime); } { CertIDListType theSigningCertificate; theSigningCertificate = this.getSigningCertificate(); strategy.appendField(locator, this, "signingCertificate", buffer, theSigningCertificate); } { SignaturePolicyIdentifierType theSignaturePolicyIdentifier; theSignaturePolicyIdentifier = this.getSignaturePolicyIdentifier(); strategy.appendField(locator, this, "signaturePolicyIdentifier", buffer, theSignaturePolicyIdentifier); } { SignatureProductionPlaceType theSignatureProductionPlace; theSignatureProductionPlace = this.getSignatureProductionPlace(); strategy.appendField(locator, this, "signatureProductionPlace", buffer, theSignatureProductionPlace); } { SignerRoleType theSignerRole; theSignerRole = this.getSignerRole(); strategy.appendField(locator, this, "signerRole", buffer, theSignerRole); } { String theId; theId = this.getId(); strategy.appendField(locator, this, "id", buffer, theId); } return buffer; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof SignedSignaturePropertiesType)) { return false; } if (this == object) { return true; } final SignedSignaturePropertiesType that = ((SignedSignaturePropertiesType) object); { XMLGregorianCalendar lhsSigningTime; lhsSigningTime = this.getSigningTime(); XMLGregorianCalendar rhsSigningTime; rhsSigningTime = that.getSigningTime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "signingTime", lhsSigningTime), LocatorUtils.property(thatLocator, "signingTime", rhsSigningTime), lhsSigningTime, rhsSigningTime)) { return false; } } { CertIDListType lhsSigningCertificate; lhsSigningCertificate = this.getSigningCertificate(); CertIDListType rhsSigningCertificate; rhsSigningCertificate = that.getSigningCertificate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "signingCertificate", lhsSigningCertificate), LocatorUtils.property(thatLocator, "signingCertificate", rhsSigningCertificate), lhsSigningCertificate, rhsSigningCertificate)) { return false; } } { SignaturePolicyIdentifierType lhsSignaturePolicyIdentifier; lhsSignaturePolicyIdentifier = this.getSignaturePolicyIdentifier(); SignaturePolicyIdentifierType rhsSignaturePolicyIdentifier; rhsSignaturePolicyIdentifier = that.getSignaturePolicyIdentifier(); if (!strategy.equals(LocatorUtils.property(thisLocator, "signaturePolicyIdentifier", lhsSignaturePolicyIdentifier), LocatorUtils.property(thatLocator, "signaturePolicyIdentifier", rhsSignaturePolicyIdentifier), lhsSignaturePolicyIdentifier, rhsSignaturePolicyIdentifier)) { return false; } } { SignatureProductionPlaceType lhsSignatureProductionPlace; lhsSignatureProductionPlace = this.getSignatureProductionPlace(); SignatureProductionPlaceType rhsSignatureProductionPlace; rhsSignatureProductionPlace = that.getSignatureProductionPlace(); if (!strategy.equals(LocatorUtils.property(thisLocator, "signatureProductionPlace", lhsSignatureProductionPlace), LocatorUtils.property(thatLocator, "signatureProductionPlace", rhsSignatureProductionPlace), lhsSignatureProductionPlace, rhsSignatureProductionPlace)) { return false; } } { SignerRoleType lhsSignerRole; lhsSignerRole = this.getSignerRole(); SignerRoleType rhsSignerRole; rhsSignerRole = that.getSignerRole(); if (!strategy.equals(LocatorUtils.property(thisLocator, "signerRole", lhsSignerRole), LocatorUtils.property(thatLocator, "signerRole", rhsSignerRole), lhsSignerRole, rhsSignerRole)) { return false; } } { String lhsId; lhsId = this.getId(); String rhsId; rhsId = that.getId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { XMLGregorianCalendar theSigningTime; theSigningTime = this.getSigningTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "signingTime", theSigningTime), currentHashCode, theSigningTime); } { CertIDListType theSigningCertificate; theSigningCertificate = this.getSigningCertificate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "signingCertificate", theSigningCertificate), currentHashCode, theSigningCertificate); } { SignaturePolicyIdentifierType theSignaturePolicyIdentifier; theSignaturePolicyIdentifier = this.getSignaturePolicyIdentifier(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "signaturePolicyIdentifier", theSignaturePolicyIdentifier), currentHashCode, theSignaturePolicyIdentifier); } { SignatureProductionPlaceType theSignatureProductionPlace; theSignatureProductionPlace = this.getSignatureProductionPlace(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "signatureProductionPlace", theSignatureProductionPlace), currentHashCode, theSignatureProductionPlace); } { SignerRoleType theSignerRole; theSignerRole = this.getSignerRole(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "signerRole", theSignerRole), currentHashCode, theSignerRole); } { String theId; theId = this.getId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy