com.endeca.mobile.services.cart.models
Class TextFieldModel

java.lang.Object
  extended by com.endeca.mobile.services.cart.models.Model
      extended by com.endeca.mobile.services.cart.models.TextFieldModel
All Implemented Interfaces:
java.io.Serializable

public class TextFieldModel
extends Model

See Also:
Serialized Form

Constructor Summary
TextFieldModel()
           
 
Method Summary
 int getCharacterLimit()
          The character limit of the field.
 java.lang.String getName()
          The name of the message field.
 java.lang.String getPattern()
          Defines a pattern or format for the input field's value.
 java.lang.String getPlaceholder()
          Defines a hint to help users fill out the input field.
 java.lang.String getValue()
          The value of the text field.
 boolean isRequired()
           
 void setCharacterLimit(int characterLimit)
           
 void setName(java.lang.String name)
           
 void setPattern(java.lang.String pattern)
           
 void setPlaceholder(java.lang.String placeholder)
           
 void setRequired(boolean required)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class com.endeca.mobile.services.cart.models.Model
containsProperty, getId, getProperties, getProperty, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, putProperty, setId, setProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextFieldModel

public TextFieldModel()
Method Detail

getName

public java.lang.String getName()
The name of the message field.


setName

public void setName(java.lang.String name)

getCharacterLimit

public int getCharacterLimit()
The character limit of the field.


setCharacterLimit

public void setCharacterLimit(int characterLimit)

getValue

public java.lang.String getValue()
The value of the text field.


setValue

public void setValue(java.lang.String value)

getPlaceholder

public java.lang.String getPlaceholder()
Defines a hint to help users fill out the input field.


setPlaceholder

public void setPlaceholder(java.lang.String placeholder)

isRequired

public boolean isRequired()

setRequired

public void setRequired(boolean required)

getPattern

public java.lang.String getPattern()
Defines a pattern or format for the input field's value. Example: pattern="[0-9]" means that the input value must be a number between 0 an 9.


setPattern

public void setPattern(java.lang.String pattern)