Class NSBlobEntity

Carrier object for BlobEntity.

Constructors

NSBlobEntity()

Initializes a new instance of the NSBlobEntity class.

Declaration

NSBlobEntity

Methods

GetBlobId()

Declaration

Integer GetBlobId()

Examples

NSBlobEntity thing;
Integer blobId = thing.GetBlobId();

Returns

Type Description
Integer Primary key.

GetBlobSize()

Declaration

Integer GetBlobSize()

Examples

NSBlobEntity thing;
Integer blobSize = thing.GetBlobSize();

Returns

Type Description
Integer The length, in bytes, of the binary data AS STORED after any encryption and/or zipping. Important to get right, since some databases will not tell us just based on the blob itself!

GetConceptualType()

Declaration

String GetConceptualType()

Examples

NSBlobEntity thing;
String conceptualType = thing.GetConceptualType();

Returns

Type Description
String The type, for instance PHOTO, PERSONPHOTO, or whatever, that is descriptive of what kind of image or data this is.

GetCreatedBy()

Declaration

NSAssociate GetCreatedBy()

Examples

NSBlobEntity thing;
NSAssociate createdBy = thing.GetCreatedBy();

Returns

Type Description
NSAssociate The person that first created the document. The property is read-only.

GetCreatedDate()

Declaration

DateTime GetCreatedDate()

Examples

NSBlobEntity thing;
DateTime createdDate = thing.GetCreatedDate();

Returns

Type Description
DateTime Registered when.

GetDescription()

Declaration

String GetDescription()

Examples

NSBlobEntity thing;
String description = thing.GetDescription();

Returns

Type Description
String A description that is entered by the user, and visible to the user.

GetExtraInfo()

Declaration

String GetExtraInfo()

Examples

NSBlobEntity thing;
String extraInfo = thing.GetExtraInfo();

Returns

Type Description
String Extra information, spare field, can be used for anything that makes sense.

GetIsEncrypted()

Declaration

Bool GetIsEncrypted()

Examples

NSBlobEntity thing;
Bool isEncrypted = thing.GetIsEncrypted();

Returns

Type Description
Bool Has the data been encrypted?

GetIsZipped()

Declaration

Bool GetIsZipped()

Examples

NSBlobEntity thing;
Bool isZipped = thing.GetIsZipped();

Returns

Type Description
Bool Has the data been zipped?

GetMimeType()

Declaration

String GetMimeType()

Examples

NSBlobEntity thing;
String mimeType = thing.GetMimeType();

Returns

Type Description
String Mime type, describing the technical type (image/jpeg) of the data.

GetOriginalSize()

Declaration

Integer GetOriginalSize()

Examples

NSBlobEntity thing;
Integer originalSize = thing.GetOriginalSize();

Returns

Type Description
Integer Original size of the binary data, before encryption and/or zipping.

GetUpdatedBy()

Declaration

NSAssociate GetUpdatedBy()

Examples

NSBlobEntity thing;
NSAssociate updatedBy = thing.GetUpdatedBy();

Returns

Type Description
NSAssociate The person that last updated the appointment.

GetUpdatedDate()

Declaration

DateTime GetUpdatedDate()

Examples

NSBlobEntity thing;
DateTime updatedDate = thing.GetUpdatedDate();

Returns

Type Description
DateTime Last updated when.

SetBlobId(Integer)

Declaration

Void SetBlobId(Integer blobId)

Examples

NSBlobEntity thing;
Integer blobId;
thing.SetBlobId(blobId);

Parameters

Type Name Description
Integer blobId Primary key.

Returns

Type Description
Void

SetBlobSize(Integer)

Declaration

Void SetBlobSize(Integer blobSize)

Examples

NSBlobEntity thing;
Integer blobSize;
thing.SetBlobSize(blobSize);

Parameters

Type Name Description
Integer blobSize The length, in bytes, of the binary data AS STORED after any encryption and/or zipping. Important to get right, since some databases will not tell us just based on the blob itself!

Returns

Type Description
Void

SetConceptualType(String)

Declaration

Void SetConceptualType(String conceptualType)

Examples

NSBlobEntity thing;
String conceptualType;
thing.SetConceptualType(conceptualType);

Parameters

Type Name Description
String conceptualType The type, for instance PHOTO, PERSONPHOTO, or whatever, that is descriptive of what kind of image or data this is.

Returns

Type Description
Void

SetCreatedBy(NSAssociate)

Declaration

Void SetCreatedBy(NSAssociate createdBy)

Examples

NSBlobEntity thing;
NSAssociate createdBy;
thing.SetCreatedBy(createdBy);

Parameters

Type Name Description
NSAssociate createdBy The person that first created the document. The property is read-only.

Returns

Type Description
Void

SetCreatedDate(DateTime)

Declaration

Void SetCreatedDate(DateTime createdDate)

Examples

NSBlobEntity thing;
DateTime createdDate;
thing.SetCreatedDate(createdDate);

Parameters

Type Name Description
DateTime createdDate Registered when.

Returns

Type Description
Void

SetDescription(String)

Declaration

Void SetDescription(String description)

Examples

NSBlobEntity thing;
String description;
thing.SetDescription(description);

Parameters

Type Name Description
String description A description that is entered by the user, and visible to the user.

Returns

Type Description
Void

SetExtraInfo(String)

Declaration

Void SetExtraInfo(String extraInfo)

Examples

NSBlobEntity thing;
String extraInfo;
thing.SetExtraInfo(extraInfo);

Parameters

Type Name Description
String extraInfo Extra information, spare field, can be used for anything that makes sense. Should not refer to any particular context, that is something for the BinaryObjectLInk.

Returns

Type Description
Void

SetIsEncrypted(Bool)

Declaration

Void SetIsEncrypted(Bool isEncrypted)

Examples

NSBlobEntity thing;
Bool isEncrypted;
thing.SetIsEncrypted(isEncrypted);

Parameters

Type Name Description
Bool isEncrypted Has the data been encrypted?

Returns

Type Description
Void

SetIsZipped(Bool)

Declaration

Void SetIsZipped(Bool isZipped)

Examples

NSBlobEntity thing;
Bool isZipped;
thing.SetIsZipped(isZipped);

Parameters

Type Name Description
Bool isZipped Has the data been zipped?

Returns

Type Description
Void

SetMimeType(String)

Declaration

Void SetMimeType(String mimeType)

Examples

NSBlobEntity thing;
String mimeType;
thing.SetMimeType(mimeType);

Parameters

Type Name Description
String mimeType Mime type, describing the technical type (image/jpeg) of the data.

Returns

Type Description
Void

SetOriginalSize(Integer)

Declaration

Void SetOriginalSize(Integer originalSize)

Examples

NSBlobEntity thing;
Integer originalSize;
thing.SetOriginalSize(originalSize);

Parameters

Type Name Description
Integer originalSize Original size of the binary data, before encryption and/or zipping. This is what the ultimate client will get.

Returns

Type Description
Void

SetUpdatedBy(NSAssociate)

Declaration

Void SetUpdatedBy(NSAssociate updatedBy)

Examples

NSBlobEntity thing;
NSAssociate updatedBy;
thing.SetUpdatedBy(updatedBy);

Parameters

Type Name Description
NSAssociate updatedBy The person that last updated the appointment.

Returns

Type Description
Void

SetUpdatedDate(DateTime)

Declaration

Void SetUpdatedDate(DateTime updatedDate)

Examples

NSBlobEntity thing;
DateTime updatedDate;
thing.SetUpdatedDate(updatedDate);

Parameters

Type Name Description
DateTime updatedDate Last updated when.

Returns

Type Description
Void