gov.nih.nci.caarray.domain.project
Class AbstractFactorValue

java.lang.Object
  extended by gov.nih.nci.caarray.domain.AbstractCaArrayObject
      extended by gov.nih.nci.caarray.domain.AbstractCaArrayEntity
          extended by gov.nih.nci.caarray.domain.AbstractUnitableValue
              extended by gov.nih.nci.caarray.domain.project.AbstractFactorValue
All Implemented Interfaces:
com.fiveamsolutions.nci.commons.data.persistent.PersistentObject, UnitableValue, java.io.Serializable
Direct Known Subclasses:
MeasurementFactorValue, TermBasedFactorValue, UserDefinedFactorValue

public abstract class AbstractFactorValue
extends AbstractUnitableValue

Author:
Rashmi Srinivasa
See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayEntity
CAARRAY_LSID_AUTHORITY, CAARRAY_LSID_NAMESPACE
 
Fields inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayObject
DEFAULT_BATCH_SIZE, DEFAULT_STRING_COLUMN_SIZE, LARGE_TEXT_FIELD_LENGTH
 
Constructor Summary
AbstractFactorValue()
          Hibernate-only constructor.
AbstractFactorValue(Term unit)
          Create a new factor value with given unit.
 
Method Summary
 Factor getFactor()
          Gets the factor.
 Hybridization getHybridization()
           
 Term getUnit()
          Gets the unit.
 void setFactor(Factor factorVal)
          Sets the factor.
 void setHybridization(Hybridization hybridization)
           
 void setUnit(Term unitVal)
          Sets the unit.
 
Methods inherited from class gov.nih.nci.caarray.domain.AbstractUnitableValue
getDisplayValue
 
Methods inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayEntity
getLsid, getLsidAuthority, getLsidNamespace, getLsidObjectId, setLsid, setLsid, setLsidForEntity
 
Methods inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayObject
equals, getCaBigId, getId, getPostLoadSecurityPolicies, getRemoteApiSecurityPolicies, hashCode, setCaBigId, setId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface gov.nih.nci.caarray.domain.UnitableValue
getDisplayValueWithoutUnit
 

Constructor Detail

AbstractFactorValue

public AbstractFactorValue()
Hibernate-only constructor.


AbstractFactorValue

public AbstractFactorValue(Term unit)
Create a new factor value with given unit.

Parameters:
unit - the unit for the value
Method Detail

getFactor

public Factor getFactor()
Gets the factor.

Returns:
the factor

setFactor

public void setFactor(Factor factorVal)
Sets the factor.

Parameters:
factorVal - the factor

getHybridization

public Hybridization getHybridization()
Returns:
the hybridization

setHybridization

public void setHybridization(Hybridization hybridization)
Parameters:
hybridization - the hybridization to set

getUnit

public Term getUnit()
Gets the unit.

Returns:
the unit

setUnit

public void setUnit(Term unitVal)
Sets the unit.

Parameters:
unitVal - the unit