@CodingStyleguideUnaware public class PartyTaxSchemeType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Party Tax Scheme. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe a taxation scheme applying to a party.</ccts:Definition><ccts:ObjectClass>Party Tax Scheme</ccts:ObjectClass></ccts:Component>
Java class for PartyTaxSchemeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PartyTaxSchemeType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RegistrationName" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CompanyID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxLevelCode" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ExemptionReasonCode" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ExemptionReason" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}RegistrationAddress" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxScheme"/>
</sequence>
</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-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
PartyTaxSchemeType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addExemptionReason(ExemptionReasonType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
PartyTaxSchemeType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(PartyTaxSchemeType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
CompanyIDType |
getCompanyID()
<?
|
String |
getCompanyIDValue()
Get the value of the contained CompanyIDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<ExemptionReasonType> |
getExemptionReason()
<?
|
ExemptionReasonType |
getExemptionReasonAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
ExemptionReasonCodeType |
getExemptionReasonCode()
<?
|
String |
getExemptionReasonCodeValue()
Get the value of the contained ExemptionReasonCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
int |
getExemptionReasonCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
AddressType |
getRegistrationAddress()
<?
|
RegistrationNameType |
getRegistrationName()
<?
|
String |
getRegistrationNameValue()
Get the value of the contained RegistrationNameType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
TaxLevelCodeType |
getTaxLevelCode()
<?
|
String |
getTaxLevelCodeValue()
Get the value of the contained TaxLevelCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
TaxSchemeType |
getTaxScheme()
<?
|
boolean |
hasExemptionReasonEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoExemptionReasonEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setCompanyID(CompanyIDType value)
Sets the value of the companyID property.
|
CompanyIDType |
setCompanyID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setExemptionReason(List<ExemptionReasonType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setExemptionReasonCode(ExemptionReasonCodeType value)
Sets the value of the exemptionReasonCode property.
|
ExemptionReasonCodeType |
setExemptionReasonCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setRegistrationAddress(AddressType value)
Sets the value of the registrationAddress property.
|
void |
setRegistrationName(RegistrationNameType value)
Sets the value of the registrationName property.
|
RegistrationNameType |
setRegistrationName(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
TaxLevelCodeType |
setTaxLevelCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setTaxLevelCode(TaxLevelCodeType value)
Sets the value of the taxLevelCode property.
|
void |
setTaxScheme(TaxSchemeType value)
Sets the value of the taxScheme property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public PartyTaxSchemeType()
@Nullable public RegistrationNameType getRegistrationName()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Party Tax Scheme. Registration_ Name. Name</ccts:DictionaryEntryName><ccts:Definition>The name of the party as registered with the relevant fiscal authority.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Party Tax Scheme</ccts:ObjectClass><ccts:PropertyTermQualifier>Registration</ccts:PropertyTermQualifier><ccts:PropertyTerm>Name</ccts:PropertyTerm><ccts:RepresentationTerm>Name</ccts:RepresentationTerm><ccts:DataType>Name. Type</ccts:DataType><ccts:Examples>Microsoft Corporation </ccts:Examples></ccts:Component>
RegistrationNameTypepublic void setRegistrationName(@Nullable RegistrationNameType value)
value - allowed object is
RegistrationNameType@Nullable public CompanyIDType getCompanyID()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Party Tax Scheme. Company Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>An identifier for the party assigned for tax purposes by the taxation authority.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Party Tax Scheme</ccts:ObjectClass><ccts:PropertyTerm>Company Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:AlternativeBusinessTerms>VAT Number</ccts:AlternativeBusinessTerms><ccts:Examples>3556625 </ccts:Examples></ccts:Component>
CompanyIDTypepublic void setCompanyID(@Nullable CompanyIDType value)
value - allowed object is
CompanyIDType@Nullable public TaxLevelCodeType getTaxLevelCode()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Party Tax Scheme. Tax Level Code. Code</ccts:DictionaryEntryName><ccts:Definition>A code signifying the tax level applicable to the party within this taxation scheme.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Party Tax Scheme</ccts:ObjectClass><ccts:PropertyTerm>Tax Level Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
TaxLevelCodeTypepublic void setTaxLevelCode(@Nullable TaxLevelCodeType value)
value - allowed object is
TaxLevelCodeType@Nullable public ExemptionReasonCodeType getExemptionReasonCode()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Party Tax Scheme. Exemption Reason Code. Code</ccts:DictionaryEntryName><ccts:Definition>A reason for the party's exemption from tax, expressed as a code.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Party Tax Scheme</ccts:ObjectClass><ccts:PropertyTerm>Exemption Reason Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
ExemptionReasonCodeTypepublic void setExemptionReasonCode(@Nullable ExemptionReasonCodeType value)
value - allowed object is
ExemptionReasonCodeType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<ExemptionReasonType> getExemptionReason()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Party Tax Scheme. Exemption_ Reason. Text</ccts:DictionaryEntryName><ccts:Definition>A reason for the party's exemption from tax, expressed as text.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Party Tax Scheme</ccts:ObjectClass><ccts:PropertyTermQualifier>Exemption</ccts:PropertyTermQualifier><ccts:PropertyTerm>Reason</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>Gets the value of the exemptionReason property.
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the exemptionReason property.
For example, to add a new item, do as follows:
getExemptionReason().add(newItem);
Objects of the following type(s) are allowed in the list
ExemptionReasonType
@Nullable public AddressType getRegistrationAddress()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Party Tax Scheme. Registration_ Address. Address</ccts:DictionaryEntryName><ccts:Definition>The address of the party as registered for tax purposes.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Party Tax Scheme</ccts:ObjectClass><ccts:PropertyTermQualifier>Registration</ccts:PropertyTermQualifier><ccts:PropertyTerm>Address</ccts:PropertyTerm><ccts:AssociatedObjectClass>Address</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Address</ccts:RepresentationTerm></ccts:Component>
AddressTypepublic void setRegistrationAddress(@Nullable AddressType value)
value - allowed object is
AddressType@Nullable public TaxSchemeType getTaxScheme()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Party Tax Scheme. Tax Scheme</ccts:DictionaryEntryName><ccts:Definition>The taxation scheme applicable to the party.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Party Tax Scheme</ccts:ObjectClass><ccts:PropertyTerm>Tax Scheme</ccts:PropertyTerm><ccts:AssociatedObjectClass>Tax Scheme</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Tax Scheme</ccts:RepresentationTerm></ccts:Component>
TaxSchemeTypepublic void setTaxScheme(@Nullable TaxSchemeType value)
value - allowed object is
TaxSchemeTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setExemptionReason(@Nullable List<ExemptionReasonType> aList)
aList - The new list member to set. May be null.public boolean hasExemptionReasonEntries()
true if at least one item is contained, false otherwise.public boolean hasNoExemptionReasonEntries()
true if no item is contained, false otherwise.@Nonnegative public int getExemptionReasonCount()
@Nullable public ExemptionReasonType getExemptionReasonAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addExemptionReason(@Nonnull ExemptionReasonType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull PartyTaxSchemeType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public PartyTaxSchemeType clone()
@Nonnull public TaxLevelCodeType setTaxLevelCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public ExemptionReasonCodeType setExemptionReasonCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public CompanyIDType setCompanyID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public RegistrationNameType setRegistrationName(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getRegistrationNameValue()
null@Nullable public String getCompanyIDValue()
null@Nullable public String getTaxLevelCodeValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.