code: @Override
      public Validation validate(Context context,
                                 String pid,
                                 Date asOfDateTime) throws ServerException {
  
          try {
              logger.debug("Entered validate");
  
              m_authz.enforceValidate(context,
                                      pid,
                                      asOfDateTime);
              return ecmValidator.validate(context, pid, asOfDateTime);
  
          } finally {
              // Logger completion
              if (logger.isInfoEnabled()) {
                  StringBuilder logMsg =
                          new StringBuilder("Completed validate(");
                  logMsg.append("pid: ").append(pid);
                  logMsg.append(", asOfDateTime: ").append(asOfDateTime);
                  logMsg.append(")");
                  logger.info(logMsg.toString());
              }
  
              logger.debug("Exiting validate");
          }
  
  
      }
docs: Validate the object against the datacontracts from the objects content model. This method just delegates the validation
  to EcmValidator
  
  @param context      the call context
  @param pid          the pid of the object to validate
  @param asOfDateTime the datetime to get to object as
  @return The result of the validation
  @see org.fcrepo.server.validation.ecm.EcmValidator