Package org.pharmgkb.parser.vcf.model
Class VcfSample
java.lang.Object
org.pharmgkb.parser.vcf.model.VcfSample
This class contains sample data for a VCF position line.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleancontainsProperty(String key) booleangetProperty(String key) <T> TReturns the value for the reserved property as the type specified by bothReservedFormatProperty.getType()andReservedFormatProperty.isList().voidputProperty(String key, String value) voidputProperty(ReservedFormatProperty key, String value) voidremoveProperty(String key) void
-
Constructor Details
-
VcfSample
-
VcfSample
-
-
Method Details
-
getProperty
-
getProperty
Returns the value for the reserved property as the type specified by bothReservedFormatProperty.getType()andReservedFormatProperty.isList().- Type Parameters:
T- The type specified byReservedInfoProperty.getType()ifReservedFormatProperty.isList()is false; otherwiseList<V>where V is the type specified byReservedFormatProperty.getType().
-
containsProperty
-
containsProperty
-
putProperty
-
putProperty
-
removeProperty
-
removeProperty
-
clearProperties
public void clearProperties() -
getPropertyKeys
- Returns:
- A set of the property keys, which has guaranteed order
-
propertyEntrySet
-