@CodingStyleguideUnaware public class SubcontractTermsType 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>Subcontract Terms. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe subcontract terms for a tendering process.</ccts:Definition><ccts:ObjectClass>Subcontract Terms</ccts:ObjectClass></ccts:Component>
Java class for SubcontractTermsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SubcontractTermsType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Rate" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}UnknownPriceIndicator" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Description" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Amount" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SubcontractingConditionsCode" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MaximumPercent" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MinimumPercent" 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 |
|---|
SubcontractTermsType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addDescription(DescriptionType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
SubcontractTermsType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(SubcontractTermsType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
AmountType |
getAmount()
<?
|
BigDecimal |
getAmountValue()
Get the value of the contained AmountType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<DescriptionType> |
getDescription()
<?
|
DescriptionType |
getDescriptionAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getDescriptionCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
MaximumPercentType |
getMaximumPercent()
<?
|
BigDecimal |
getMaximumPercentValue()
Get the value of the contained MaximumPercentType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
MinimumPercentType |
getMinimumPercent()
<?
|
BigDecimal |
getMinimumPercentValue()
Get the value of the contained MinimumPercentType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
RateType |
getRate()
<?
|
BigDecimal |
getRateValue()
Get the value of the contained RateType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
SubcontractingConditionsCodeType |
getSubcontractingConditionsCode()
<?
|
String |
getSubcontractingConditionsCodeValue()
Get the value of the contained SubcontractingConditionsCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
UnknownPriceIndicatorType |
getUnknownPriceIndicator()
<?
|
boolean |
hasDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
isUnknownPriceIndicatorValue(boolean nullValue)
Get the value of the contained UnknownPriceIndicatorType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setAmount(AmountType value)
Sets the value of the amount property.
|
AmountType |
setAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setDescription(List<DescriptionType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
MaximumPercentType |
setMaximumPercent(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setMaximumPercent(MaximumPercentType value)
Sets the value of the maximumPercent property.
|
MinimumPercentType |
setMinimumPercent(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setMinimumPercent(MinimumPercentType value)
Sets the value of the minimumPercent property.
|
RateType |
setRate(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setRate(RateType value)
Sets the value of the rate property.
|
SubcontractingConditionsCodeType |
setSubcontractingConditionsCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setSubcontractingConditionsCode(SubcontractingConditionsCodeType value)
Sets the value of the subcontractingConditionsCode property.
|
UnknownPriceIndicatorType |
setUnknownPriceIndicator(boolean valueParam)
Special setter with value of type boolean
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setUnknownPriceIndicator(UnknownPriceIndicatorType value)
Sets the value of the unknownPriceIndicator property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public SubcontractTermsType()
@Nullable public RateType getRate()
<?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>Subcontract Terms. Rate</ccts:DictionaryEntryName><ccts:Definition>MF: I agree with the query. Rate?</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Subcontract Terms</ccts:ObjectClass><ccts:PropertyTerm>Rate</ccts:PropertyTerm><ccts:RepresentationTerm>Rate</ccts:RepresentationTerm><ccts:DataType>Rate. Type</ccts:DataType></ccts:Component>
RateTypepublic void setRate(@Nullable RateType value)
value - allowed object is
RateType@Nullable public UnknownPriceIndicatorType getUnknownPriceIndicator()
<?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>Subcontract Terms. Unknown_ Price. Indicator</ccts:DictionaryEntryName><ccts:Definition>An indicator that the subcontract price is known (true) or not (false).</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Subcontract Terms</ccts:ObjectClass><ccts:PropertyTermQualifier>Unknown</ccts:PropertyTermQualifier><ccts:PropertyTerm>Price</ccts:PropertyTerm><ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm><ccts:DataType>Indicator. Type</ccts:DataType></ccts:Component>
UnknownPriceIndicatorTypepublic void setUnknownPriceIndicator(@Nullable UnknownPriceIndicatorType value)
value - allowed object is
UnknownPriceIndicatorType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<DescriptionType> getDescription()
<?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>Subcontract Terms. Description. Text</ccts:DictionaryEntryName><ccts:Definition>Text describing the subcontract terms.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Subcontract Terms</ccts:ObjectClass><ccts:PropertyTerm>Description</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>Gets the value of the description 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 description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
@Nullable public AmountType getAmount()
<?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>Subcontract Terms. Amount</ccts:DictionaryEntryName><ccts:Definition>The monetary amount assigned to the subcontracted task.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Subcontract Terms</ccts:ObjectClass><ccts:PropertyTerm>Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType></ccts:Component>
AmountTypepublic void setAmount(@Nullable AmountType value)
value - allowed object is
AmountType@Nullable public SubcontractingConditionsCodeType getSubcontractingConditionsCode()
<?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>Subcontract Terms. Subcontracting Conditions Code. Code</ccts:DictionaryEntryName><ccts:Definition>A code specifying the conditions for subcontracting.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Subcontract Terms</ccts:ObjectClass><ccts:PropertyTerm>Subcontracting Conditions Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
SubcontractingConditionsCodeTypepublic void setSubcontractingConditionsCode(@Nullable SubcontractingConditionsCodeType value)
value - allowed object is
SubcontractingConditionsCodeType@Nullable public MaximumPercentType getMaximumPercent()
<?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>Subcontract Terms. Maximum_ Percent. Percent</ccts:DictionaryEntryName><ccts:Definition>The maximum percentage allowed to be subcontracted.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Subcontract Terms</ccts:ObjectClass><ccts:PropertyTermQualifier>Maximum</ccts:PropertyTermQualifier><ccts:PropertyTerm>Percent</ccts:PropertyTerm><ccts:RepresentationTerm>Percent</ccts:RepresentationTerm><ccts:DataType>Percent. Type</ccts:DataType></ccts:Component>
MaximumPercentTypepublic void setMaximumPercent(@Nullable MaximumPercentType value)
value - allowed object is
MaximumPercentType@Nullable public MinimumPercentType getMinimumPercent()
<?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>Subcontract Terms. Minimum_ Percent. Percent</ccts:DictionaryEntryName><ccts:Definition>The minimum percentage allowed to be subcontracted.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Subcontract Terms</ccts:ObjectClass><ccts:PropertyTermQualifier>Minimum</ccts:PropertyTermQualifier><ccts:PropertyTerm>Percent</ccts:PropertyTerm><ccts:RepresentationTerm>Percent</ccts:RepresentationTerm><ccts:DataType>Percent. Type</ccts:DataType></ccts:Component>
MinimumPercentTypepublic void setMinimumPercent(@Nullable MinimumPercentType value)
value - allowed object is
MinimumPercentTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setDescription(@Nullable List<DescriptionType> aList)
aList - The new list member to set. May be null.public boolean hasDescriptionEntries()
true if at least one item is contained, false otherwise.public boolean hasNoDescriptionEntries()
true if no item is contained, false otherwise.@Nonnegative public int getDescriptionCount()
@Nullable public DescriptionType getDescriptionAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addDescription(@Nonnull DescriptionType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull SubcontractTermsType 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 SubcontractTermsType clone()
@Nonnull public AmountType setAmount(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public SubcontractingConditionsCodeType setSubcontractingConditionsCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public UnknownPriceIndicatorType setUnknownPriceIndicator(boolean valueParam)
valueParam - The value to be set.null@Nonnull public MaximumPercentType setMaximumPercent(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public MinimumPercentType setMinimumPercent(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public RateType setRate(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nullable public BigDecimal getRateValue()
nullpublic boolean isUnknownPriceIndicatorValue(boolean nullValue)
nullValue - The value to be returned, if the owning object is null@Nullable public BigDecimal getAmountValue()
null@Nullable public String getSubcontractingConditionsCodeValue()
null@Nullable public BigDecimal getMaximumPercentValue()
null@Nullable public BigDecimal getMinimumPercentValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.