Class Option

    • Constructor Detail

      • Option

        public Option()
    • Method Detail

      • copy

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

        public String getText()
        Returns the option text
        Returns:
        Option text
      • setRestricted

        public void setRestricted​(boolean restricted)
        Stores if option is restricted or not
        Parameters:
        restricted - Option is restricted
      • isInvisible

        public boolean isInvisible()
        Returns if option is invisible or not
        Returns:
        Option is invisible
      • isVisible

        public boolean isVisible()
        Returns if option is visible or not
        Returns:
        Option is visible
      • getOptions

        public List<Option> getOptions()
        Retrieve Option list
        Returns:
        Option list
      • 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