@Component(value="cuba_FilterDateIntervalValue")
@Scope(value="prototype")
public class DateIntervalValue
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DateIntervalValue.TimeUnit |
static class |
DateIntervalValue.Type |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
DateIntervalValue() |
DateIntervalValue(java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.String |
getLocalizedValue() |
java.lang.Integer |
getNumber() |
PredefinedDateInterval |
getPredefinedDateInterval() |
DateIntervalValue.TimeUnit |
getTimeUnit() |
DateIntervalValue.Type |
getType() |
boolean |
isIncludingCurrent() |
void |
setIncludingCurrent(boolean includingCurrent) |
void |
setNumber(java.lang.Integer number) |
void |
setPredefinedDateInterval(PredefinedDateInterval predefinedDateInterval) |
void |
setTimeUnit(DateIntervalValue.TimeUnit timeUnit) |
void |
setType(DateIntervalValue.Type type) |
java.lang.String |
toJPQL(java.lang.String propertyName) |
public static final java.lang.String NAME
public DateIntervalValue()
public DateIntervalValue(java.lang.String description)
public DateIntervalValue.Type getType()
public void setType(DateIntervalValue.Type type)
public DateIntervalValue.TimeUnit getTimeUnit()
public void setTimeUnit(DateIntervalValue.TimeUnit timeUnit)
public java.lang.Integer getNumber()
public void setNumber(java.lang.Integer number)
public boolean isIncludingCurrent()
public void setIncludingCurrent(boolean includingCurrent)
public PredefinedDateInterval getPredefinedDateInterval()
public void setPredefinedDateInterval(PredefinedDateInterval predefinedDateInterval)
@Nullable public java.lang.String getDescription()
@Nullable public java.lang.String getLocalizedValue()
public java.lang.String toJPQL(java.lang.String propertyName)