gov.usda.gdpc
Class GenotypeProperty

java.lang.Object
  extended bygov.usda.gdpc.AbstractProperty
      extended bygov.usda.gdpc.GenotypeProperty
All Implemented Interfaces:
java.lang.Comparable, Property

public class GenotypeProperty
extends AbstractProperty

This follows the enum pattern and represents a genotype property. This is used to define the specific properties of a genotype.

Author:
terryc

Field Summary
static GenotypeProperty ALLELE_LIST
          Value of genotype (data type: gov.usda.gdpc.AlleleList).
static GenotypeProperty DATA_SOURCE
          Data source of genotype (data type: java.lang.String).
static GenotypeProperty GENOTYPE_EXPERIMENT
          Genotype Experiment of genotype (data type: gov.usda.gdpc.GenotypeExperiment).
static java.lang.String PROPERTY_TYPE
          The property type.
static GenotypeProperty TAXON
          Taxon of genotype (data type: gov.usda.gdpc.Taxon).
 
Constructor Summary
protected GenotypeProperty(java.lang.String name, java.lang.Class dataType, java.lang.String propertyType, java.lang.String propertySubType)
          GenotypeProperty constructor.
protected GenotypeProperty(java.lang.String name, java.lang.String dataType, java.lang.String propertyType, java.lang.String propertySubType)
          GenotypeProperty constructor.
 
Method Summary
static GenotypeProperty[] getDefinedProperties()
           
static GenotypeProperty getInstance(java.lang.String propertySubType)
           
 
Methods inherited from class gov.usda.gdpc.AbstractProperty
compareTo, equals, getDataType, getName, getSubType, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PROPERTY_TYPE

public static final java.lang.String PROPERTY_TYPE
The property type.

See Also:
Constant Field Values

DATA_SOURCE

public static final GenotypeProperty DATA_SOURCE
Data source of genotype (data type: java.lang.String).


TAXON

public static final GenotypeProperty TAXON
Taxon of genotype (data type: gov.usda.gdpc.Taxon).


GENOTYPE_EXPERIMENT

public static final GenotypeProperty GENOTYPE_EXPERIMENT
Genotype Experiment of genotype (data type: gov.usda.gdpc.GenotypeExperiment).


ALLELE_LIST

public static final GenotypeProperty ALLELE_LIST
Value of genotype (data type: gov.usda.gdpc.AlleleList).

Constructor Detail

GenotypeProperty

protected GenotypeProperty(java.lang.String name,
                           java.lang.String dataType,
                           java.lang.String propertyType,
                           java.lang.String propertySubType)
GenotypeProperty constructor.

Parameters:
name - genotype property name
dataType - data type of this property (class name)
propertyType - property type
propertySubType - property subtype

GenotypeProperty

protected GenotypeProperty(java.lang.String name,
                           java.lang.Class dataType,
                           java.lang.String propertyType,
                           java.lang.String propertySubType)
GenotypeProperty constructor.

Parameters:
name - genotype property name
dataType - data type of this property (class)
propertyType - property type
propertySubType - property subtype
Method Detail

getInstance

public static GenotypeProperty getInstance(java.lang.String propertySubType)

getDefinedProperties

public static GenotypeProperty[] getDefinedProperties()