Class ECtransOption<T>

java.lang.Object
ecmwf.common.ectrans.ECtransOption<T>
Type Parameters:
T - the generic type

public class ECtransOption<T> extends Object
The Class ECtransOption.
Author:
root
  • Constructor Details

    • ECtransOption

      protected ECtransOption(ECtransGroups group, String module, String name, Class<T> clazz, List<T> defaultValues, List<T> choices)
      Instantiates a new ectrans option.
      Parameters:
      group - the group
      module - the module
      name - the name
      clazz - the clazz
      defaultValues - the default values
      choices - the choices
  • Method Details

    • getParameter

      protected String getParameter()
      Gets the parameter.
      Returns:
      the parameter
    • getGroup

      protected ECtransGroups getGroup()
      Gets the group.
      Returns:
      the group
    • getModule

      protected String getModule()
      Gets the module.
      Returns:
      the module
    • getName

      protected String getName()
      Gets the name.
      Returns:
      the name
    • getTips

      protected String getTips()
      Gets the tips.
      Returns:
      the tips
    • getClazz

      protected Class<T> getClazz()
      Gets the clazz.
      Returns:
      the clazz
    • getComment

      protected String getComment(boolean detailed)
      Gets the comment.
      Parameters:
      detailed - the detailed
      Returns:
      the comment
    • getDefaultValue

      protected T getDefaultValue()
      Gets the default value.
      Returns:
      the default value
    • getDefaultValues

      protected List<T> getDefaultValues()
      Gets the default values.
      Returns:
      the default values
    • getChoices

      protected List<T> getChoices()
      Gets the choices.
      Returns:
      the choices
    • isVisible

      protected boolean isVisible()
      Checks if is visible.
      Returns:
      true, if is visible
    • isSecured

      protected boolean isSecured()
      Checks if is secured.
      Returns:
      true, if is secured