@CodingStyleguideUnaware public class SalesItemType 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>Sales Item. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe information related to an item in a sales context</ccts:Definition><ccts:ObjectClass>Sales Item</ccts:ObjectClass></ccts:Component>
Java class for SalesItemType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SalesItemType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Quantity"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ActivityProperty" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxExclusivePrice" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxInclusivePrice" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Item"/>
</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 |
|---|
SalesItemType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addActivityProperty(ActivityPropertyType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addTaxExclusivePrice(PriceType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addTaxInclusivePrice(PriceType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
SalesItemType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(SalesItemType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<ActivityPropertyType> |
getActivityProperty()
<?
|
ActivityPropertyType |
getActivityPropertyAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getActivityPropertyCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
ItemType |
getItem()
<?
|
QuantityType |
getQuantity()
<?
|
BigDecimal |
getQuantityValue()
Get the value of the contained QuantityType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<PriceType> |
getTaxExclusivePrice()
<?
|
PriceType |
getTaxExclusivePriceAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getTaxExclusivePriceCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<PriceType> |
getTaxInclusivePrice()
<?
|
PriceType |
getTaxInclusivePriceAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getTaxInclusivePriceCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasActivityPropertyEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoActivityPropertyEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoTaxExclusivePriceEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoTaxInclusivePriceEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasTaxExclusivePriceEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasTaxInclusivePriceEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setActivityProperty(List<ActivityPropertyType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setItem(ItemType value)
Sets the value of the item property.
|
QuantityType |
setQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setQuantity(QuantityType value)
Sets the value of the quantity property.
|
void |
setTaxExclusivePrice(List<PriceType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setTaxInclusivePrice(List<PriceType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public SalesItemType()
@Nullable public QuantityType getQuantity()
<?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>Sales Item. Quantity</ccts:DictionaryEntryName><ccts:Definition>The quantity the given information are related to</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Sales Item</ccts:ObjectClass><ccts:PropertyTerm>Quantity</ccts:PropertyTerm><ccts:RepresentationTerm>Quantity</ccts:RepresentationTerm><ccts:DataType>Quantity. Type</ccts:DataType></ccts:Component>
QuantityTypepublic void setQuantity(@Nullable QuantityType value)
value - allowed object is
QuantityType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<ActivityPropertyType> getActivityProperty()
<?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>Sales Item. Activity Property</ccts:DictionaryEntryName><ccts:Definition>A class to describe the activity (for example "sales", "movement", ...) related to the item.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Sales Item</ccts:ObjectClass><ccts:PropertyTerm>Activity Property</ccts:PropertyTerm><ccts:AssociatedObjectClass>Activity Property</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Activity Property</ccts:RepresentationTerm></ccts:Component>Gets the value of the activityProperty 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 activityProperty property.
For example, to add a new item, do as follows:
getActivityProperty().add(newItem);
Objects of the following type(s) are allowed in the list
ActivityPropertyType
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<PriceType> getTaxExclusivePrice()
<?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>Sales Item. Tax Exclusive_ Price. Price</ccts:DictionaryEntryName><ccts:Definition>A price for this sales item, exclusive of tax.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Sales Item</ccts:ObjectClass><ccts:PropertyTermQualifier>Tax Exclusive</ccts:PropertyTermQualifier><ccts:PropertyTerm>Price</ccts:PropertyTerm><ccts:AssociatedObjectClass>Price</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Price</ccts:RepresentationTerm></ccts:Component>Gets the value of the taxExclusivePrice 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 taxExclusivePrice property.
For example, to add a new item, do as follows:
getTaxExclusivePrice().add(newItem);
Objects of the following type(s) are allowed in the list
PriceType
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<PriceType> getTaxInclusivePrice()
<?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>Sales Item. Tax Inclusive_ Price. Price</ccts:DictionaryEntryName><ccts:Definition>A price for this sales item, including tax.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Sales Item</ccts:ObjectClass><ccts:PropertyTermQualifier>Tax Inclusive</ccts:PropertyTermQualifier><ccts:PropertyTerm>Price</ccts:PropertyTerm><ccts:AssociatedObjectClass>Price</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Price</ccts:RepresentationTerm></ccts:Component>Gets the value of the taxInclusivePrice 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 taxInclusivePrice property.
For example, to add a new item, do as follows:
getTaxInclusivePrice().add(newItem);
Objects of the following type(s) are allowed in the list
PriceType
@Nullable public ItemType getItem()
<?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>Sales Item. Item</ccts:DictionaryEntryName><ccts:Definition>The sales item itself.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Sales Item</ccts:ObjectClass><ccts:PropertyTerm>Item</ccts:PropertyTerm><ccts:AssociatedObjectClass>Item</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Item</ccts:RepresentationTerm></ccts:Component>
ItemTypepublic void setItem(@Nullable ItemType value)
value - allowed object is
ItemTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setActivityProperty(@Nullable List<ActivityPropertyType> aList)
aList - The new list member to set. May be null.public void setTaxExclusivePrice(@Nullable List<PriceType> aList)
aList - The new list member to set. May be null.public void setTaxInclusivePrice(@Nullable List<PriceType> aList)
aList - The new list member to set. May be null.public boolean hasActivityPropertyEntries()
true if at least one item is contained, false otherwise.public boolean hasNoActivityPropertyEntries()
true if no item is contained, false otherwise.@Nonnegative public int getActivityPropertyCount()
@Nullable public ActivityPropertyType getActivityPropertyAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addActivityProperty(@Nonnull ActivityPropertyType elem)
elem - The element to be added. May not be null.public boolean hasTaxExclusivePriceEntries()
true if at least one item is contained, false otherwise.public boolean hasNoTaxExclusivePriceEntries()
true if no item is contained, false otherwise.@Nonnegative public int getTaxExclusivePriceCount()
@Nullable public PriceType getTaxExclusivePriceAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addTaxExclusivePrice(@Nonnull PriceType elem)
elem - The element to be added. May not be null.public boolean hasTaxInclusivePriceEntries()
true if at least one item is contained, false otherwise.public boolean hasNoTaxInclusivePriceEntries()
true if no item is contained, false otherwise.@Nonnegative public int getTaxInclusivePriceCount()
@Nullable public PriceType getTaxInclusivePriceAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addTaxInclusivePrice(@Nonnull PriceType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull SalesItemType 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 SalesItemType clone()
@Nonnull public QuantityType setQuantity(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nullable public BigDecimal getQuantityValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.