| 
|||||||||||
| 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.StringField
| 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 | |
StringField()
 | 
|
| Method Summary | |
 Object | 
createObject(String pStringValue)
Create an object for this Field type using the given String.  | 
 String | 
getCSVField()
Returns the String value of the Object, that will be written to the CSV file.  | 
 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.  | 
 boolean | 
isNumber()
This is a not a Number field.  | 
 boolean | 
isString()
This is a String field.  | 
 boolean | 
isValidLength(ExecutingContext ec)
Validate this Field based on its max length attribute.  | 
 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 | 
getCopiedValue, getDefaultDatabaseValue, getSQLValue, isValueEqual, isValueGreaterThan, isValueLessThan | 
| Methods inherited from class java.lang.Object | 
getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public StringField()
| Method Detail | 
public Object createObject(String pStringValue)
createObject in class StringOrNumberFieldpStringValue - Stringpublic String getCSVField()
VARCHAR Enclosed by double quotation marks and are not padded to create a fixed length field.
CHAR Enclosed by double quotation marks but are padded with blanks if necessary to create a fixed length field
In a CMException was thrown, or there were problems, then [Invalid Field] will be returned Creation date: (4/22/2002 2:28:25 PM)
getCSVField in interface ICSVFieldgetCSVField in class Fieldpublic String getExternalValidationKey()
getExternalValidationKey in class Fieldpublic boolean getValueAsBoolean()
getValueAsBoolean in class Fieldpublic boolean isNumber()
public boolean isString()
isString in class Fieldpublic boolean isValidLength(ExecutingContext ec)
isValidLength in class Fieldec - The current executing context, which may be null
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 | ||||||||||