oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.StatusType 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 javax.xml.datatype.XMLGregorianCalendar;
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.ConditionCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DescriptionType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IndicationIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PercentType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ReferenceDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ReferenceTimeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.SequenceIDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.StatusReasonCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.StatusReasonType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TextType;
/**
*
*
* <?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>Status. Details</ccts:DictionaryEntryName><ccts:Definition>The information relevant to a condition or a position of an object.</ccts:Definition><ccts:ObjectClass>Status</ccts:ObjectClass></ccts:Component>
*
*
*
* Java class for StatusType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StatusType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ConditionCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReferenceDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReferenceTime" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Description" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}StatusReasonCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}StatusReason" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SequenceID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Text" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}IndicationIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Percent" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StatusType", propOrder = {
"conditionCode",
"referenceDate",
"referenceTime",
"description",
"statusReasonCode",
"statusReason",
"sequenceID",
"text",
"indicationIndicator",
"percent"
})
public class StatusType implements Serializable
{
@XmlElement(name = "ConditionCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private ConditionCodeType conditionCode;
@XmlElement(name = "ReferenceDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private ReferenceDateType referenceDate;
@XmlElement(name = "ReferenceTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private ReferenceTimeType referenceTime;
@XmlElement(name = "Description", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private DescriptionType description;
@XmlElement(name = "StatusReasonCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private StatusReasonCodeType statusReasonCode;
@XmlElement(name = "StatusReason", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private StatusReasonType statusReason;
@XmlElement(name = "SequenceID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private SequenceIDType sequenceID;
@XmlElement(name = "Text", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private TextType text;
@XmlElement(name = "IndicationIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private IndicationIndicatorType indicationIndicator;
@XmlElement(name = "Percent", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private PercentType percent;
/**
* Default constructor
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
*/
public StatusType() {
}
/**
*
*
* <?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>Status. Condition Code. Code</ccts:DictionaryEntryName><ccts:Definition>A code specifying the status condition of the related object.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Status</ccts:ObjectClass><ccts:PropertyTerm>Condition Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Transportation Status_ Code. Type</ccts:DataType><ccts:Examples>UN/ECE Rec 24</ccts:Examples></ccts:Component>
*
*
*
* @return
* possible object is
* {@link ConditionCodeType }
*
*/
@Nullable
public ConditionCodeType getConditionCode() {
return conditionCode;
}
/**
* Sets the value of the conditionCode property.
*
* @param value
* allowed object is
* {@link ConditionCodeType }
*
*/
public void setConditionCode(
@Nullable
ConditionCodeType value) {
this.conditionCode = 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>Status. Reference_ Date. Date</ccts:DictionaryEntryName><ccts:Definition>A reference date value for this status.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Status</ccts:ObjectClass><ccts:PropertyTermQualifier>Reference</ccts:PropertyTermQualifier><ccts:PropertyTerm>Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link ReferenceDateType }
*
*/
@Nullable
public ReferenceDateType getReferenceDate() {
return referenceDate;
}
/**
* Sets the value of the referenceDate property.
*
* @param value
* allowed object is
* {@link ReferenceDateType }
*
*/
public void setReferenceDate(
@Nullable
ReferenceDateType value) {
this.referenceDate = 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>Status. Reference_ Time. Time</ccts:DictionaryEntryName><ccts:Definition>A reference time value for this status.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Status</ccts:ObjectClass><ccts:PropertyTermQualifier>Reference</ccts:PropertyTermQualifier><ccts:PropertyTerm>Time</ccts:PropertyTerm><ccts:RepresentationTerm>Time</ccts:RepresentationTerm><ccts:DataType>Time. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link ReferenceTimeType }
*
*/
@Nullable
public ReferenceTimeType getReferenceTime() {
return referenceTime;
}
/**
* Sets the value of the referenceTime property.
*
* @param value
* allowed object is
* {@link ReferenceTimeType }
*
*/
public void setReferenceTime(
@Nullable
ReferenceTimeType value) {
this.referenceTime = 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>Status. Description. Text</ccts:DictionaryEntryName><ccts:Definition>A textual description of this status.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Status</ccts:ObjectClass><ccts:PropertyTerm>Description</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link DescriptionType }
*
*/
@Nullable
public DescriptionType getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link DescriptionType }
*
*/
public void setDescription(
@Nullable
DescriptionType value) {
this.description = 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>Status. Status Reason Code. Code</ccts:DictionaryEntryName><ccts:Definition>A code specifying a reason for a status condition.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Status</ccts:ObjectClass><ccts:PropertyTerm>Status Reason Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link StatusReasonCodeType }
*
*/
@Nullable
public StatusReasonCodeType getStatusReasonCode() {
return statusReasonCode;
}
/**
* Sets the value of the statusReasonCode property.
*
* @param value
* allowed object is
* {@link StatusReasonCodeType }
*
*/
public void setStatusReasonCode(
@Nullable
StatusReasonCodeType value) {
this.statusReasonCode = 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>Status. Status_ Reason. Text</ccts:DictionaryEntryName><ccts:Definition>The reason, expressed as text, for this status condition or position.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Status</ccts:ObjectClass><ccts:PropertyTermQualifier>Status</ccts:PropertyTermQualifier><ccts:PropertyTerm>Reason</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link StatusReasonType }
*
*/
@Nullable
public StatusReasonType getStatusReason() {
return statusReason;
}
/**
* Sets the value of the statusReason property.
*
* @param value
* allowed object is
* {@link StatusReasonType }
*
*/
public void setStatusReason(
@Nullable
StatusReasonType value) {
this.statusReason = 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>Status. Sequence. Identifier</ccts:DictionaryEntryName><ccts:Definition>A unique identifier of the sequence of this status.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Status</ccts:ObjectClass><ccts:PropertyTerm>Sequence</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link SequenceIDType }
*
*/
@Nullable
public SequenceIDType getSequenceID() {
return sequenceID;
}
/**
* Sets the value of the sequenceID property.
*
* @param value
* allowed object is
* {@link SequenceIDType }
*
*/
public void setSequenceID(
@Nullable
SequenceIDType value) {
this.sequenceID = 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>Status. Text</ccts:DictionaryEntryName><ccts:Definition>Provides any textual information related to this status.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Status</ccts:ObjectClass><ccts:PropertyTerm>Text</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link TextType }
*
*/
@Nullable
public TextType getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link TextType }
*
*/
public void setText(
@Nullable
TextType value) {
this.text = 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>Status. Indication_ Indicator. Indicator</ccts:DictionaryEntryName><ccts:Definition>Specifies an indicator relevant to a specific status.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Status</ccts:ObjectClass><ccts:PropertyTermQualifier>Indication</ccts:PropertyTermQualifier><ccts:PropertyTerm>Indicator</ccts:PropertyTerm><ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm><ccts:DataType>Indicator. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link IndicationIndicatorType }
*
*/
@Nullable
public IndicationIndicatorType getIndicationIndicator() {
return indicationIndicator;
}
/**
* Sets the value of the indicationIndicator property.
*
* @param value
* allowed object is
* {@link IndicationIndicatorType }
*
*/
public void setIndicationIndicator(
@Nullable
IndicationIndicatorType value) {
this.indicationIndicator = 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>Status. Percent</ccts:DictionaryEntryName><ccts:Definition>Specifies a percentage relevant to a specific status.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Status</ccts:ObjectClass><ccts:PropertyTerm>Percent</ccts:PropertyTerm><ccts:RepresentationTerm>Percent</ccts:RepresentationTerm><ccts:DataType>Percent. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link PercentType }
*
*/
@Nullable
public PercentType getPercent() {
return percent;
}
/**
* Sets the value of the percent property.
*
* @param value
* allowed object is
* {@link PercentType }
*
*/
public void setPercent(
@Nullable
PercentType value) {
this.percent = 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 StatusType rhs = ((StatusType) o);
if (!EqualsUtils.equals(conditionCode, rhs.conditionCode)) {
return false;
}
if (!EqualsUtils.equals(referenceDate, rhs.referenceDate)) {
return false;
}
if (!EqualsUtils.equals(referenceTime, rhs.referenceTime)) {
return false;
}
if (!EqualsUtils.equals(description, rhs.description)) {
return false;
}
if (!EqualsUtils.equals(statusReasonCode, rhs.statusReasonCode)) {
return false;
}
if (!EqualsUtils.equals(statusReason, rhs.statusReason)) {
return false;
}
if (!EqualsUtils.equals(sequenceID, rhs.sequenceID)) {
return false;
}
if (!EqualsUtils.equals(text, rhs.text)) {
return false;
}
if (!EqualsUtils.equals(indicationIndicator, rhs.indicationIndicator)) {
return false;
}
if (!EqualsUtils.equals(percent, rhs.percent)) {
return false;
}
return true;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-equalshashcode
*
*/
@Override
public int hashCode() {
return new HashCodeGenerator(this).append(conditionCode).append(referenceDate).append(referenceTime).append(description).append(statusReasonCode).append(statusReason).append(sequenceID).append(text).append(indicationIndicator).append(percent).getHashCode();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-tostring
*
*/
@Override
public String toString() {
return new ToStringGenerator(this).append("conditionCode", conditionCode).append("referenceDate", referenceDate).append("referenceTime", referenceTime).append("description", description).append("statusReasonCode", statusReasonCode).append("statusReason", statusReason).append("sequenceID", sequenceID).append("text", text).append("indicationIndicator", indicationIndicator).append("percent", percent).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 PercentType and never null
*/
@Nonnull
public PercentType setPercent(
@Nullable
final BigDecimal valueParam) {
PercentType aObj = getPercent();
if (aObj == null) {
aObj = new PercentType(valueParam);
setPercent(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type XMLGregorianCalendar
* 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 ReferenceTimeType and never null
*/
@Nonnull
public ReferenceTimeType setReferenceTime(
@Nullable
final XMLGregorianCalendar valueParam) {
ReferenceTimeType aObj = getReferenceTime();
if (aObj == null) {
aObj = new ReferenceTimeType(valueParam);
setReferenceTime(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type XMLGregorianCalendar
* 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 ReferenceDateType and never null
*/
@Nonnull
public ReferenceDateType setReferenceDate(
@Nullable
final XMLGregorianCalendar valueParam) {
ReferenceDateType aObj = getReferenceDate();
if (aObj == null) {
aObj = new ReferenceDateType(valueParam);
setReferenceDate(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type boolean
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set.
* @return
* The created intermediary object of type IndicationIndicatorType and never null
*/
@Nonnull
public IndicationIndicatorType setIndicationIndicator(final boolean valueParam) {
IndicationIndicatorType aObj = getIndicationIndicator();
if (aObj == null) {
aObj = new IndicationIndicatorType(valueParam);
setIndicationIndicator(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 DescriptionType and never null
*/
@Nonnull
public DescriptionType setDescription(
@Nullable
final String valueParam) {
DescriptionType aObj = getDescription();
if (aObj == null) {
aObj = new DescriptionType(valueParam);
setDescription(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 StatusReasonType and never null
*/
@Nonnull
public StatusReasonType setStatusReason(
@Nullable
final String valueParam) {
StatusReasonType aObj = getStatusReason();
if (aObj == null) {
aObj = new StatusReasonType(valueParam);
setStatusReason(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 TextType and never null
*/
@Nonnull
public TextType setText(
@Nullable
final String valueParam) {
TextType aObj = getText();
if (aObj == null) {
aObj = new TextType(valueParam);
setText(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 SequenceIDType and never null
*/
@Nonnull
public SequenceIDType setSequenceID(
@Nullable
final String valueParam) {
SequenceIDType aObj = getSequenceID();
if (aObj == null) {
aObj = new SequenceIDType(valueParam);
setSequenceID(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 ConditionCodeType and never null
*/
@Nonnull
public ConditionCodeType setConditionCode(
@Nullable
final String valueParam) {
ConditionCodeType aObj = getConditionCode();
if (aObj == null) {
aObj = new ConditionCodeType(valueParam);
setConditionCode(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 StatusReasonCodeType and never null
*/
@Nonnull
public StatusReasonCodeType setStatusReasonCode(
@Nullable
final String valueParam) {
StatusReasonCodeType aObj = getStatusReasonCode();
if (aObj == null) {
aObj = new StatusReasonCodeType(valueParam);
setStatusReasonCode(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Get the value of the contained ConditionCodeType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained ConditionCodeType object or null
*/
@Nullable
public String getConditionCodeValue() {
ConditionCodeType aObj = getConditionCode();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained ReferenceDateType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained ReferenceDateType object or null
*/
@Nullable
public XMLGregorianCalendar getReferenceDateValue() {
ReferenceDateType aObj = getReferenceDate();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained ReferenceTimeType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained ReferenceTimeType object or null
*/
@Nullable
public XMLGregorianCalendar getReferenceTimeValue() {
ReferenceTimeType aObj = getReferenceTime();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained DescriptionType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained DescriptionType object or null
*/
@Nullable
public String getDescriptionValue() {
DescriptionType aObj = getDescription();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained StatusReasonCodeType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained StatusReasonCodeType object or null
*/
@Nullable
public String getStatusReasonCodeValue() {
StatusReasonCodeType aObj = getStatusReasonCode();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained StatusReasonType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained StatusReasonType object or null
*/
@Nullable
public String getStatusReasonValue() {
StatusReasonType aObj = getStatusReason();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained SequenceIDType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained SequenceIDType object or null
*/
@Nullable
public String getSequenceIDValue() {
SequenceIDType aObj = getSequenceID();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained TextType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained TextType object or null
*/
@Nullable
public String getTextValue() {
TextType aObj = getText();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained IndicationIndicatorType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param nullValue
* The value to be returned, if the owning object is null
null
*/
@Nullable
public BigDecimal getPercentValue() {
PercentType aObj = getPercent();
return ((aObj == null)?null:aObj.getValue());
}
}