edu.wisc.ssec.mcidasv
Class ParameterSet

java.lang.Object
  extended by edu.wisc.ssec.mcidasv.ParameterSet

public class ParameterSet
extends Object

An object to handle a saved parameter set.


Field Summary
static String ATTR_CATEGORY
          Xml attribute name for the category
static String ATTR_NAME
          Xml attribute name for the name
private  List<String> categories
          The category of the parameter set
private  Element element
          The XML element
private  String name
          The name of the parameter set
private  String type
          The type
private  String uniquePrefix
          prefix_
 
Constructor Summary
ParameterSet(String name, List<String> categories, String type)
           
ParameterSet(String name, List<String> categories, String type, Element element)
           
ParameterSet(String name, String category, String type)
           
ParameterSet(String name, String category, String type, Element element)
           
 
Method Summary
 List getCategories()
          Get the Category property.
 String getCategorizedName()
          Get the name to use with the categories as a prefix
 Element getElement()
          Get the Element property.
 String getLabel()
          Full label
 String getName()
          Get the Name property.
 String getType()
          Get the Type property.
 void setCategories(List value)
          Set the Category property.
 void setElement(Element value)
          Set the Element property.
 void setName(String value)
          Set the Name property.
 void setType(String value)
          Set the Type property.
protected  void setUniquePrefix(String p)
          set the unique prefix
 String toString()
          Override toString.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTR_NAME

public static final String ATTR_NAME
Xml attribute name for the name

See Also:
Constant Field Values

ATTR_CATEGORY

public static final String ATTR_CATEGORY
Xml attribute name for the category

See Also:
Constant Field Values

name

private String name
The name of the parameter set


categories

private List<String> categories
The category of the parameter set


type

private String type
The type


element

private Element element
The XML element


uniquePrefix

private String uniquePrefix
prefix_

Constructor Detail

ParameterSet

public ParameterSet(String name,
                    String category,
                    String type)

ParameterSet

public ParameterSet(String name,
                    List<String> categories,
                    String type)

ParameterSet

public ParameterSet(String name,
                    String category,
                    String type,
                    Element element)

ParameterSet

public ParameterSet(String name,
                    List<String> categories,
                    String type,
                    Element element)
Method Detail

setUniquePrefix

protected void setUniquePrefix(String p)
set the unique prefix

Parameters:
p - prefix

getCategorizedName

public String getCategorizedName()
Get the name to use with the categories as a prefix

Returns:
categorized name

setName

public void setName(String value)
Set the Name property.

Parameters:
value - The new value for Name

getName

public String getName()
Get the Name property.

Returns:
The Name

setCategories

public void setCategories(List value)
Set the Category property.

Parameters:
value - The new value for Category

getCategories

public List getCategories()
Get the Category property.

Returns:
The Category

setType

public void setType(String value)
Set the Type property.

Parameters:
value - The new value for Type

getType

public String getType()
Get the Type property.

Returns:
The Type

setElement

public void setElement(Element value)
Set the Element property.

Parameters:
value - The new value for Element

getElement

public Element getElement()
Get the Element property.

Returns:
The Element

getLabel

public String getLabel()
Full label

Returns:
The name.

toString

public String toString()
Override toString.

Overrides:
toString in class Object
Returns:
The name.