public void validateUniqueIDsForMicrosoftProject ( ) { if ( ! isEmpty ( ) ) { for ( T entity : this ) { if ( NumberHelper . getInt ( entity . getUniqueID ( ) ) > MS_PROJECT_MAX_UNIQUE_ID ) { renumberUniqueIDs ( ) ; break ; } } } }
Validate that the Unique IDs for the entities in this container are valid for MS Project . If they are not valid i . e one or more of them are too large renumber them .