|
|||||||||||
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 | +--planetj.database.field.JavaClassNameField
A field which holds the name of a Java class
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 | |
JavaClassNameField()
|
Method Summary | |
Class |
getCompatibleClass()
Gets the class which the class specified in this field must implement or extend |
Class |
getJavaClass()
Gets the Java class object for this field's value. |
String |
getJavaClassName()
Gets the Java class name set on this field's value. |
Object |
getJavaObject()
|
String |
getValidationInvalidValueString(String givenValue)
This method will return the long description of why this field's value is invalid and possible actions or examples we could put in this field. |
boolean |
isValidValue(ExecutingContext ec)
Validate this Field value. |
void |
setCompatibleClass(Class newCompatibleClass)
Sets the class which the class specified in this field must implement or extend |
Methods inherited from class planetj.database.field.StringField |
createObject, getCSVField, getExternalValidationKey, getValueAsBoolean, isNumber, isString, isValidLength, setValue |
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 JavaClassNameField()
Method Detail |
public Class getCompatibleClass()
public Class getJavaClass() throws CMException
CMException
public String getJavaClassName()
public Object getJavaObject() throws CMException
CMException
public String getValidationInvalidValueString(String givenValue) throws CMException
getValidationInvalidValueString
in class Field
CMException
public boolean isValidValue(ExecutingContext ec) throws CMException
Field
isValidValue
in class Field
ec
- The executing context, which may be null
CMException
public void setCompatibleClass(Class newCompatibleClass)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |