Class ViewArgs

java.lang.Object
org.apache.juneau.objecttools.ViewArgs

public class ViewArgs extends Object
  • Constructor Details

    • ViewArgs

      public ViewArgs(String viewArgs)
      Constructor.
      Parameters:
      viewArgs - View arguments.
      Values are column names.
    • ViewArgs

      public ViewArgs(Collection<String> viewArgs)
      Constructor.
      Parameters:
      viewArgs - View arguments.
      Values are column names.
  • Method Details

    • create

      public static ViewArgs create(String args)
      Static creator.
      Parameters:
      args - Comma-delimited list of view arguments.
      Returns:
      A new ViewArgs object.
    • create

      public static ViewArgs create(List<String> args)
      Static creator.
      Parameters:
      args - List of view arguments.
      Returns:
      A new ViewArgs object.
    • getView

      public List<String> getView()
      The view columns.

      The view columns are the list of columns that should be displayed. An empty list implies all columns should be displayed.

      Returns:
      An unmodifiable list of columns to view.