Class VcfSample

java.lang.Object
org.pharmgkb.parser.vcf.model.VcfSample

public class VcfSample extends Object
This class contains sample data for a VCF position line.
  • Constructor Details

  • Method Details

    • getProperty

      @Nullable public String getProperty(@Nonnull String key)
    • getProperty

      @Nullable public <T> T getProperty(@Nonnull ReservedFormatProperty key)
      Returns the value for the reserved property as the type specified by both ReservedFormatProperty.getType() and ReservedFormatProperty.isList().
      Type Parameters:
      T - The type specified by ReservedInfoProperty.getType() if ReservedFormatProperty.isList() is false; otherwise List<V> where V is the type specified by ReservedFormatProperty.getType().
    • containsProperty

      public boolean containsProperty(@Nonnull String key)
    • containsProperty

      public boolean containsProperty(@Nonnull ReservedFormatProperty key)
    • putProperty

      public void putProperty(@Nonnull String key, @Nullable String value)
    • putProperty

      public void putProperty(@Nonnull ReservedFormatProperty key, @Nullable String value)
    • removeProperty

      public void removeProperty(@Nonnull String key)
    • removeProperty

      public void removeProperty(@Nonnull ReservedFormatProperty key)
    • clearProperties

      public void clearProperties()
    • getPropertyKeys

      @Nonnull public Set<String> getPropertyKeys()
      Returns:
      A set of the property keys, which has guaranteed order
    • propertyEntrySet

      @Nonnull public Set<Map.Entry<String,String>> propertyEntrySet()