Class ProductCategory

  • All Implemented Interfaces:
    Serializable

    public class ProductCategory
    extends Object
    implements Serializable
    Type for TYPE OF PRODUCT CATEGORY description.

    Java class for ProductCategoryStructure complex type.

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

     <complexType name="ProductCategoryStructure">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="ProductCategoryCode" type="{http://www.siri.org.uk/siri}ProductCategoryCodeType"/>
             <element name="Name" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded"/>
             <element name="Icon" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • ProductCategory

        public ProductCategory()
    • Method Detail

      • getProductCategoryCode

        public String getProductCategoryCode()
        Gets the value of the productCategoryCode property.
        Returns:
        possible object is String
      • setProductCategoryCode

        public void setProductCategoryCode​(String value)
        Sets the value of the productCategoryCode property.
        Parameters:
        value - allowed object is String
      • getNames

        public List<NaturalLanguageStringStructure> getNames()
        Gets the value of the names 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 names property.

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

            getNames().add(newItem);
         

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

      • getIcon

        public String getIcon()
        Gets the value of the icon property.
        Returns:
        possible object is String
      • setIcon

        public void setIcon​(String value)
        Sets the value of the icon property.
        Parameters:
        value - allowed object is String