*
* Process a Serialized or Basic into a DirectToFieldMapping. If neither
* is found a DirectToFieldMapping is created regardless.
*/
protected void processDirectToFieldMapping(DatabaseField field) {
DirectToFieldMapping mapping = new DirectToFieldMapping();
mapping.setField(field);
mapping.setIsReadOnly(field.isReadOnly());
mapping.setAttributeName(getAttributeName());
mapping.setIsOptional(isOptional());
if (usesIndirection()) {
m_logger.logWarningMessage(m_logger.IGNORE_BASIC_FETCH_LAZY, this);
}