Добавил класс семантической модели для команды копирования

This commit is contained in:
Rustam Zaitov 2013-10-28 00:01:38 +04:00
parent a4c33221bf
commit bfd9e3e2bf
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,17 @@
__author__ = 'rzaitov'
class CopyArguments():
def __init__(self):
self.__source = None
self.__target = None
def setArguments(self, source, target):
self.__source = source
self.__target = target
def isValid(self):
result = self.__source is not None
result &= self.__target is not None
return result

View File

@ -0,0 +1 @@
__author__ = 'rzaitov'