Class Menu

java.lang.Object
com.almis.awe.model.entities.Element
com.almis.awe.model.entities.menu.Menu
All Implemented Interfaces:
Copyable, XMLNode, Serializable

public class Menu extends Element
Menu Class Used to parse the files in 'menu' folder with XStream Generates a menu
Author:
Pablo GARCIA - 28/JUN/2010
See Also:
  • Constructor Details

    • Menu

      public Menu()
  • Method Details

    • copy

      public Menu copy()
      Description copied from interface: Copyable
      Get a copy of this element
      Returns:
      element copy
    • getOptionByScreen

      public Option getOptionByScreen(String screen)
      Search an initial option by screen name
      Parameters:
      screen - Screen name
      Returns:
      Option found
    • getOptionByName

      public Option getOptionByName(String optionName)
      Search an initial option by name
      Parameters:
      optionName - Option name
      Returns:
      Option found
    • defineRelationship

      public void defineRelationship()
      Define all options parent