src/test/java/ucar/geoapi/MetadataBaseValidator.java
public void validate(final Metadata object) {
        if (object == null) {
            return;
        }
        Date creationDate = object.getDateStamp();
        mandatory("Metadata: shall have a creation date.", creationDate);

        final Collection<? extends Identification> identifications = object.getIdentificationInfo();
        mandatory("Metadata: shall have an identification information.",
                (identifications != null && identifications.isEmpty()) ? null : identifications);
    }
/**
     * Validates the given metadata.
     *
     * @param  object  the object to validate, or {@code null}.
     */
Validates the given metadata.
@param  object  the object to validate, or  null.
Validates the given metadata . @param object the object to validate or null .
public void validate(final Metadata object) {
        if (object == null) {
            return;
        }
        Date creationDate = object.getDateStamp();
        mandatory("Metadata: shall have a creation date.", creationDate);
        final Collection<? extends Identification> identifications = object.getIdentificationInfo();
        mandatory("Metadata: shall have an identification information.",
                (identifications != null && identifications.isEmpty()) ? null : identifications);
    }
public void validate ( final Metadata object ) { if ( object == null ) { return ; } Date creationDate = object . getDateStamp ( ) ; mandatory ( "Metadata: shall have a creation date." , creationDate ) ; final Collection < ? extends Identification > identifications = object . getIdentificationInfo ( ) ; mandatory ( "Metadata: shall have an identification information." , ( identifications != null && identifications . isEmpty ( ) ) ? null : identifications ) ; }
Validates the given metadata.
Validates the given metadata .