| 
|||||||||||
| 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.NumberField
| 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 | |
NumberField()
 | 
|
| 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.  | 
 BigDecimal | 
getValueAsBigDecimal()
Returns a BigDecimal value.  | 
 boolean | 
getValueAsBoolean()
Subclasses must override this to detirmine what their boolean value is.  | 
abstract  boolean | 
isIntegersOnly()
Test if this field can only contain integer values  | 
 boolean | 
isNumeric()
This is a Number field.  | 
 boolean | 
isString()
This is not a String field.  | 
 boolean | 
isValidLength(ExecutingContext ec)
Tests if the field's value is too long  | 
 boolean | 
isValidValue(ExecutingContext ec)
Validate this Field value.  | 
 boolean | 
isValueEqual(Object obj)
Returns a boolean indicating if this field is equal to the supplied object.  | 
 boolean | 
isValueGreaterThan(Object obj)
Returns a boolean indicating if this field is greater than the supplied object.  | 
 boolean | 
isValueLessThan(Object obj)
Returns a boolean indicating if this field is less then the supplied object.  | 
 void | 
setValue(Object pValue)
Sets the current value of the Field to the specified value, and also sets the old value to the previous value.  | 
| Methods inherited from class planetj.database.field.StringOrNumberField | 
createObject, getCopiedValue, getDefaultDatabaseValue, getSQLValue | 
| Methods inherited from class java.lang.Object | 
getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public NumberField()
| Method Detail | 
public String getDisplayValue()
getDisplayValue in class Fieldpublic String getExternalValidationKey()
getExternalValidationKey in class Fieldpublic BigDecimal getValueAsBigDecimal()
public boolean getValueAsBoolean()
getValueAsBoolean in class Fieldpublic abstract boolean isIntegersOnly()
public boolean isNumeric()
isNumeric in class Fieldpublic boolean isString()
isString in class Fieldpublic 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
public boolean isValueEqual(Object obj)
isValueEqual in class StringOrNumberFieldpublic boolean isValueGreaterThan(Object obj)
isValueGreaterThan in class StringOrNumberFieldpublic boolean isValueLessThan(Object obj)
isValueLessThan in class StringOrNumberField
public void setValue(Object pValue)
              throws CMException
setValue in class StringOrNumberFieldCMException
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||