| java.lang.Object com.jcorporate.expresso.core.dataobjects.jdbc.JoinedDataField
JoinedDataField | public class JoinedDataField implements DataField(Code) | | Data Field that is aware of local/forein key relations. If you set the
local key, it will set the foreign key as well. This i
author: Michael Rimov |
JoinedDataField | protected JoinedDataField()(Code) | | Protected constructor. Do not use normally.
|
cacheIsChangedComparison | public void cacheIsChangedComparison()(Code) | | call when add() or update() has occurred, and currentValue of data fields should be considered 'original value' for purposes of determining 'isChanged'
|
getAllAttributes | public Map getAllAttributes()(Code) | | |
getInstance | public static JoinedDataField getInstance(JoinedDataObject owner, DataObject localObj, String localField, DataObject remoteObj, String foreignField)(Code) | | Construct a new JoinedDataField object
Parameters: owner - the creating data object Parameters: localObj - the 'Left' DataObject Parameters: localField - the 'Left' join field Parameters: remoteObj - the 'Right' DataObject Parameters: foreignField - the 'Right' join field. an instantiated JoinedDataField instance. |
getValue | public Object getValue()(Code) | | Retrieve the value of the object. It is the same with the local key AND
the foreign key.
java.lang.Object |
isChanged | public boolean isChanged()(Code) | | |
isNull | public boolean isNull()(Code) | | |
isValueSet | public boolean isValueSet()(Code) | | |
resetChanged | public void resetChanged()(Code) | | |
|
|