private void readFieldAlias ( Project . ExtendedAttributes . ExtendedAttribute attribute ) { String alias = attribute . getAlias ( ) ; if ( alias != null && alias . length ( ) != 0 ) { FieldType field = FieldTypeHelper . getInstance ( Integer . parseInt ( attribute . getFieldID ( ) ) ) ; m_projectFile . getCustomFields ( ) . getCustomField ( field ) . setAlias ( attribute . getAlias ( ) ) ; } }
Read a single field alias from an extended attribute .