Class NSConsentPerson

Carrier object for ConsentPerson.

Constructors

NSConsentPerson()

Initializes a new instance of the NSConsentPerson class.

Declaration

NSConsentPerson

Methods

GetComment()

Declaration

String GetComment()

Examples

NSConsentPerson thing;
String comment = thing.GetComment();

Returns

Type Description
String Comment regarding this specific consent.

GetConsentPersonId()

Declaration

Integer GetConsentPersonId()

Examples

NSConsentPerson thing;
Integer consentPersonId = thing.GetConsentPersonId();

Returns

Type Description
Integer ConsentPerson Id.

GetConsentPurpose()

Declaration

NSConsentPurpose GetConsentPurpose()

Examples

NSConsentPerson thing;
NSConsentPurpose consentPurpose = thing.GetConsentPurpose();

Returns

Type Description
NSConsentPurpose The consent purpose.

GetConsentSource()

Declaration

NSConsentSource GetConsentSource()

Examples

NSConsentPerson thing;
NSConsentSource consentSource = thing.GetConsentSource();

Returns

Type Description
NSConsentSource The consent source.

GetLegalBase()

Declaration

NSLegalBase GetLegalBase()

Examples

NSConsentPerson thing;
NSLegalBase legalBase = thing.GetLegalBase();

Returns

Type Description
NSLegalBase The legal base.

GetPersonId()

Declaration

Integer GetPersonId()

Examples

NSConsentPerson thing;
Integer personId = thing.GetPersonId();

Returns

Type Description
Integer Person Id.

SetComment(String)

Declaration

Void SetComment(String comment)

Examples

NSConsentPerson thing;
String comment;
thing.SetComment(comment);

Parameters

Type Name Description
String comment Comment regarding this specific consent.

Returns

Type Description
Void

SetConsentPersonId(Integer)

Declaration

Void SetConsentPersonId(Integer consentPersonId)

Examples

NSConsentPerson thing;
Integer consentPersonId;
thing.SetConsentPersonId(consentPersonId);

Parameters

Type Name Description
Integer consentPersonId ConsentPerson Id.

Returns

Type Description
Void

SetConsentPurpose(NSConsentPurpose)

Declaration

Void SetConsentPurpose(NSConsentPurpose consentPurpose)

Examples

NSConsentPerson thing;
NSConsentPurpose consentPurpose;
thing.SetConsentPurpose(consentPurpose);

Parameters

Type Name Description
NSConsentPurpose consentPurpose The consent purpose.

Returns

Type Description
Void

SetConsentSource(NSConsentSource)

Declaration

Void SetConsentSource(NSConsentSource consentSource)

Examples

NSConsentPerson thing;
NSConsentSource consentSource;
thing.SetConsentSource(consentSource);

Parameters

Type Name Description
NSConsentSource consentSource The consent source.

Returns

Type Description
Void

SetLegalBase(NSLegalBase)

Declaration

Void SetLegalBase(NSLegalBase legalBase)

Examples

NSConsentPerson thing;
NSLegalBase legalBase;
thing.SetLegalBase(legalBase);

Parameters

Type Name Description
NSLegalBase legalBase The legal base.

Returns

Type Description
Void

SetPersonId(Integer)

Declaration

Void SetPersonId(Integer personId)

Examples

NSConsentPerson thing;
Integer personId;
thing.SetPersonId(personId);

Parameters

Type Name Description
Integer personId Person Id.

Returns

Type Description
Void