legacy/src/main/java/thredds/cataloggen/config/ResultService.java
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);
  }
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);
  }
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.

@param out StringBuffer with validation messages.
@return boolean true if valid, false if invalid
Validate this ResultService object . Return true if valid false if invalid .