com.alarmpoint.integrations.nnmi.mg
Class FieldImpl

java.lang.Object
  extended by com.alarmpoint.integrations.nnmi.mg.FieldImpl
All Implemented Interfaces:
Field

public class FieldImpl
extends java.lang.Object
implements Field

This class was created to hold all the information for the Mobile Gateway fields. These may be input fields, select boxes etc. The types are defined in FieldType.

Author:
amagi

Constructor Summary
FieldImpl(FieldType type, java.lang.String label, java.lang.String value)
           
FieldImpl(FieldType type, java.lang.String label, java.lang.String value, java.lang.Boolean required)
           
FieldImpl(FieldType type, java.lang.String label, java.lang.String value, java.lang.String associatedJSP)
           
 
Method Summary
 java.lang.String getAssociatedJSP()
           
 java.lang.String getLabel()
           
 java.lang.Boolean getRequired()
           
 FieldType getType()
           
 java.lang.String getValue()
           
 void setAssociatedJSP(java.lang.String associatedJSP)
           
 void setLabel(java.lang.String label)
           
 void setRequired(java.lang.Boolean required)
           
 void setType(FieldType type)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldImpl

public FieldImpl(FieldType type,
                 java.lang.String label,
                 java.lang.String value)

FieldImpl

public FieldImpl(FieldType type,
                 java.lang.String label,
                 java.lang.String value,
                 java.lang.Boolean required)

FieldImpl

public FieldImpl(FieldType type,
                 java.lang.String label,
                 java.lang.String value,
                 java.lang.String associatedJSP)
Method Detail

getType

public FieldType getType()
Specified by:
getType in interface Field

setType

public void setType(FieldType type)

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface Field

setLabel

public void setLabel(java.lang.String label)

getRequired

public java.lang.Boolean getRequired()
Specified by:
getRequired in interface Field

setRequired

public void setRequired(java.lang.Boolean required)

getValue

public java.lang.String getValue()
Specified by:
getValue in interface Field

setValue

public void setValue(java.lang.String value)

getAssociatedJSP

public java.lang.String getAssociatedJSP()
Specified by:
getAssociatedJSP in interface Field

setAssociatedJSP

public void setAssociatedJSP(java.lang.String associatedJSP)