gov.usda.gdpc
Class LocusProperty

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

public class LocusProperty
extends AbstractProperty

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

Author:
terryc

Field Summary
static LocusProperty CHROMOSOME_NUMBER
          Chromosome where locus exist (data type: java.lang.Integer).
static LocusProperty COMMENTS
          Comments about locus (data type: java.lang.String).
static LocusProperty DATA_SOURCE
          Data source of locus (data type: java.lang.String).
static LocusProperty GENETIC_BIN
          Genetic bin of locus (data type: java.lang.String).
static LocusProperty GENETIC_MAP
          Genetic map of locus (data type: java.lang.String).
static LocusProperty GENETIC_POSITION
          Genetic position of locus (data type: java.lang.Double).
static LocusProperty ID
          ID of locus (data type: gov.usda.gdpc.Identifier).
static LocusProperty LOCUS_TYPE
          Type of locus (data type: java.lang.String).
static LocusProperty NAME
          Name of locus (data type: java.lang.String).
static LocusProperty PHYSICAL_POSITION
          Physical position of locus (data type: java.lang.String).
static java.lang.String PROPERTY_TYPE
          The property type.
 
Constructor Summary
LocusProperty(java.lang.String name, java.lang.Class dataType, java.lang.String propertyType, java.lang.String propertySubType)
          LocusProperty constructor.
LocusProperty(java.lang.String name, java.lang.String dataType, java.lang.String propertyType, java.lang.String propertySubType)
          LocusProperty constructor.
 
Method Summary
static LocusProperty[] getDefinedProperties()
           
static LocusProperty 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 LocusProperty ID
ID of locus (data type: gov.usda.gdpc.Identifier).


DATA_SOURCE

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


NAME

public static final LocusProperty NAME
Name of locus (data type: java.lang.String).


LOCUS_TYPE

public static final LocusProperty LOCUS_TYPE
Type of locus (data type: java.lang.String).


CHROMOSOME_NUMBER

public static final LocusProperty CHROMOSOME_NUMBER
Chromosome where locus exist (data type: java.lang.Integer).


GENETIC_POSITION

public static final LocusProperty GENETIC_POSITION
Genetic position of locus (data type: java.lang.Double).


GENETIC_BIN

public static final LocusProperty GENETIC_BIN
Genetic bin of locus (data type: java.lang.String).


PHYSICAL_POSITION

public static final LocusProperty PHYSICAL_POSITION
Physical position of locus (data type: java.lang.String).


GENETIC_MAP

public static final LocusProperty GENETIC_MAP
Genetic map of locus (data type: java.lang.String).


COMMENTS

public static final LocusProperty COMMENTS
Comments about locus (data type: java.lang.String).

Constructor Detail

LocusProperty

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

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

LocusProperty

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

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

getInstance

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

getDefinedProperties

public static LocusProperty[] getDefinedProperties()