Class s.d.p.PersonAdaptToCompany(PersonAdapter):

Part of stoqlib.domain.person View In Hierarchy

A company facet of a person.

Important attributes:

Method get_cnpj_number Returns the cnpj number without any non-numeric characters
Method get_state_registry_number Returns the state registry number without any non-numeric characters

Inherited from PersonAdapter:

Method person Undocumented
Method inactivate Undocumented
Method activate Undocumented
Method get_status_string Undocumented
Method get_description Undocumented

Inherited from ModelAdapter (via PersonAdapter):

Method __init__ Creates a new Adapted for adaptable

Inherited from AbstractModel (via PersonAdapter, ModelAdapter, BaseDomain):

Method __ne__ Undocumented
Method __eq__ Undocumented
Method _create Undocumented
Method _SO_setValue Undocumented
Method clone Get a persistent copy of an existent object. Remember that we can
Method get_connection Undocumented

Inherited from ORMObjectAdapter (via PersonAdapter, ModelAdapter):

Method get_adapted Get the adapted object

Inherited from Adapter (via PersonAdapter, ModelAdapter, ORMObjectAdapter):

Method __ne__ Undocumented
Method __eq__ Undocumented
Method __conform__ Undocumented
def get_cnpj_number(self):
Returns the cnpj number without any non-numeric characters
Returnsthe cnpj number as a number (type: integer )
def get_state_registry_number(self):
Returns the state registry number without any non-numeric characters
Returnsthe state registry number as a number or zero if there is no state registry. (type: integer )
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.