Class ResponseType


  • public class ResponseType
    extends Object

    Java class for ResponseType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="ResponseType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReferenceID" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ResponseCode" 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}EffectiveDate" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}EffectiveTime" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Status" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • ResponseType

        public ResponseType()
    • Method Detail

      • setReferenceID

        public void setReferenceID​(ReferenceIDType value)
        Sets the value of the referenceID property.
        Parameters:
        value - allowed object is ReferenceIDType
      • setResponseCode

        public void setResponseCode​(ResponseCodeType value)
        Sets the value of the responseCode property.
        Parameters:
        value - allowed object is ResponseCodeType
      • getDescription

        public List<DescriptionType> getDescription()
        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

      • setEffectiveDate

        public void setEffectiveDate​(EffectiveDateType value)
        Sets the value of the effectiveDate property.
        Parameters:
        value - allowed object is EffectiveDateType
      • setEffectiveTime

        public void setEffectiveTime​(EffectiveTimeType value)
        Sets the value of the effectiveTime property.
        Parameters:
        value - allowed object is EffectiveTimeType
      • getStatus

        public List<StatusType> getStatus()
        Gets the value of the status 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 status property.

        For example, to add a new item, do as follows:

            getStatus().add(newItem);
         

        Objects of the following type(s) are allowed in the list StatusType