@CodingStyleguideUnaware public class PricingReferenceType 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>Pricing Reference. Details</ccts:DictionaryEntryName><ccts:Definition>A reference to the basis for pricing. This may be based on a catalogue or a quoted amount from a price list and include some alternative pricing conditions.</ccts:Definition><ccts:ObjectClass>Pricing Reference</ccts:ObjectClass></ccts:Component>
Java class for PricingReferenceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PricingReferenceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OriginalItemLocationQuantity" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AlternativeConditionPrice" maxOccurs="unbounded" minOccurs="0"/>
</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 |
|---|
PricingReferenceType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlternativeConditionPrice(PriceType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
PricingReferenceType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(PricingReferenceType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<PriceType> |
getAlternativeConditionPrice()
<?
|
PriceType |
getAlternativeConditionPriceAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getAlternativeConditionPriceCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
ItemLocationQuantityType |
getOriginalItemLocationQuantity()
<?
|
boolean |
hasAlternativeConditionPriceEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoAlternativeConditionPriceEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setAlternativeConditionPrice(List<PriceType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setOriginalItemLocationQuantity(ItemLocationQuantityType value)
Sets the value of the originalItemLocationQuantity property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public PricingReferenceType()
@Nullable public ItemLocationQuantityType getOriginalItemLocationQuantity()
<?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>Pricing Reference. Original_ Item Location Quantity. Item Location Quantity</ccts:DictionaryEntryName><ccts:Definition>An original set of location-specific properties (e.g., price and quantity) associated with this item.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Pricing Reference</ccts:ObjectClass><ccts:PropertyTermQualifier>Original</ccts:PropertyTermQualifier><ccts:PropertyTerm>Item Location Quantity</ccts:PropertyTerm><ccts:AssociatedObjectClass>Item Location Quantity</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Item Location Quantity</ccts:RepresentationTerm></ccts:Component>
ItemLocationQuantityTypepublic void setOriginalItemLocationQuantity(@Nullable ItemLocationQuantityType value)
value - allowed object is
ItemLocationQuantityType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<PriceType> getAlternativeConditionPrice()
<?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>Pricing Reference. Alternative Condition_ Price. Price</ccts:DictionaryEntryName><ccts:Definition>The price expressed in terms other than the actual price, e.g., the list price v. the contracted price, or the price in bags v. the price in kilos, or the list price in bags v. the contracted price in kilos.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Pricing Reference</ccts:ObjectClass><ccts:PropertyTermQualifier>Alternative Condition</ccts:PropertyTermQualifier><ccts:PropertyTerm>Price</ccts:PropertyTerm><ccts:AssociatedObjectClass>Price</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Price</ccts:RepresentationTerm></ccts:Component>Gets the value of the alternativeConditionPrice 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 alternativeConditionPrice property.
For example, to add a new item, do as follows:
getAlternativeConditionPrice().add(newItem);
Objects of the following type(s) are allowed in the list
PriceType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setAlternativeConditionPrice(@Nullable List<PriceType> aList)
aList - The new list member to set. May be null.public boolean hasAlternativeConditionPriceEntries()
true if at least one item is contained, false otherwise.public boolean hasNoAlternativeConditionPriceEntries()
true if no item is contained, false otherwise.@Nonnegative public int getAlternativeConditionPriceCount()
@Nullable public PriceType getAlternativeConditionPriceAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addAlternativeConditionPrice(@Nonnull PriceType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull PricingReferenceType 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 PricingReferenceType clone()
Copyright © 2014–2020 Philip Helger. All rights reserved.