Class View

    • Constructor Detail

      • View

        public View​(String name)
        Creates a new instance of View.
        Parameters:
        name - The name of the view.
    • Method Detail

      • getAs

        public Expression getAs()
        Gets the AS expression.
        Returns:
        The AS expression.
      • replace

        public View replace()
        Sets this view to be replaced.
        Returns:
        This expression.
      • as

        public View as​(Expression as)
        Sets the AS expression.
        Parameters:
        as - The AS expression.
        Returns:
        This expression.
      • isReplace

        public boolean isReplace()
        Checks if this view is to be replaced.
        Returns:
        true if the view is to be replaced, false otherwise.
      • getName

        public String getName()
        Gets the view name.
        Returns:
        The view name.
      • translate

        public String translate()
        Description copied from class: Expression
        Translates the expression.
        Specified by:
        translate in class Expression
        Returns:
        A translation of the implementing expression.