// Path: core/src/main/java/edu/ucdavis/fiehnlab/spectra/hash/core/types/SpectraType.java
// public enum SpectraType {
//     MS('1'),
//     NMR('2'),
//     UV('3'),
//     IR('4'),
//     RAMAN('5');
// 
//     /**
//      * identifier has to be a single character
//      */
//     private final char identifier;
// 
//     /**
//      * creates a new spectra type with the assoicated reference number
//      *
//      * @param referenceNumber
//      */
//     SpectraType(char referenceNumber) {
//         this.identifier = referenceNumber;
//     }
// 
//     /**
//      * access to it's identifier
//      *
//      * @return
//      */
//     public char getIdentifier() {
//         return this.identifier;
//     }
// }


import edu.ucdavis.fiehnlab.spectra.hash.core.types.SpectraType;
package edu.ucdavis.fiehnlab.spectra.hash.core.validation.serialize;


/**
 * Created with IntelliJ IDEA.
 * User: wohlgemuth
 * Date: 7/15/15
 * Time: 12:30 PM
 */
public class ValidationResult extends Result {

    boolean valid;

    public String getSplashToValidate() {
        return splashToValidate;
    }

    public void setSplashToValidate(String splashToValidate) {
        this.splashToValidate = splashToValidate;
    }

    String splashToValidate;

    public ValidationResult() {

    }

    @Override
    public String toString() {
        return this.getSplash() + this.getSeparator() + this.getOrigin() + this.getSeparator() + this.isValid() + this.getSeparator() + this.getSplashToValidate() + this.getSeparator() + this.getSpectra();
    }

// Path: core/src/main/java/edu/ucdavis/fiehnlab/spectra/hash/core/types/SpectraType.java
// public enum SpectraType {
//     MS('1'),
//     NMR('2'),
//     UV('3'),
//     IR('4'),
//     RAMAN('5');
// 
//     /**
//      * identifier has to be a single character
//      */
//     private final char identifier;
// 
//     /**
//      * creates a new spectra type with the assoicated reference number
//      *
//      * @param referenceNumber
//      */
//     SpectraType(char referenceNumber) {
//         this.identifier = referenceNumber;
//     }
// 
//     /**
//      * access to it's identifier
//      *
//      * @return
//      */
//     public char getIdentifier() {
//         return this.identifier;
//     }
// }


// Path: validation/src/main/java/edu/ucdavis/fiehnlab/spectra/hash/core/validation/serialize/ValidationResult.java
import edu.ucdavis.fiehnlab.spectra.hash.core.types.SpectraType;

package edu.ucdavis.fiehnlab.spectra.hash.core.validation.serialize;


/**
 * Created with IntelliJ IDEA.
 * User: wohlgemuth
 * Date: 7/15/15
 * Time: 12:30 PM
 */
public class ValidationResult extends Result {

    boolean valid;

    public String getSplashToValidate() {
        return splashToValidate;
    }

    public void setSplashToValidate(String splashToValidate) {
        this.splashToValidate = splashToValidate;
    }

    String splashToValidate;

    public ValidationResult() {

    }

    @Override
    public String toString() {
        return this.getSplash() + this.getSeparator() + this.getOrigin() + this.getSeparator() + this.isValid() + this.getSeparator() + this.getSplashToValidate() + this.getSeparator() + this.getSpectra();
    }

    public ValidationResult(String code, String spectra, String origin, SpectraType msType, String seperator, boolean valid, String splash) {