|
||||||||||
| 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.ForeignKeyField
A subclass of Field that represents a foreign key field.
| Field Summary |
| Fields inherited from class org.oreodata.metadata.Field |
defaultValueString, intern, properties, sqlType |
| Constructor Summary | |
ForeignKeyField()
|
|
| Method Summary | |
java.lang.String |
getDataSourceName()
The lookup name of the data source where the record referred to is contained. |
java.lang.Class |
getJavaType()
The kind of java object that can live in this record field. |
java.lang.Object |
getObjectFromString(Record rec,
java.lang.String s)
Given the string representation of a field, return its internal java object representation. |
java.lang.String |
getRecordType()
The type of record that is referred to. |
protected void |
init(org.w3c.dom.Element element)
|
java.lang.String |
normalize(java.lang.String s)
"normalize" the string passed in. |
| Methods inherited from class org.oreodata.metadata.Field |
checkValidValue, convertFromJDBC, convertToJDBC, createSAXHandler, defaultValue, getCopy, getLocalizedName, getName, getProperty, getSQLType, hashCode, intern, isFieldOf, isRequired, isSetExternally, processDefaultValue, processNormalization, processProperties, setDefaultValue, toString, valueToString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.oreodata.FieldDescriptor |
checkValidValue, convertFromJDBC, convertToJDBC, createSAXHandler, defaultValue, getCopy, getLocalizedName, getName, getProperty, getSQLType, isFieldOf, isRequired, isSetExternally, valueToString |
| Constructor Detail |
public ForeignKeyField()
| Method Detail |
public java.lang.String getDataSourceName()
getDataSourceName in interface ForeignKeyDescriptorpublic java.lang.String getRecordType()
getRecordType in interface ForeignKeyDescriptor
protected void init(org.w3c.dom.Element element)
throws org.xml.sax.SAXException
init in class Fieldorg.xml.sax.SAXExceptionpublic java.lang.Class getJavaType()
FieldDescriptor
getJavaType in interface FieldDescriptorgetJavaType in class Field
public java.lang.Object getObjectFromString(Record rec,
java.lang.String s)
throws MangledDataException
FieldDescriptor
getObjectFromString in interface FieldDescriptorMangledDataExceptionpublic java.lang.String normalize(java.lang.String s)
FieldDescriptor
normalize in interface FieldDescriptornormalize in class Field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||