Class NSConsentPerson
Carrier object for ConsentPerson.
Syntax
Constructors
NSConsentPerson()
Initializes a new instance of the NSConsentPerson class.
Declaration
NSConsentPerson
Methods
GetComment()
Carrier object for ConsentPerson.
Declaration
String GetComment()
Returns
Type | Description |
---|---|
String | Comment regarding this specific consent. |
Examples
NSConsentPerson thing;
String comment = thing.GetComment();
GetConsentPersonId()
Carrier object for ConsentPerson.
Declaration
Integer GetConsentPersonId()
Returns
Type | Description |
---|---|
Integer | ConsentPerson Id. |
Examples
NSConsentPerson thing;
Integer consentPersonId = thing.GetConsentPersonId();
GetConsentPurpose()
Carrier object for ConsentPerson.
Declaration
NSConsentPurpose GetConsentPurpose()
Returns
Type | Description |
---|---|
NSConsentPurpose | The consent purpose. |
Examples
NSConsentPerson thing;
NSConsentPurpose consentPurpose = thing.GetConsentPurpose();
GetConsentSource()
Carrier object for ConsentPerson.
Declaration
NSConsentSource GetConsentSource()
Returns
Type | Description |
---|---|
NSConsentSource | The consent source. |
Examples
NSConsentPerson thing;
NSConsentSource consentSource = thing.GetConsentSource();
GetLegalBase()
Carrier object for ConsentPerson.
Declaration
NSLegalBase GetLegalBase()
Returns
Type | Description |
---|---|
NSLegalBase | The legal base. |
Examples
NSConsentPerson thing;
NSLegalBase legalBase = thing.GetLegalBase();
GetPersonId()
Carrier object for ConsentPerson.
Declaration
Integer GetPersonId()
Returns
Type | Description |
---|---|
Integer | Person Id. |
Examples
NSConsentPerson thing;
Integer personId = thing.GetPersonId();
SetComment(String)
Carrier object for ConsentPerson.
Declaration
Void SetComment(String comment)
Parameters
Type | Name | Description |
---|---|---|
String | comment | Comment regarding this specific consent. |
Returns
Type | Description |
---|---|
Void |
Examples
NSConsentPerson thing;
String comment;
thing.SetComment(comment);
SetConsentPersonId(Integer)
Carrier object for ConsentPerson.
Declaration
Void SetConsentPersonId(Integer consentPersonId)
Parameters
Type | Name | Description |
---|---|---|
Integer | consentPersonId | ConsentPerson Id. |
Returns
Type | Description |
---|---|
Void |
Examples
NSConsentPerson thing;
Integer consentPersonId;
thing.SetConsentPersonId(consentPersonId);
SetConsentPurpose(NSConsentPurpose)
Carrier object for ConsentPerson.
Declaration
Void SetConsentPurpose(NSConsentPurpose consentPurpose)
Parameters
Type | Name | Description |
---|---|---|
NSConsentPurpose | consentPurpose | The consent purpose. |
Returns
Type | Description |
---|---|
Void |
Examples
NSConsentPerson thing;
NSConsentPurpose consentPurpose;
thing.SetConsentPurpose(consentPurpose);
SetConsentSource(NSConsentSource)
Carrier object for ConsentPerson.
Declaration
Void SetConsentSource(NSConsentSource consentSource)
Parameters
Type | Name | Description |
---|---|---|
NSConsentSource | consentSource | The consent source. |
Returns
Type | Description |
---|---|
Void |
Examples
NSConsentPerson thing;
NSConsentSource consentSource;
thing.SetConsentSource(consentSource);
SetLegalBase(NSLegalBase)
Carrier object for ConsentPerson.
Declaration
Void SetLegalBase(NSLegalBase legalBase)
Parameters
Type | Name | Description |
---|---|---|
NSLegalBase | legalBase | The legal base. |
Returns
Type | Description |
---|---|
Void |
Examples
NSConsentPerson thing;
NSLegalBase legalBase;
thing.SetLegalBase(legalBase);
SetPersonId(Integer)
Carrier object for ConsentPerson.
Declaration
Void SetPersonId(Integer personId)
Parameters
Type | Name | Description |
---|---|---|
Integer | personId | Person Id. |
Returns
Type | Description |
---|---|
Void |
Examples
NSConsentPerson thing;
Integer personId;
thing.SetPersonId(personId);