Package org.cyclos.model.utils
Class DatePeriodDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.utils.DatePeriodDTO
-
- All Implemented Interfaces:
Serializable,IDatePeriod
public class DatePeriodDTO extends Bean implements IDatePeriod
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<DateTime,DatePeriodDTO>BEGINstatic StringCLASS_NAMEstatic BasicProperty<DateTime,DatePeriodDTO>END
-
Constructor Summary
Constructors Constructor Description DatePeriodDTO()DatePeriodDTO(Property<T,? super DatePeriodDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()booleanequals(Object other)DateTimegetBegin()DateTimegetEnd()inthashCode()voidsetBegin(DateTime begin)voidsetEnd(DateTime end)StringtoString()-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
BEGIN
public static final BasicProperty<DateTime,DatePeriodDTO> BEGIN
-
END
public static final BasicProperty<DateTime,DatePeriodDTO> END
-
-
Constructor Detail
-
DatePeriodDTO
public DatePeriodDTO()
-
DatePeriodDTO
public DatePeriodDTO(Property<T,? super DatePeriodDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getBegin
public DateTime getBegin()
- Specified by:
getBeginin interfaceIDatePeriod
-
setBegin
public void setBegin(DateTime begin)
-
getEnd
public DateTime getEnd()
- Specified by:
getEndin interfaceIDatePeriod
-
setEnd
public void setEnd(DateTime end)
-
-