private void processPropertyOverride ( PropertyMetadata propertyMetadata ) { String qualifiedName = field . getQualifiedName ( ) + "." + propertyMetadata . getField ( ) . getName ( ) ; Property override = entityMetadata . getPropertyOverride ( qualifiedName ) ; if ( override != null ) { String mappedName = override . name ( ) ; if ( mappedName != null && mappedName . trim ( ) . length ( ) > 0 ) { propertyMetadata . setMappedName ( mappedName ) ; } propertyMetadata . setIndexed ( override . indexed ( ) ) ; propertyMetadata . setOptional ( override . optional ( ) ) ; } }
Processes the override if any for the given property .