|
||||||||||
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 ForeignKeyDescriptor
public java.lang.String getRecordType()
getRecordType
in interface ForeignKeyDescriptor
protected void init(org.w3c.dom.Element element) throws org.xml.sax.SAXException
init
in class Field
org.xml.sax.SAXException
public java.lang.Class getJavaType()
FieldDescriptor
getJavaType
in interface FieldDescriptor
getJavaType
in class Field
public java.lang.Object getObjectFromString(Record rec, java.lang.String s) throws MangledDataException
FieldDescriptor
getObjectFromString
in interface FieldDescriptor
MangledDataException
public java.lang.String normalize(java.lang.String s)
FieldDescriptor
normalize
in interface FieldDescriptor
normalize
in class Field
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |