Class MenuEntry


  • public class MenuEntry
    extends Object
    Definition: An entryof the menu to present to the Cashier -- Usage: It conveys messageType text and parameters of the menu entry. This output data could be only provided for an input command, in order to choose an entryof the menu.

    Java class for MenuEntry complex type.

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

     <complexType name="MenuEntry">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="PredefinedContent" type="{}PredefinedContent" minOccurs="0"/>
             <element name="OutputText" type="{}OutputText" maxOccurs="unbounded" minOccurs="0"/>
             <element name="OutputXHTML" type="{}OutputXHTML" minOccurs="0"/>
           </sequence>
           <attribute name="MenuEntryTag" type="{}MenuEntryTagType" default="Selectable" />
           <attribute name="OutputFormat" use="required" type="{}OutputFormatType" />
           <attribute name="DefaultSelectedFlag" type="{}DefaultSelectedFlag" default="false" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • predefinedContent

        protected PredefinedContent predefinedContent
        The Predefined content.
      • outputXHTML

        protected byte[] outputXHTML
        The Output xhtml.
      • defaultSelectedFlag

        protected Boolean defaultSelectedFlag
        The Default selected flag.
    • Constructor Detail

      • MenuEntry

        public MenuEntry()
    • Method Detail

      • setPredefinedContent

        public void setPredefinedContent​(PredefinedContent value)
        Sets the value of the predefinedContent property.
        Parameters:
        value - allowed object is PredefinedContent
      • getOutputText

        public List<OutputText> getOutputText()
        Gets the value of the outputText 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 outputText property.

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

            getOutputText().add(newItem);
         

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

        Returns:
        the output text
      • setOutputText

        public void setOutputText​(List<OutputText> outputText)
        Sets the value of the outputText property.
        Parameters:
        outputText - the new list of OutputText objects
      • getOutputXHTML

        public byte[] getOutputXHTML()
        Gets the value of the outputXHTML property.
        Returns:
        possible object is byte[]
      • setOutputXHTML

        public void setOutputXHTML​(byte[] value)
        Sets the value of the outputXHTML property.
        Parameters:
        value - allowed object is byte[]
      • setMenuEntryTag

        public void setMenuEntryTag​(MenuEntryTagType value)
        Sets the value of the menuEntryTag property.
        Parameters:
        value - allowed object is MenuEntryTagType
      • setOutputFormat

        public void setOutputFormat​(OutputFormatType value)
        Sets the value of the outputFormat property.
        Parameters:
        value - allowed object is OutputFormatType
      • isDefaultSelectedFlag

        public boolean isDefaultSelectedFlag()
        Gets the value of the defaultSelectedFlag property.
        Returns:
        possible object is Boolean
      • setDefaultSelectedFlag

        public void setDefaultSelectedFlag​(Boolean value)
        Sets the value of the defaultSelectedFlag property.
        Parameters:
        value - allowed object is Boolean