org.starhope.appius.mb
Class MBField_CreditCardNumber
java.lang.Object
org.starhope.appius.mb.fields.MBField<BigInteger>
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 |
| Methods inherited from class org.starhope.appius.mb.fields.MBField |
check, clear, getIdent, getValue, setValue, setValue, setValueConverted, setValueIfNull, toString |
serialVersionUID
private static final long serialVersionUID
- WRITEME: Document this brpocock@star-hope.org
- See Also:
- Constant Field Values
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 -
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)