|
|||||||||||
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.PhoneNumberField | +--planetj.database.field.PhoneNumberAreaCodeField
Represents a PhoneNumberAreaCode. Programmers can assign either String/Char/VarChar or Decimal Fields to a PhoneNumberAreaCodeField. Creation date: (2/28/2002 3:27:12 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 | |
PhoneNumberAreaCodeField()
|
Method Summary | |
String |
getDisplayValue()
Returns the display value of this Field as a String |
String |
getExternalValidationKey()
Get the key that may be used to uniquely identify Field subclasses for external validation. |
String |
getValidValuesString()
This method should be overriden by subclasses that want to display possible or valid values to a user Example PhoneNumber would return "Example: (123) 456-7890, 1234567890, 123-456-7890" Creation date: (4/5/2002 2:52:46 PM) |
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.PhoneNumberField |
getValueAsBoolean |
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 PhoneNumberAreaCodeField()
Method Detail |
public String getDisplayValue()
getDisplayValue
in class PhoneNumberField
public String getExternalValidationKey()
getExternalValidationKey
in class PhoneNumberField
public String getValidValuesString()
getValidValuesString
in class PhoneNumberField
public static short guessFieldClassProbability(FieldDescriptorRow pFDRow, RowCollection pSampleData)
public boolean isValidLength(ExecutingContext ec)
isValidLength
in class PhoneNumberField
public boolean isValidValue(ExecutingContext ec)
isValidValue
in class PhoneNumberField
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |