modulevar.py
329 Bytes
from abc import ABCMeta,abstractmethod
class Modulevar(object):
__metaclass__ = ABCMeta
name = ""
parentModule = ""
description = ""
value = None
def setValue(self,value):
self.value = value
@abstractmethod
def query(self):
pass
def __str__(self):
return self.name