org.starhope.appius.mb
Class MBField_CreditCardNumber

java.lang.Object
  extended by org.starhope.appius.mb.fields.MBField<BigInteger>
      extended by org.starhope.appius.mb.MBField_CreditCardNumber
All Implemented Interfaces:
Serializable

public class MBField_CreditCardNumber
extends org.starhope.appius.mb.fields.MBField<BigInteger>

WRITEME: Document this type.

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

Field Summary
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
protected MBField_CreditCardNumber(MBSession mySession, org.starhope.appius.mb.fields.MBFieldIdent myIdent)
          WRITEME: Document this constructor brpocock@star-hope.org
 
Method Summary
protected  boolean checkValue(BigInteger newValue)
           
 BigInteger convert(Object newValue)
          Attempt to convert a value of unknown type (Object) into the type contained by this field.
 
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
Constructor Detail

MBField_CreditCardNumber

protected MBField_CreditCardNumber(MBSession mySession,
                                   org.starhope.appius.mb.fields.MBFieldIdent myIdent)
WRITEME: Document this constructor brpocock@star-hope.org

Parameters:
mySession -
myIdent -
Method Detail

checkValue

protected boolean checkValue(BigInteger newValue)
Specified by:
checkValue in class org.starhope.appius.mb.fields.MBField<BigInteger>
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)

convert

public BigInteger convert(Object newValue)
                   throws DataException
Description copied from class: org.starhope.appius.mb.fields.MBField
Attempt to convert a value of unknown type (Object) into the type contained by this field. Does not make any changes to the field's actual value. Used internally by MBField.setValueConverted(Object), but can be called directly.

Specified by:
convert in class org.starhope.appius.mb.fields.MBField<BigInteger>
Parameters:
newValue - Something which might be an alternate representation of
Returns:
A value of type
Throws:
DataException - if the input cannot be converted
See Also:
MBField.convert(java.lang.Object)