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

oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.EndorserPartyType Maven / Gradle / Ivy


package oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2;

import java.io.Serializable;
import java.math.BigDecimal;
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
import com.phloc.commons.equals.EqualsUtils;
import com.phloc.commons.hash.HashCodeGenerator;
import com.phloc.commons.string.ToStringGenerator;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RoleCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.SequenceNumericType;


/**
 * 
 * 
 * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Endorser Party. Details</ccts:DictionaryEntryName><ccts:Definition>The party endorsing a document.</ccts:Definition><ccts:ObjectClass>Endorser Party</ccts:ObjectClass></ccts:Component>
 * 
* * *

Java class for EndorserPartyType complex type. * *

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

 * <complexType name="EndorserPartyType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RoleCode"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SequenceNumeric"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Party"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}SignatoryContact"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EndorserPartyType", propOrder = { "roleCode", "sequenceNumeric", "party", "signatoryContact" }) public class EndorserPartyType implements Serializable { @XmlElement(name = "RoleCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true) private RoleCodeType roleCode; @XmlElement(name = "SequenceNumeric", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true) private SequenceNumericType sequenceNumeric; @XmlElement(name = "Party", required = true) private PartyType party; @XmlElement(name = "SignatoryContact", required = true) private ContactType signatoryContact; /** * Default constructor * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * */ public EndorserPartyType() { } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Endorser Party. Role Code. Code</ccts:DictionaryEntryName><ccts:Definition>The role of the party providing the endorsement, e.g., Issuer, Embassy, Insurance, etc.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Endorser Party</ccts:ObjectClass><ccts:PropertyTerm>Role Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link RoleCodeType } * */ @Nullable public RoleCodeType getRoleCode() { return roleCode; } /** * Sets the value of the roleCode property. * * @param value * allowed object is * {@link RoleCodeType } * */ public void setRoleCode( @Nullable RoleCodeType value) { this.roleCode = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Endorser Party. Sequence. Numeric</ccts:DictionaryEntryName><ccts:Definition>The sequence in which the endorsements are to be applied.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Endorser Party</ccts:ObjectClass><ccts:PropertyTerm>Sequence</ccts:PropertyTerm><ccts:RepresentationTerm>Numeric</ccts:RepresentationTerm><ccts:DataType>Numeric. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link SequenceNumericType } * */ @Nullable public SequenceNumericType getSequenceNumeric() { return sequenceNumeric; } /** * Sets the value of the sequenceNumeric property. * * @param value * allowed object is * {@link SequenceNumericType } * */ public void setSequenceNumeric( @Nullable SequenceNumericType value) { this.sequenceNumeric = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Endorser Party. Party</ccts:DictionaryEntryName><ccts:Definition>Details of the party endorsing the application.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Endorser Party</ccts:ObjectClass><ccts:PropertyTerm>Party</ccts:PropertyTerm><ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass></ccts:Component>
     * 
* * * @return * possible object is * {@link PartyType } * */ @Nullable public PartyType getParty() { return party; } /** * Sets the value of the party property. * * @param value * allowed object is * {@link PartyType } * */ public void setParty( @Nullable PartyType value) { this.party = value; } /** * *
     * <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Endorser Party. Signatory_ Contact. Contact</ccts:DictionaryEntryName><ccts:Definition>Details of the individual representing the exporter who signs the Certificate of Origin application before submitting it to the Issuer Party.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Endorser Party</ccts:ObjectClass><ccts:PropertyTermQualifier>Signatory</ccts:PropertyTermQualifier><ccts:PropertyTerm>Contact</ccts:PropertyTerm><ccts:AssociatedObjectClass>Contact</ccts:AssociatedObjectClass></ccts:Component>
     * 
* * * @return * possible object is * {@link ContactType } * */ @Nullable public ContactType getSignatoryContact() { return signatoryContact; } /** * Sets the value of the signatoryContact property. * * @param value * allowed object is * {@link ContactType } * */ public void setSignatoryContact( @Nullable ContactType value) { this.signatoryContact = value; } /** * Created by phloc-jaxb22-plugin -Xphloc-equalshashcode * */ @Override public boolean equals(final Object o) { if (o == this) { return true; } if ((o == null)||(!getClass().equals(o.getClass()))) { return false; } final EndorserPartyType rhs = ((EndorserPartyType) o); if (!EqualsUtils.equals(roleCode, rhs.roleCode)) { return false; } if (!EqualsUtils.equals(sequenceNumeric, rhs.sequenceNumeric)) { return false; } if (!EqualsUtils.equals(party, rhs.party)) { return false; } if (!EqualsUtils.equals(signatoryContact, rhs.signatoryContact)) { return false; } return true; } /** * Created by phloc-jaxb22-plugin -Xphloc-equalshashcode * */ @Override public int hashCode() { return new HashCodeGenerator(this).append(roleCode).append(sequenceNumeric).append(party).append(signatoryContact).getHashCode(); } /** * Created by phloc-jaxb22-plugin -Xphloc-tostring * */ @Override public String toString() { return new ToStringGenerator(this).append("roleCode", roleCode).append("sequenceNumeric", sequenceNumeric).append("party", party).append("signatoryContact", signatoryContact).toString(); } /** * Special setter with value of type BigDecimal * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type SequenceNumericType and never null */ @Nonnull public SequenceNumericType setSequenceNumeric( @Nullable final BigDecimal valueParam) { SequenceNumericType aObj = getSequenceNumeric(); if (aObj == null) { aObj = new SequenceNumericType(valueParam); setSequenceNumeric(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type RoleCodeType and never null */ @Nonnull public RoleCodeType setRoleCode( @Nullable final String valueParam) { RoleCodeType aObj = getRoleCode(); if (aObj == null) { aObj = new RoleCodeType(valueParam); setRoleCode(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Get the value of the contained RoleCodeType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained RoleCodeType object or null */ @Nullable public String getRoleCodeValue() { RoleCodeType aObj = getRoleCode(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained SequenceNumericType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained SequenceNumericType object or null */ @Nullable public BigDecimal getSequenceNumericValue() { SequenceNumericType aObj = getSequenceNumeric(); return ((aObj == null)?null:aObj.getValue()); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy