Package libcivtat :: Package model :: Module FullCohabitants :: Class FullCohabitants
[show private | hide private]
[frames | no frames]

Type FullCohabitants

object --+
         |
        FullCohabitants


Classe d'un full de cohabitants


Method Summary
  __init__(self, id, domicili)
  afegirCohab(self, id_hab, nom, dni, parentiu, numOrdre)
Metode que afegeix un cohabitant al full
  getAdreca(self)
  getCohabitants(self)
  getIdDom(self)
  getIdFull(self)
  setAdreca(self, adr)
  setCohabitants(self, cohab)
  setIdDom(self, id)
  setIdFull(self, id)
  toXml(self)
Metode que retorna l'xml d'un full de cohabitants.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

__init__(self, id, domicili)
(Constructor)

Parameters:
id -

identificador unic del full de cohabitants

domicili -

tupla (id_domicili, adreca)

Overrides:
__builtin__.object.__init__

afegirCohab(self, id_hab, nom, dni, parentiu, numOrdre)

Metode que afegeix un cohabitant al full

Parameters:
id_hab -

identificador de l'habitant

nom -

nom de l'habitant (de tipus Nom)

dni -

document d'identitat

parentiu -

: parentiu amb el membre principal

numOrdre -

numero d'ordre

toXml(self)

Metode que retorna l'xml d'un full de cohabitants.


Generated by Epydoc 2.1 on Fri Apr 7 12:51:01 2006 http://epydoc.sf.net