|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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
,
Experiments and analysis overviewField 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 NameableData
String
with the name of the itempublic void setName(String name)
NameableData
MAX_NAME_LENGTH
constant.
setName
in interface NameableData
name
- The new name for the itempublic String getDescription()
NameableData
getDescription
in interface NameableData
String
with a description of the itempublic void setDescription(String description)
NameableData
MAX_DESCRIPTION_LENGTH
constant.
setDescription
in interface NameableData
description
- The new description for the itempublic boolean isRemoved()
RemovableData
isRemoved
in interface RemovableData
public void setRemoved(boolean removed)
RemovableData
setRemoved
in interface RemovableData
removed
- TRUE if the item should be flagged as removed,
FALSE otherwisepublic Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public 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)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |