Package edu.wisc.ssec.mcidasv
Class ParameterSet
java.lang.Object
edu.wisc.ssec.mcidasv.ParameterSet
An object to handle a saved parameter set.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Xml attribute name for the categorystatic final String
Xml attribute name for the nameThe category of the parameter setprivate Element
The XML elementprivate String
The name of the parameter setprivate String
The typeprivate String
prefix_ -
Constructor Summary
ConstructorsConstructorDescriptionParameterSet
(String name, String category, String type) ParameterSet
(String name, String category, String type, Element element) ParameterSet
(String name, List<String> categories, String type) -
Method Summary
Modifier and TypeMethodDescriptionGet the Category property.Get the name to use with the categories as a prefixGet the Element property.getLabel()
Full labelgetName()
Get the Name property.getType()
Get the Type property.void
setCategories
(List value) Set the Category property.void
setElement
(Element value) Set the Element property.void
Set the Name property.void
Set the Type property.protected void
set the unique prefixtoString()
Override toString.
-
Field Details
-
ATTR_NAME
Xml attribute name for the name- See Also:
-
ATTR_CATEGORY
Xml attribute name for the category- See Also:
-
name
The name of the parameter set -
categories
The category of the parameter set -
type
The type -
element
The XML element -
uniquePrefix
prefix_
-
-
Constructor Details
-
ParameterSet
-
ParameterSet
-
ParameterSet
-
ParameterSet
-
-
Method Details
-
setUniquePrefix
set the unique prefix- Parameters:
p
- prefix
-
getCategorizedName
Get the name to use with the categories as a prefix- Returns:
- categorized name
-
setName
Set the Name property.- Parameters:
value
- The new value for Name
-
getName
Get the Name property.- Returns:
- The Name
-
setCategories
Set the Category property.- Parameters:
value
- The new value for Category
-
getCategories
Get the Category property.- Returns:
- The Category
-
setType
Set the Type property.- Parameters:
value
- The new value for Type
-
getType
Get the Type property.- Returns:
- The Type
-
setElement
Set the Element property.- Parameters:
value
- The new value for Element
-
getElement
Get the Element property.- Returns:
- The Element
-
getLabel
Full label- Returns:
- The name.
-
toString
Override toString.
-