protected boolean validate ( StringBuilder out ) { this . isValid = true ; // If log from construction has content, append to validation output msg. if ( this . log . length ( ) > 0 ) { out . append ( this . log ) ; } // Check that 'accessPointHeader' attribute is not null. if ( this . getAccessPointHeader ( ) == null ) { this . isValid = false ; out . append ( " ** ResultService (1): a null 'accessPointHeader' is invalid." ) ; } return ( this . isValid ) ; }
Validate this ResultService object . Return true if valid false if invalid .