Class ECtransOption<T>
java.lang.Object
ecmwf.common.ectrans.ECtransOption<T>
- Type Parameters:
T
- the generic type
The Class ECtransOption.
- Author:
- root
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ECtransOption
(ECtransGroups group, String module, String name, Class<T> clazz, List<T> defaultValues, List<T> choices) Instantiates a new ectrans option. -
Method Summary
Modifier and TypeMethodDescriptionGets the choices.getClazz()
Gets the clazz.protected String
getComment
(boolean detailed) Gets the comment.protected T
Gets the default value.Gets the default values.protected ECtransGroups
getGroup()
Gets the group.protected String
Gets the module.protected String
getName()
Gets the name.protected String
Gets the parameter.protected String
getTips()
Gets the tips.protected boolean
Checks if is secured.protected boolean
Checks if is visible.
-
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 groupmodule
- the modulename
- the nameclazz
- the clazzdefaultValues
- the default valueschoices
- the choices
-
-
Method Details
-
getParameter
-
getGroup
-
getModule
-
getName
-
getTips
-
getClazz
-
getComment
Gets the comment.- Parameters:
detailed
- the detailed- Returns:
- the comment
-
getDefaultValue
-
getDefaultValues
-
getChoices
-
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
-