Package Camelot :: Package camelot :: Package model :: Module authentication :: Class Party |
[frames] | no frames]

# Class Party

source code

Base class for persons and organizations. Use this base class to refer to either persons or organisations in building authentication systems, contact management or CRM

Nested Classes
| Admin
Inherited from `elixir.entity.Entity`: `__metaclass__`

Instance Methods
email(self) | source code
phone(self) | source code
full_name(self) | source code
Inherited from `elixir.entity.Entity`: `__init__`, `delete`, `expire`, `expunge`, `flush`, `from_dict`, `merge`, `refresh`, `save`, `save_or_update`, `set`, `to_dict`, `update` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Methods
Inherited from `elixir.entity.Entity`: `get`, `get_by`, `update_or_create`

Class Variables
| addresses = `OneToMany('PartyAddress', lazy= True, cascade= "al`...``
| contact_mechanisms = `OneToMany('PartyContactMechanism', lazy= `...``
| shares = `OneToMany('SharedShareholder', inverse= 'established_`...``
| directed_organizations = `OneToMany('DirectedDirector', inverse`...``
| status = `OneToMany(type_3_status('Party', metadata, entities),`...``
| __elixir_mutators__ = ``[``(`<elixir.statements.ClassMutator object`...``
| mapper = `None` hash(x)
| table = `None` hash(x)

Properties
| name
Inherited from `object`: `__class__`

Method Details

### email(self) | source code
Decorators: `@ColumnProperty`

### phone(self) | source code
Decorators: `@ColumnProperty`

### full_name(self) | source code
Decorators: `@ColumnProperty`

Class Variable Details

  ### addresses Value:
      OneToMany('PartyAddress', lazy= True, cascade= "all, delete, delete-or
      phan")

  ### contact_mechanisms Value:
      OneToMany('PartyContactMechanism', lazy= True, cascade= 'all, delete,
      delete-orphan')

  ### shares Value:
      OneToMany('SharedShareholder', inverse= 'established_to', cascade= 'al
      l, delete, delete-orphan')

  ### directed_organizations Value:
      OneToMany('DirectedDirector', inverse= 'established_to', cascade= 'all
      , delete, delete-orphan')

  ### status Value:
      OneToMany(type_3_status('Party', metadata, entities), cascade= 'all, d
      elete, delete-orphan')

  ### __elixir_mutators__ Value:
      [(<elixir.statements.ClassMutator object at 0x9804e0c>,
        (),
        {'tablename': 'party'}),
       (<elixir.statements.Statement object at 0xb77ff8c>,
        ('synchronized'),
        {'lazy': True})]

Property Details

### name Get Method: unreachable.name(self)