java.lang.Object
org.phenopackets.phenopackettools.builder.builders.ValueBuilder

public class ValueBuilder extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.phenopackets.schema.v2.core.Value
    of(String id, String label)
     
    static org.phenopackets.schema.v2.core.Value
    of(String id, String label, double value)
     
    static org.phenopackets.schema.v2.core.Value
    of(org.phenopackets.schema.v2.core.OntologyClass ontologyClass)
     
    static org.phenopackets.schema.v2.core.Value
    of(org.phenopackets.schema.v2.core.OntologyClass assay, double value)
     
    static org.phenopackets.schema.v2.core.Value
    of(org.phenopackets.schema.v2.core.OntologyClass assay, double value, double low, double high)
     
    static org.phenopackets.schema.v2.core.Value
    of(org.phenopackets.schema.v2.core.OntologyClass assay, double value, org.phenopackets.schema.v2.core.ReferenceRange ref)
     
    static org.phenopackets.schema.v2.core.Value
    of(org.phenopackets.schema.v2.core.Quantity quantity)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • of

      public static org.phenopackets.schema.v2.core.Value of(String id, String label)
    • of

      public static org.phenopackets.schema.v2.core.Value of(org.phenopackets.schema.v2.core.OntologyClass ontologyClass)
    • of

      public static org.phenopackets.schema.v2.core.Value of(org.phenopackets.schema.v2.core.Quantity quantity)
    • of

      public static org.phenopackets.schema.v2.core.Value of(String id, String label, double value)
      Parameters:
      id - The ontology term id of The assay used for the measurement
      label - The ontology term label of The assay used for the measurement
      value - The test result
      Returns:
      a Value without reference range
    • of

      public static org.phenopackets.schema.v2.core.Value of(org.phenopackets.schema.v2.core.OntologyClass assay, double value)
      Parameters:
      assay - The assay used for the measurement (and for which the reference range applies)
      value - The test result
      Returns:
      a Value without reference range
    • of

      public static org.phenopackets.schema.v2.core.Value of(org.phenopackets.schema.v2.core.OntologyClass assay, double value, org.phenopackets.schema.v2.core.ReferenceRange ref)
      Parameters:
      assay - The assay used for the measurement (and for which the reference range applies)
      value - The test result
      ref - The reference range for the test (with lower and upper limit of normal)
      Returns:
      a Value with reference range
    • of

      public static org.phenopackets.schema.v2.core.Value of(org.phenopackets.schema.v2.core.OntologyClass assay, double value, double low, double high)
      Parameters:
      assay - The assay used for the measurement (and for which the reference range applies)
      value - The test result
      low - The lower limit of normal for the test
      high - The upper limit of normal for the test
      Returns:
      a Value with reference range