public void validate ( EntityType entityType ) { validateEntityId ( entityType ) ; validateEntityLabel ( entityType ) ; validatePackage ( entityType ) ; validateExtends ( entityType ) ; validateOwnAttributes ( entityType ) ; Map < String , Attribute > ownAllAttrMap = stream ( entityType . getOwnAllAttributes ( ) ) . collect ( toLinkedMap ( Attribute :: getIdentifier , Function . identity ( ) ) ) ; validateOwnIdAttribute ( entityType , ownAllAttrMap ) ; validateOwnLabelAttribute ( entityType , ownAllAttrMap ) ; validateOwnLookupAttributes ( entityType , ownAllAttrMap ) ; validateLabelAttribute ( entityType ) ; validateBackend ( entityType ) ; }
Validates entity meta data