Ejemplo n.º 1
0
class Data():
    def __init__(self):
        self._transferCentre = TransferCentre()
        self._demographic = Demographic()
        self._teamRegistry = TeamRegistry()

    def setData(self):
        1 + 1

    def getData(self):
        1 + 1

    def addContract(self, contract):
        self._transferCentre.addContract(contract)

    def getContracts(self):
        return self._transferCentre.contracts

    def addPerson(self, person):
        self._demographic.addPerson(person)

    def getPeople(self):
        return self._demographic.peopleList

    def addTeam(self, team):
        self._teamRegistry.addTeam(team)

    def getTeams(self):
        return self._teamRegistry.registry
Ejemplo n.º 2
0
class Data():


	def __init__(self):
		self._transferCentre = TransferCentre()
		self._demographic = Demographic()
		self._teamRegistry = TeamRegistry()

	def setData(self):
		1+1

	def getData(self):
		1+1

	def addContract(self, contract):
		self._transferCentre.addContract(contract)

	def getContracts(self):
		return self._transferCentre.contracts

	def addPerson(self, person):
		self._demographic.addPerson(person)

	def getPeople(self):
		return self._demographic.peopleList

	def addTeam(self, team):
		self._teamRegistry.addTeam(team)

	def getTeams(self):
		return self._teamRegistry.registry
Ejemplo n.º 3
0
 def __init__(self):
     self._transferCentre = TransferCentre()
     self._demographic = Demographic()
     self._teamRegistry = TeamRegistry()
Ejemplo n.º 4
0
	def __init__(self):
		self._transferCentre = TransferCentre()
		self._demographic = Demographic()
		self._teamRegistry = TeamRegistry()