|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.oreodata.metadata.Field
|
+--org.oreodata.metadata.StringField
|
+--org.oreodata.metadata.EmailField
A trivial subclass of StringField for handling the validity checking email addresses. This class only checks whether the input string is a well-formed email address according to the rules set up. It does not do DNS lookup to check whether the domain in question actually exists or any of that.
| Field Summary |
| Fields inherited from class org.oreodata.metadata.StringField |
regexp, regexpString |
| Fields inherited from class org.oreodata.metadata.Field |
defaultValueString, intern, properties, sqlType |
| Constructor Summary | |
EmailField()
|
|
| Method Summary | |
void |
checkValidValue(Record rec,
java.lang.Object value)
Check whether this object is a valid value for this field of the given record. |
| Methods inherited from class org.oreodata.metadata.StringField |
convertFromJDBC, decodeMultiLineString, encodeMultiLineString, getCopy, getJavaType, getObjectFromString, init, normalize, processProperties, valueToString |
| Methods inherited from class org.oreodata.metadata.Field |
convertToJDBC, createSAXHandler, defaultValue, getLocalizedName, getName, getProperty, getSQLType, hashCode, intern, isFieldOf, isRequired, isSetExternally, processDefaultValue, processNormalization, setDefaultValue, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public EmailField()
| Method Detail |
public void checkValidValue(Record rec,
java.lang.Object value)
throws DataException
FieldDescriptor
checkValidValue in interface FieldDescriptorcheckValidValue in class StringFieldDataException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||