Keel 2.1RC2

org.keel.comm
Class InputMessage

java.lang.Object
  extended byorg.keel.comm.AbstractMessageResponseElement
      extended byorg.keel.comm.InputMessage
All Implemented Interfaces:
Input, ResponseElement, java.io.Serializable

public class InputMessage
extends AbstractMessageResponseElement
implements Input, java.io.Serializable

See Also:
Serialized Form

Field Summary
private  java.lang.Object defaultValue
           
private  java.lang.String label
           
private  java.util.Map myValidValues
           
 
Fields inherited from class org.keel.comm.AbstractMessageResponseElement
 
Constructor Summary
InputMessage()
           
InputMessage(Input i)
           
 
Method Summary
 java.lang.Object getDefaultValue()
           
 java.lang.String getLabel()
           
 java.util.Map getValidValues()
           
 void setDefaultValue(java.lang.Object newDefault)
           
 void setLabel(java.lang.String newLabel)
           
 void setValidValues(java.util.Map newValues)
          Specify a list of valid values to be used for this input.
 
Methods inherited from class org.keel.comm.AbstractMessageResponseElement
add, copyFrom, getAll, getAttribute, getAttributes, getName, remove, removeAttribute, setAttribute, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.keel.services.model.ResponseElement
add, getAll, getAttribute, getAttributes, getName, remove, removeAttribute, setAttribute, setName
 

Field Detail

label

private java.lang.String label

myValidValues

private java.util.Map myValidValues

defaultValue

private java.lang.Object defaultValue
Constructor Detail

InputMessage

public InputMessage()

InputMessage

public InputMessage(Input i)
Method Detail

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

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.