gov.usda.gdpc
Class PhenotypeProperty

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

public class PhenotypeProperty
extends AbstractProperty

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

Author:
terryc

Field Summary
static PhenotypeProperty DATA_SOURCE
          Data source of phenotype (data type: java.lang.String).
static PhenotypeProperty ENVIRONMENT_EXPERIMENT
          Environment Experiment of phenotype (data type: gov.usda.gdpc.EnvironmentExperiment).
static PhenotypeProperty ONTOLOGY
          Ontology of phenotype (data type: gov.usda.gdpc.PhenotypeOntology).
static java.lang.String PROPERTY_TYPE
          The property type.
static PhenotypeProperty TAXON
          Taxon of phenotype (data type: gov.usda.gdpc.Taxon).
static PhenotypeProperty VALUE
          Value of phenotype (data type: java.lang.String).
 
Constructor Summary
PhenotypeProperty(java.lang.String name, java.lang.Class dataType, java.lang.String propertyType, java.lang.String propertySubType)
          PhenotypeProperty constructor.
PhenotypeProperty(java.lang.String name, java.lang.String dataType, java.lang.String propertyType, java.lang.String propertySubType)
          PhenotypeProperty constructor.
 
Method Summary
static PhenotypeProperty[] getDefinedProperties()
           
static PhenotypeProperty 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 PhenotypeProperty DATA_SOURCE
Data source of phenotype (data type: java.lang.String).


ONTOLOGY

public static final PhenotypeProperty ONTOLOGY
Ontology of phenotype (data type: gov.usda.gdpc.PhenotypeOntology).


TAXON

public static final PhenotypeProperty TAXON
Taxon of phenotype (data type: gov.usda.gdpc.Taxon).


ENVIRONMENT_EXPERIMENT

public static final PhenotypeProperty ENVIRONMENT_EXPERIMENT
Environment Experiment of phenotype (data type: gov.usda.gdpc.EnvironmentExperiment).


VALUE

public static final PhenotypeProperty VALUE
Value of phenotype (data type: java.lang.String).

Constructor Detail

PhenotypeProperty

public PhenotypeProperty(java.lang.String name,
                         java.lang.String dataType,
                         java.lang.String propertyType,
                         java.lang.String propertySubType)
PhenotypeProperty constructor.

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

PhenotypeProperty

public PhenotypeProperty(java.lang.String name,
                         java.lang.Class dataType,
                         java.lang.String propertyType,
                         java.lang.String propertySubType)
PhenotypeProperty constructor.

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

getInstance

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

getDefinedProperties

public static PhenotypeProperty[] getDefinedProperties()