/**
* Build and structure mapping and add it to the descriptor.
*/
@Override
public void process() {
StructureMapping mapping = new StructureMapping();
setMapping(mapping);
// Process the @Column or column element if there is one.
// A number of methods depend on this field so it must be
// initialized before any further processing can take place.
m_field = new ObjectRelationalDatabaseField(getDatabaseField(getDescriptor().getPrimaryTable(), MetadataLogger.COLUMN));
mapping.setField(m_field);
mapping.setIsReadOnly(m_field.isReadOnly());
mapping.setReferenceClassName(getReferenceClassName());
mapping.setAttributeName(getAttributeName());
// Will check for PROPERTY access
setAccessorMethods(mapping);
// Process a @ReturnInsert and @ReturnUpdate (to log a warning message)