question: public static void validateAttributes ( AttrSet attrSet , Class cls , Guid guid ) throws UMSException , DataConstraintException { if ( attrSet == null ) { return ; } String [ ] attrNames = attrSet . getAttributeNames ( ) ; for ( int i = 0 ; i < attrNames . length ; i ++ ) { Attr attr = attrSet . getAttribute ( attrNames [ i ] ) ; validateAttribute ( attr , cls , guid ) ; } }
target:  Determines whether each attribute in the attribute set is valid. Iterates though the set checking each element to see if there is a validation method that needs to execute.