Class CustomScheduledTaskDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.system.scheduledtasks.CustomScheduledTaskDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,INamedEntity
public class CustomScheduledTaskDTO extends NamedEntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Integer,CustomScheduledTaskDTO>DAY_MONTHstatic BasicProperty<WeekDay,CustomScheduledTaskDTO>DAY_WEEKstatic BasicProperty<String,CustomScheduledTaskDTO>DESCRIPTIONstatic BasicProperty<Boolean,CustomScheduledTaskDTO>ENABLEDstatic BasicProperty<Integer,CustomScheduledTaskDTO>HOURstatic BasicProperty<TimeIntervalDTO,CustomScheduledTaskDTO>RECURRENCEstatic BasicProperty<CustomScriptVO,CustomScheduledTaskDTO>SCRIPTstatic BasicProperty<String,CustomScheduledTaskDTO>SCRIPT_PARAMETERS-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description CustomScheduledTaskDTO()CustomScheduledTaskDTO(Long id)CustomScheduledTaskDTO(Property<T,? super CustomScheduledTaskDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()IntegergetDayMonth()WeekDaygetDayWeek()StringgetDescription()IntegergetHour()TimeIntervalDTOgetRecurrence()CustomScriptVOgetScript()StringgetScriptParameters()booleanisEnabled()voidsetDayMonth(Integer dayMonth)voidsetDayWeek(WeekDay dayWeek)voidsetDescription(String description)voidsetEnabled(boolean enabled)voidsetHour(Integer hour)voidsetRecurrence(TimeIntervalDTO recurrence)voidsetScript(CustomScriptVO script)voidsetScriptParameters(String scriptParameters)-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, set, setAttribute, setWithPropagationId
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
DAY_MONTH
public static final BasicProperty<Integer,CustomScheduledTaskDTO> DAY_MONTH
-
DAY_WEEK
public static final BasicProperty<WeekDay,CustomScheduledTaskDTO> DAY_WEEK
-
DESCRIPTION
public static final BasicProperty<String,CustomScheduledTaskDTO> DESCRIPTION
-
ENABLED
public static final BasicProperty<Boolean,CustomScheduledTaskDTO> ENABLED
-
HOUR
public static final BasicProperty<Integer,CustomScheduledTaskDTO> HOUR
-
RECURRENCE
public static final BasicProperty<TimeIntervalDTO,CustomScheduledTaskDTO> RECURRENCE
-
SCRIPT
public static final BasicProperty<CustomScriptVO,CustomScheduledTaskDTO> SCRIPT
-
SCRIPT_PARAMETERS
public static final BasicProperty<String,CustomScheduledTaskDTO> SCRIPT_PARAMETERS
-
-
Constructor Detail
-
CustomScheduledTaskDTO
public CustomScheduledTaskDTO()
-
CustomScheduledTaskDTO
public CustomScheduledTaskDTO(Long id)
-
CustomScheduledTaskDTO
public CustomScheduledTaskDTO(Property<T,? super CustomScheduledTaskDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classNamedEntityDTO
-
getDayMonth
public Integer getDayMonth()
-
setDayMonth
public void setDayMonth(Integer dayMonth)
-
getDayWeek
public WeekDay getDayWeek()
-
setDayWeek
public void setDayWeek(WeekDay dayWeek)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getHour
public Integer getHour()
-
setHour
public void setHour(Integer hour)
-
getRecurrence
public TimeIntervalDTO getRecurrence()
-
setRecurrence
public void setRecurrence(TimeIntervalDTO recurrence)
-
getScript
public CustomScriptVO getScript()
-
setScript
public void setScript(CustomScriptVO script)
-
getScriptParameters
public String getScriptParameters()
-
setScriptParameters
public void setScriptParameters(String scriptParameters)
-
-