public class ParameterSet extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String ATTR_NAME
public static final String ATTR_CATEGORY
private List<String> categories
private String uniquePrefix
public ParameterSet(String name, String category, String type)
public ParameterSet(String name, List<String> categories, String type)
public ParameterSet(String name, String category, String type, Element element)
protected void setUniquePrefix(String p)
p
- prefixpublic String getCategorizedName()
public void setName(String value)
value
- The new value for Namepublic void setCategories(List value)
value
- The new value for Categorypublic List getCategories()
public void setType(String value)
value
- The new value for Typepublic void setElement(Element value)
value
- The new value for Elementpublic Element getElement()