org.keel.services.model.defaultmodel
Class DefaultInput
java.lang.Object
org.keel.services.model.defaultmodel.AbstractResponseElement
org.keel.services.model.defaultmodel.DefaultInput
- All Implemented Interfaces:
- Input, ResponseElement
- public class DefaultInput
- extends AbstractResponseElement
- implements Input
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
label
private java.lang.String label
-
myValidValues
private java.util.Map myValidValues
-
defaultValue
private java.lang.Object defaultValue
-
DefaultInput
public DefaultInput()
getLabel
public java.lang.String getLabel()
-
- Specified by:
getLabel in interface Input
-
setLabel
public void setLabel(java.lang.String newLabel)
-
- Specified by:
setLabel in interface Input
-
setValidValues
public void setValidValues(java.util.Map newValues)
- Description copied from interface:
Input
-
Specify a list of valid values to be used for this input. Each key in the specified map is a valid value, each corresponding entry is a description of the value
-
- Specified by:
setValidValues in interface Input
-
setDefaultValue
public void setDefaultValue(java.lang.Object newDefault)
-
- Specified by:
setDefaultValue in interface Input
-
getDefaultValue
public java.lang.Object getDefaultValue()
-
- Specified by:
getDefaultValue in interface Input
-
getValidValues
public java.util.Map getValidValues()
-
- Specified by:
getValidValues in interface Input
-
toString
public java.lang.String toString()
-
- Overrides:
toString in class AbstractResponseElement
-
Please see keelframework.org for information about new Keel releases.