Examples of MTypeType


Examples of org.aavso.tools.vstar.data.MTypeType

    String name = nameFieldValidator.validate(fields[fieldIndexMap
        .get("NAME_FIELD")]);
    observation.setName(name);

    MTypeType mType = magTypeValidator.validate(fields[fieldIndexMap
        .get("MTYPE_FIELD")]);
    if (mType != null) {
      observation.setMType(mType);
    }
View Full Code Here

Examples of org.aavso.tools.vstar.data.MTypeType

    if (this.isLegallyEmpty(str))
      return null;

    String validatedStr = this.regexValidator.validate(str)[0];

    MTypeType type = null;

    if ("STD".equals(validatedStr)) {
      type = MTypeType.STD;
    } else if ("DIFF".equals(validatedStr)) {
      type = MTypeType.DIFF;
View Full Code Here

Examples of org.aavso.tools.vstar.data.MTypeType

        observation.setTransformed(transformed);
      }

      // ValidObservation defaults to STD.
      String mtypeStr = fields[6].trim();
      MTypeType mtype = null;
      if (!isNA(mtypeStr)) {
        if ("DIF".equals(mtypeStr)) {
          mtype = MTypeType.DIFF;
        } else if ("STD".equals(mtypeStr)) {
          mtype = MTypeType.STD;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.