Package org.cxml

Class Vendor


  • public class Vendor
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Vendor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Address getAddress()
      Gets the value of the address property.
      java.lang.String getPreferred()
      Gets the value of the preferred property.
      java.util.List<SupplierID> getSupplierID()
      Gets the value of the supplierID property.
      void setAddress​(Address value)
      Sets the value of the address property.
      void setPreferred​(java.lang.String value)
      Sets the value of the preferred property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • preferred

        protected java.lang.String preferred
      • address

        protected Address address
      • supplierID

        protected java.util.List<SupplierID> supplierID
    • Constructor Detail

      • Vendor

        public Vendor()
    • Method Detail

      • getPreferred

        public java.lang.String getPreferred()
        Gets the value of the preferred property.
        Returns:
        possible object is String
      • setPreferred

        public void setPreferred​(java.lang.String value)
        Sets the value of the preferred property.
        Parameters:
        value - allowed object is String
      • getAddress

        public Address getAddress()
        Gets the value of the address property.
        Returns:
        possible object is Address
      • setAddress

        public void setAddress​(Address value)
        Sets the value of the address property.
        Parameters:
        value - allowed object is Address
      • getSupplierID

        public java.util.List<SupplierID> getSupplierID()
        Gets the value of the supplierID 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 supplierID property.

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

            getSupplierID().add(newItem);
         

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