TPS-748 [5.4.1]bug in condition for tMDMinput(TMDM-7695)

TMDM-7482: "view contains complex type fields throw error in webUI"

(cherry picked from commit 49370e8)
(cherry picked from commit ae0d46593b0c74e0ae04fb7cc23e2bd7c0852ed8)

Conflicts:
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/ComplexTypeMetadata.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/ComplexTypeMetadataImpl.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/ContainedComplexTypeMetadata.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/ContainedTypeFieldMetadata.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/MetadataRepository.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/SoftTypeRef.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/UnresolvedTypeMetadata.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/annotation/ForeignKeyProcessor.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/validation/CompositeValidationRule.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/validation/FieldTypeValidationRule.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/validation/ForeignKeyCannotBeKey.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/validation/ForeignKeyExist.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/validation/ForeignKeyMaxLength.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/validation/ForeignKeyShouldPointToID.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/validation/KeyFieldsValidationRule.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/validation/NoOpValidationRule.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/validation/SuperTypeValidationRule.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/validation/UnresolvedField.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/validation/UnresolvedType.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/validation/ValidationFactory.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/validation/ValidationRule.java
	org.talend.mdm.commmon/src/org/talend/mdm/commmon/metadata/validation/XSDAttributeValidationRule.java