NPL Counterparty Group

counterparty_group.CounterpartyGroup(**kwargs)

The CounterpartyGroup model holds Counterparty Group data conforming to the EBA NPL Template specification EBA Templates

class npl_portfolio.counterparty_group.CounterpartyGroup(*args, **kwargs)

The CounterpartyGroup model holds Counterparty Group data conforming to the EBA NPL Template specification EBA Templates

exception DoesNotExist
exception MultipleObjectsReturned
counterparty_group_identifier

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

counterparty_set

Accessor to the related objects manager on the reverse side of a many-to-one relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Parent.children is a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

creation_date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

cross_collateralisation_in_counterparty_group

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

cross_default_in_counterparty_group

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

description_of_cross_collateralisation

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

description_of_cross_default

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

description_of_sponsor

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

get_absolute_url()
get_cross_collateralisation_in_counterparty_group_display(*, field=<django.db.models.fields.IntegerField: cross_collateralisation_in_counterparty_group>)
get_cross_default_in_counterparty_group_display(*, field=<django.db.models.fields.IntegerField: cross_default_in_counterparty_group>)
get_next_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=True, **kwargs)
get_next_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=True, **kwargs)
get_previous_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=False, **kwargs)
get_previous_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=False, **kwargs)
get_type_of_sponsor_display(*, field=<django.db.models.fields.IntegerField: type_of_sponsor>)
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

industry_segment_of_counterparty_group

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

last_change_date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name_of_counterparty_group

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name_of_sponsor

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
type_of_sponsor

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.