gov.nih.nci.caarray.services.fileparse2.arraydesign
Class ParsedFeature

java.lang.Object
  extended by org.apache.commons.beanutils.WrapDynaBean
      extended by gov.nih.nci.caarray.services.fileparse2.parsers.LocalDynaBeanWrapper
          extended by gov.nih.nci.caarray.services.fileparse2.arraydesign.ParsedFeature
All Implemented Interfaces:
LocalDynaBean, org.apache.commons.beanutils.DynaBean

public class ParsedFeature
extends LocalDynaBeanWrapper

This class is intended to be dynamically implemented

Author:
TranP

Field Summary
 
Fields inherited from class org.apache.commons.beanutils.WrapDynaBean
dynaClass, instance
 
Constructor Summary
ParsedFeature(java.lang.Object dynaBean, java.util.Map featureProperty2ColumnMap)
           
 
Method Summary
 java.lang.Integer getColumn()
           
 java.lang.String getGeneIdentifier()
           
 long getInternalId()
           
 java.util.Map getOtherProperties()
          Returns other properties which would be stored as MAGE Reporter.propertySets.
 java.lang.Integer getRow()
           
 java.lang.Integer getZoneColumn()
           
 java.lang.String getZoneIdentifier()
           
 java.lang.Integer getZoneRow()
           
 void setColumn(java.lang.Integer column)
           
 void setGeneIdentifier(java.lang.String geneIdentifier)
           
 void setOtherPropertyNames(java.lang.String[] propertyNames)
          Intended to be implemented dynamically by a subclass to set a list of main property names that are mapped to the defined getter and setters so other unmapped properties could be recognized as returned by the method getOtherProperties().
 void setRow(java.lang.Integer row)
           
 void setZoneColumn(java.lang.Integer zoneColumn)
           
 void setZoneIdentifier(java.lang.String zoneIdentifier)
           
 void setZoneRow(java.lang.Integer zoneRow)
           
 
Methods inherited from class gov.nih.nci.caarray.services.fileparse2.parsers.LocalDynaBeanWrapper
get, getAsDouble, getAsInteger, getAsLong, getAsString, main
 
Methods inherited from class org.apache.commons.beanutils.WrapDynaBean
contains, get, get, getDynaClass, getDynaProperty, remove, set, set, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.beanutils.DynaBean
contains, get, get, getDynaClass, remove, set, set, set
 

Constructor Detail

ParsedFeature

public ParsedFeature(java.lang.Object dynaBean,
                     java.util.Map featureProperty2ColumnMap)
Parameters:
dynaBean - - Represents a row parsed from the data file with the column names and their value stored as a map.
featureProperty2ColumnMap - - indicates which property, e.g. column row, zoneColumn, zoneRow, corresponds to which column in the dynaBean.
Method Detail

getInternalId

public long getInternalId()
Returns:
Returns the internalId.

getColumn

public java.lang.Integer getColumn()
Returns:
Returns the column.

setColumn

public void setColumn(java.lang.Integer column)
Parameters:
column - The column to set.

getRow

public java.lang.Integer getRow()
Returns:
Returns the row.

setRow

public void setRow(java.lang.Integer row)
Parameters:
row - The row to set.

getZoneColumn

public java.lang.Integer getZoneColumn()
Returns:
Returns the zoneColumn.

setZoneColumn

public void setZoneColumn(java.lang.Integer zoneColumn)
Parameters:
zoneColumn - The zoneColumn to set.

getZoneRow

public java.lang.Integer getZoneRow()
Returns:
Returns the zoneRow.

setZoneRow

public void setZoneRow(java.lang.Integer zoneRow)
Parameters:
zoneRow - The zoneRow to set.

getGeneIdentifier

public java.lang.String getGeneIdentifier()
Returns:
Returns the geneIdentifier.

setGeneIdentifier

public void setGeneIdentifier(java.lang.String geneIdentifier)
Parameters:
geneIdentifier - The geneIdentifier to set.

getZoneIdentifier

public java.lang.String getZoneIdentifier()
Returns:
Returns the zoneIdentifier.

setZoneIdentifier

public void setZoneIdentifier(java.lang.String zoneIdentifier)
Parameters:
zoneIdentifier - The zoneIdentifier to set.

getOtherProperties

public java.util.Map getOtherProperties()
Returns other properties which would be stored as MAGE Reporter.propertySets.

Returns:
A Map object each entry of which represents a column/property name and its value.

setOtherPropertyNames

public void setOtherPropertyNames(java.lang.String[] propertyNames)
Intended to be implemented dynamically by a subclass to set a list of main property names that are mapped to the defined getter and setters so other unmapped properties could be recognized as returned by the method getOtherProperties().