edu.uoc.pfc.j2ee.jalonsod.mtp.config
Class BooleanParameter
java.lang.Object
edu.uoc.pfc.j2ee.jalonsod.mtp.config.Parameter
edu.uoc.pfc.j2ee.jalonsod.mtp.config.BooleanParameter
public class BooleanParameter
- extends Parameter
File: BooleanParameter.java
Created: 2012-04-22
The Parameter configuration metadata for datatype Boolean
.
- Author:
- José Alonso de Motta
- See Also:
BooleanParameterInstance
Field Summary |
(package private) java.lang.Boolean |
defaultValue
|
Constructor Summary |
protected |
BooleanParameter(java.lang.String name,
java.lang.String datatype,
boolean required,
Validation validateMethod,
boolean copyToModel,
java.lang.String modelAttribute,
java.lang.String defaultValue)
Constructor of boolean parameter. |
Methods inherited from class edu.uoc.pfc.j2ee.jalonsod.mtp.config.Parameter |
createParameter, getCopyToModel, getDatatype, getModelAttribute, getName, getRequired, getValidateMethod, setCopyToModel, setModelAttribute, setName, setRequired, setValidateMethod, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
defaultValue
java.lang.Boolean defaultValue
BooleanParameter
protected BooleanParameter(java.lang.String name,
java.lang.String datatype,
boolean required,
Validation validateMethod,
boolean copyToModel,
java.lang.String modelAttribute,
java.lang.String defaultValue)
throws ConfiguratorException
- Constructor of boolean parameter.
- Throws:
ConfiguratorException
- Throws when received parameters are invalid
getDefaultValue
public java.lang.Boolean getDefaultValue()
- Specified by:
getDefaultValue
in class Parameter
setDefaultValue
public void setDefaultValue(java.lang.Object defaultValue)
- Specified by:
setDefaultValue
in class Parameter
setDefaultValue
public void setDefaultValue(java.lang.Boolean defaultValue)
getDatatypeReference
public java.lang.Class<?> getDatatypeReference()
- Specified by:
getDatatypeReference
in class Parameter