edu.jhu.tmaj.beans.dynamic.data
Class ArrayImageDynamicField
java.lang.Object
edu.jhu.tmaj.database.data.DatabaseField
edu.jhu.tmaj.beans.dynamic.data.DynamicTField
edu.jhu.tmaj.beans.dynamic.data.ArrayImageDynamicField
- All Implemented Interfaces:
- MetaObject, java.io.Serializable
public final class ArrayImageDynamicField
- extends DynamicTField
Represents a record in the ArrayImageFieldsNames Table. ArrayImageFieldNames can be associated
with a Scoring Strategy, instead of just a "Type" like the other FieldNames Tables.
- See Also:
- Serialized Form
Field Summary |
static java.lang.Integer |
SCORING_STRATEGY_TISSUE_TYPE_ID
The DynamicTypeID assigned to DynamicFields who are a ScoringStrategy field, not a regular
Dynamic Field |
Constructor Summary |
ArrayImageDynamicField(int fieldID,
int tissueTypeID,
int scoringStrategy_ID,
java.lang.String fieldName)
Initializes this class. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SCORING_STRATEGY_TISSUE_TYPE_ID
public static final java.lang.Integer SCORING_STRATEGY_TISSUE_TYPE_ID
- The DynamicTypeID assigned to DynamicFields who are a ScoringStrategy field, not a regular
Dynamic Field
ArrayImageDynamicField
public ArrayImageDynamicField(int fieldID,
int tissueTypeID,
int scoringStrategy_ID,
java.lang.String fieldName)
- Initializes this class. A value is provided for either the TissueTypeID field or teh
ScoringStrategyID field.
- Parameters:
fieldID
- the primary key FieldID in table ArrayImageFieldstissueTypeID
- the TissueTypeID field in table ArrayImagesscoringStrategy_ID
- the ScoringStrategyID field in table ArrayImageFields. *fieldName
- the FieldName field in table ArrayImageFields
getScoringStrategyID
public int getScoringStrategyID()
- Returns the ScoringStrategyID to this DynamicField belongs. Normally, a DynamicField belongs
to a type, but if this class is classified as SCORING_STRATEGY_FIELD, it will belong to a
ScoringStrategyID.
- Returns:
- the ScoringStrategyID, the primary key of table ScoringStrategies.
getClassificationID
public ArrayImageDynamicField.AIDynamicFieldType getClassificationID()
- Returns whether this dynamic fieldname is a regular dynamic field or a scoring stategy
field. Records in the ArrayImageFieldNames can be either. Note: Other dynamic field tables
simply use the superclass, DynamicField.
- Returns:
- either REGULAR_DYNAMIC_FIELD or SCORING_STRATEGY_FIELD