gov.usda.gdpc
Class PhenotypeOntologyProperty

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

public class PhenotypeOntologyProperty
extends AbstractProperty

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

Author:
terryc

Field Summary
static PhenotypeOntologyProperty DATA_SOURCE
          Data source of phenotype ontology (data type: java.lang.String).
static PhenotypeOntologyProperty ID
          Identifier of phenotype ontology (data type: gov.usda.gdpc.Identifier).
static PhenotypeOntologyProperty NAME
          Name of phenotype ontology (data type: java.lang.String).
static java.lang.String PROPERTY_TYPE
          The property type.
 
Constructor Summary
PhenotypeOntologyProperty(java.lang.String name, java.lang.Class dataType, java.lang.String propertyType, java.lang.String propertySubType)
          PhenotypeOntologyProperty constructor.
PhenotypeOntologyProperty(java.lang.String name, java.lang.String dataType, java.lang.String propertyType, java.lang.String propertySubType)
          PhenotypeOntologyProperty constructor.
 
Method Summary
static PhenotypeOntologyProperty[] getDefinedProperties()
          Returns the list of created phenotype ontology properties.
static PhenotypeOntologyProperty 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

ID

public static final PhenotypeOntologyProperty ID
Identifier of phenotype ontology (data type: gov.usda.gdpc.Identifier).


DATA_SOURCE

public static final PhenotypeOntologyProperty DATA_SOURCE
Data source of phenotype ontology (data type: java.lang.String).


NAME

public static final PhenotypeOntologyProperty NAME
Name of phenotype ontology (data type: java.lang.String).

Constructor Detail

PhenotypeOntologyProperty

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

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

PhenotypeOntologyProperty

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

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

getInstance

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

getDefinedProperties

public static PhenotypeOntologyProperty[] getDefinedProperties()
Returns the list of created phenotype ontology properties.

Returns:
list