org.starhope.appius.mb
Class MBField_NumericString

java.lang.Object
  extended by org.starhope.appius.mb.fields.MBField<String>
      extended by org.starhope.appius.mb.fields.MBField_String
          extended by org.starhope.appius.mb.MBField_NumericString
All Implemented Interfaces:
Serializable

public class MBField_NumericString
extends org.starhope.appius.mb.fields.MBField_String

WRITEME: Document this type.

Author:
brpocock@star-hope.org
See Also:
Serialized Form

Field Summary
private  int maxDigits
          WRITEME: Document this brpocock@star-hope.org
private  int minDigits
          WRITEME: Document this brpocock@star-hope.org
private static long serialVersionUID
          WRITEME: Document this brpocock@star-hope.org
 
Fields inherited from class org.starhope.appius.mb.fields.MBField
ident, session, value
 
Constructor Summary
MBField_NumericString(MBSession mySession, org.starhope.appius.mb.fields.MBFieldIdent myIdent, int leastDigits, int mostDigits)
          WRITEME: Document this constructor brpocock@star-hope.org
 
Method Summary
protected  boolean checkValue(String newValue)
           
 
Methods inherited from class org.starhope.appius.mb.fields.MBField_String
convert
 
Methods inherited from class org.starhope.appius.mb.fields.MBField
check, clear, getIdent, getValue, setValue, setValue, setValueConverted, setValueIfNull, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
WRITEME: Document this brpocock@star-hope.org

See Also:
Constant Field Values

minDigits

private final int minDigits
WRITEME: Document this brpocock@star-hope.org


maxDigits

private final int maxDigits
WRITEME: Document this brpocock@star-hope.org

Constructor Detail

MBField_NumericString

public MBField_NumericString(MBSession mySession,
                             org.starhope.appius.mb.fields.MBFieldIdent myIdent,
                             int leastDigits,
                             int mostDigits)
WRITEME: Document this constructor brpocock@star-hope.org

Parameters:
mySession - WRITEME
myIdent - WRITEME
leastDigits - WRITEME
mostDigits - WRITEME
Method Detail

checkValue

protected boolean checkValue(String newValue)
Overrides:
checkValue in class org.starhope.appius.mb.fields.MBField_String
Parameters:
newValue - a value asking to be set into this field
Returns:
true, if the value is OK
See Also:
MBField.checkValue(java.lang.Object)