mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-14 08:32:17 +03:00
70 lines
1.8 KiB
Python
70 lines
1.8 KiB
Python
#!/usr/bin/python3
|
|
# -*- coding: utf-8 -*-
|
|
# Author: İsmail BAŞARAN <ismail.basaran@tubitak.gov.tr> <basaran.ismaill@gmail.com>
|
|
# Author: Volkan Şahin <volkansah.in> <bm.volkansahin@gmail.com>
|
|
|
|
|
|
class TaskBean(object):
|
|
"""docstring for TaskBean"""
|
|
|
|
def __init__(self, _id=None, create_date=None, modify_date=None, command_cls_id=None, parameter_map=None, deleted=None, plugin=None, cron_str=None):
|
|
self._id = _id
|
|
self.create_date = create_date
|
|
self.modify_date = modify_date
|
|
self.command_cls_id = command_cls_id
|
|
self.parameter_map = parameter_map
|
|
self.deleted = deleted
|
|
self.plugin = plugin
|
|
self.cron_str = cron_str
|
|
|
|
def get_id(self):
|
|
return self._id
|
|
|
|
def set_id(self, _id):
|
|
self._id = _id
|
|
|
|
def get_create_date(self):
|
|
return self.create_date
|
|
|
|
def set_create_date(self, create_date):
|
|
self.create_date = create_date
|
|
|
|
def get_modify_date(self):
|
|
return self.modify_date
|
|
|
|
def set_modify_date(self, modify_date):
|
|
self.modify_date = modify_date
|
|
|
|
def get_command_cls_id(self):
|
|
return self.command_cls_id
|
|
|
|
def set_command_cls_id(self, command_cls_id):
|
|
self.command_cls_id = command_cls_id
|
|
|
|
def get_parameter_map(self):
|
|
return self.parameter_map
|
|
|
|
def set_parameter_map(self, parameter_map):
|
|
self.parameter_map = parameter_map
|
|
|
|
def get_deleted(self):
|
|
return self.deleted
|
|
|
|
def set_deleted(self, deleted):
|
|
self.deleted = deleted
|
|
|
|
def get_plugin(self):
|
|
return self.plugin
|
|
|
|
def set_plugin(self, plugin):
|
|
self.plugin = plugin
|
|
|
|
def get_cron_str(self):
|
|
return self.cron_str
|
|
|
|
def set_cron_str(self, cron_str):
|
|
self.cron_str = cron_str
|
|
|
|
@property
|
|
def obj_name(self):
|
|
return "TASK"
|