|
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.ParameterValueData<Date>
net.sf.basedb.core.data.DateParameterValueData
public class DateParameterValueData
Date parameter value.
| Field Summary | |
|---|---|
private List<Date> |
values
|
| Fields inherited from class net.sf.basedb.core.data.ParameterValueData |
|---|
MAX_DESCRIPTION_LENGTH, MAX_LABEL_LENGTH |
| Constructor Summary | |
|---|---|
DateParameterValueData()
|
|
DateParameterValueData(Date... values)
|
|
| Method Summary | |
|---|---|
List<Date> |
getValues()
Get values of this parameter. |
int |
getValueType()
Get the type of parameter values that are store in this parameter. |
void |
replaceValues(List<?> values)
Overrides the parent method since we want to get rid of the time part of the date. |
void |
setSingleValue(Object value)
Overrides the parent method since we want to get rid of the time part of the date. |
(package private) void |
setValues(List<Date> values)
Set values of this parameter. |
String |
toString()
The string will look like ClassName[id=55] or
ClassName[new]. |
| Methods inherited from class net.sf.basedb.core.data.ParameterValueData |
|---|
getDescription, getLabel, setDescription, setLabel |
| Methods inherited from class net.sf.basedb.core.data.BasicData |
|---|
equals, getId, getVersion, hashCode, setId, setVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private List<Date> values
| Constructor Detail |
|---|
public DateParameterValueData()
public DateParameterValueData(Date... values)
| Method Detail |
|---|
public int getValueType()
ParameterValueDataType.getValue()
values, or 0 if the parameter has no corresponding type.
getValueType in class ParameterValueData<Date>public List<Date> getValues()
ParameterValueData
getValues in class ParameterValueData<Date>void setValues(List<Date> values)
ParameterValueData
NOTE! Used by Hibernate to initialize the object. Do not
call AnnotationData.setLastUpdate(java.util.Date)!
setValues in class ParameterValueData<Date>values - Collection of values.public void replaceValues(List<?> values)
replaceValues in class ParameterValueData<Date>public void setSingleValue(Object value)
setSingleValue in class ParameterValueData<Date>public String toString()
BasicDataClassName[id=55] or
ClassName[new].
toString in class BasicData
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||