public class TemplateParamInfo extends Object
| Constructor and Description |
|---|
TemplateParamInfo()
Default constructor sets the parameter type to be String with a
zero-length string as the default value.
|
TemplateParamInfo(QName name,
boolean isRequired)
Constructs a new TemplateParamInfo with the given qualified name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
Object |
getDefaultValue()
Get the default value of the parameter.
|
QName |
getName()
Get the qualified name of the parameter.
|
Class |
getType()
Get the data type of the parameter.
|
int |
hashCode() |
boolean |
isRequired()
Get the value of isRequired
|
void |
setDefaultValue(Object defaultValue)
Set the default value of the parameter.
|
void |
setIsRequired(boolean isRequired)
Set the value of isRequired
|
void |
setName(QName name)
Set the (qualified) name of the parameter.
|
void |
setType(Class type)
Set the data type of the parameter (java.lang.String by default).
|
public TemplateParamInfo()
public TemplateParamInfo(QName name, boolean isRequired)
name - A QName representing the name of the parameter.isRequired - A boolean value indicating whether or not the parameter
is required.public Object getDefaultValue()
public void setDefaultValue(Object defaultValue)
defaultValue - A type-compatible value.public Class getType()
public void setType(Class type)
type - The new data type.public boolean isRequired()
public void setIsRequired(boolean isRequired)
isRequired - new value of isRequiredpublic QName getName()
public void setName(QName name)
name - A QName object.Copyright © 2018 Open Geospatial Consortium. All rights reserved.