Class EconomicOperatorRoleType


  • public class EconomicOperatorRoleType
    extends Object

    Java class for EconomicOperatorRoleType complex type.

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

     <complexType name="EconomicOperatorRoleType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RoleCode" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RoleDescription" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • EconomicOperatorRoleType

        public EconomicOperatorRoleType()
    • Method Detail

      • getRoleCode

        public RoleCodeType getRoleCode()
        Gets the value of the roleCode property.
        Returns:
        possible object is RoleCodeType
      • setRoleCode

        public void setRoleCode​(RoleCodeType value)
        Sets the value of the roleCode property.
        Parameters:
        value - allowed object is RoleCodeType
      • getRoleDescription

        public List<RoleDescriptionType> getRoleDescription()
        Gets the value of the roleDescription 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 roleDescription property.

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

            getRoleDescription().add(newItem);
         

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