|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.ExtraValueTypeData
public class ExtraValueTypeData
This represents the definitiona of an extra value type that can be calculated by a plugin.
ExtraValueType,
Developer documentation: Experiments and analysis| Field Summary | |
|---|---|
private int |
averageMethod
|
private ColoringData |
coloring
|
private String |
description
|
private Date |
entryDate
|
private String |
externalId
|
private Set<ExtraValueData> |
extraValues
|
static int |
MAX_EXTERNAL_ID_LENGTH
The maximum length of the external id that can be stored in the database. |
private String |
name
|
private boolean |
removed
|
private int |
valueType
|
| Fields inherited from interface net.sf.basedb.core.data.NameableData |
|---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
| Constructor Summary | |
|---|---|
ExtraValueTypeData()
|
|
| Method Summary | |
|---|---|
int |
getAverageMethod()
The average method for thid formula: 0 = none, Formula.AverageMethod.NONE;
no average is defined for this formula
1 = geometric mean, Formula.AverageMethod.GEOMETRIC_MEAN;
this formula uses geometric mean
2 = arithmetic mean, Formula.AverageMethod.ARITHMETIC_MEAN;
this formula uses arithmetic mean
3 = min, Formula.AverageMethod.MIN;
this formula uses the min value as a "mean"
4 = max, Formula.AverageMethod.MAX;
this formula uses the max value as a "mean"
|
ColoringData |
getColoring()
Get the coloring information for this extra value type. |
String |
getDescription()
Get the description for the item. |
Date |
getEntryDate()
Get the date this item was added to the database. |
String |
getExternalId()
Get the external id for this ExtraValueType item. |
(package private) Set<ExtraValueData> |
getExtraValues()
This is the inverse end. |
String |
getName()
Get the name of the item. |
int |
getValueType()
The code for the value type. |
boolean |
isRemoved()
Check if the removed flag is set for this item. |
void |
setAverageMethod(int averageMethod)
|
void |
setColoring(ColoringData coloring)
|
void |
setDescription(String description)
Set the description for the item. |
void |
setEntryDate(Date entryDate)
|
void |
setExternalId(String externalId)
|
(package private) void |
setExtraValues(Set<ExtraValueData> extraValues)
|
void |
setName(String name)
Set the name of the item. |
void |
setRemoved(boolean removed)
Set the removed flag for this item. |
void |
setValueType(int valueType)
|
| Methods inherited from class net.sf.basedb.core.data.BasicData |
|---|
equals, getId, getVersion, hashCode, setId, setVersion, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.sf.basedb.core.data.IdentifiableData |
|---|
getId, getVersion |
| Field Detail |
|---|
private String name
private String description
private boolean removed
private Date entryDate
public static final int MAX_EXTERNAL_ID_LENGTH
setExternalId(String),
Constant Field Valuesprivate String externalId
private int valueType
private ColoringData coloring
private int averageMethod
private Set<ExtraValueData> extraValues
| Constructor Detail |
|---|
public ExtraValueTypeData()
| Method Detail |
|---|
public String getName()
NameableData
getName in interface NameableDataString with the name of the itempublic void setName(String name)
NameableDataMAX_NAME_LENGTH constant.
setName in interface NameableDataname - The new name for the itempublic String getDescription()
NameableData
getDescription in interface NameableDataString with a description of the itempublic void setDescription(String description)
NameableDataMAX_DESCRIPTION_LENGTH constant.
setDescription in interface NameableDatadescription - The new description for the itempublic boolean isRemoved()
RemovableData
isRemoved in interface RemovableDatapublic void setRemoved(boolean removed)
RemovableData
setRemoved in interface RemovableDataremoved - TRUE if the item should be flagged as removed,
FALSE otherwisepublic Date getEntryDate()
RegisteredData
getEntryDate in interface RegisteredDatapublic void setEntryDate(Date entryDate)
public String getExternalId()
ExtraValueType item.
public void setExternalId(String externalId)
public int getValueType()
public void setValueType(int valueType)
public ColoringData getColoring()
public void setColoring(ColoringData coloring)
public int getAverageMethod()
Formula.AverageMethod.NONE;
no average is defined for this formula
Formula.AverageMethod.GEOMETRIC_MEAN;
this formula uses geometric mean
Formula.AverageMethod.ARITHMETIC_MEAN;
this formula uses arithmetic mean
Formula.AverageMethod.MIN;
this formula uses the min value as a "mean"
Formula.AverageMethod.MAX;
this formula uses the max value as a "mean"
public void setAverageMethod(int averageMethod)
Set<ExtraValueData> getExtraValues()
ExtraValueData.getExtraValueType()void setExtraValues(Set<ExtraValueData> extraValues)
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||