|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--planetj.database.Field
|
+--planetj.database.field.StringOrNumberField
|
+--planetj.database.field.CreditCardNumberField
Represents a Credit Card Number Creation date: (7/1/2002 11:02:23 PM)
| Nested Class Summary |
| Nested classes inherited from class planetj.database.Field |
Field.FieldLocation |
| Field Summary |
| Fields inherited from interface planetj.dataengine.security.IGuarded |
TYPE_ID_UNKNOWN, TYPE_NAME_FIELD, TYPE_NAME_SQLOPERATION, TYPE_SECURED_BY_LEVEL, TYPE_SECURED_BY_OPERATION, TYPE_UNSECURED |
| Constructor Summary | |
CreditCardNumberField()
|
|
| Method Summary | |
String |
getExternalValidationKey()
Get the key that may be used to uniquely identify Field subclasses for external validation. |
boolean |
getValueAsBoolean()
Subclasses must override this to detirmine what their boolean value is. |
static short |
guessFieldClassProbability(FieldDescriptorRow pFDRow,
RowCollection pSampleData)
Subclasses will override to take an educated guess at what the Field Class will be for this FD Row. |
boolean |
isValidLength(ExecutingContext ec)
Validate this Field based on its max length attribute. |
boolean |
isValidValue(ExecutingContext ec)
Validate this Field value. |
| Methods inherited from class planetj.database.field.StringOrNumberField |
createObject, getCopiedValue, getDefaultDatabaseValue, getSQLValue, isValueEqual, isValueGreaterThan, isValueLessThan, setValue |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CreditCardNumberField()
| Method Detail |
public String getExternalValidationKey()
getExternalValidationKey in class Fieldpublic boolean getValueAsBoolean()
getValueAsBoolean in class Field
public static short guessFieldClassProbability(FieldDescriptorRow pFDRow,
RowCollection pSampleData)
public boolean isValidLength(ExecutingContext ec)
isValidLength in class Fieldec - The current executing context, which may be null
public boolean isValidValue(ExecutingContext ec)
isValidValue in class Fieldec - The executing context, which may be null
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||