// Set the association overrides if some are present.
m_mapKeyAssociationOverrides = new ArrayList<AssociationOverrideMetadata>();
// Process the attribute overrides first.
if (isAnnotationPresent(AssociationOverrides.class)) {
for (Object associationOverride : (Object[]) getAnnotation(AssociationOverrides.class).getAttributeArray("value")) {
m_mapKeyAssociationOverrides.add(new AssociationOverrideMetadata((MetadataAnnotation)associationOverride, accessibleObject));
}
}
// Process the single attribute override second.
if (isAnnotationPresent(AssociationOverride.class)) {
m_mapKeyAssociationOverrides.add(new AssociationOverrideMetadata(getAnnotation(AssociationOverride.class), accessibleObject));
}
// Set the order column if one is defined.
if (isAnnotationPresent(OrderColumn.class)) {
String correctionType = null;