Class PRS_Attachment
extends PRS_ExchangeElement

PRS_Attachment describes file attachments. A PRS_Attachment may be associated to any object derived from PRS_ExchangeElement. PRS_Attachment is used to attach objects of any type including binary files, ASCII documents, or URLs. Only one object may be attached per PRS_Attachment. The actual attachment carried by the Attachment object is included by one of two methods: by reference or by value as embedded data. A 'by reference' approach links indirectly to the attachment through the use of a string identifier, e.g. a file name. An 'embedded data' approach means the actual binary data is included in PRS_Attachment.

Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods


Class Hierarchy

CIM_ManagedElement
   |
   +--PRS_ExchangeElement
   |
   +--PRS_Attachment

Direct Known Subclasses

Class Qualifiers

NameData TypeValue
DescriptionstringPRS_Attachment describes file attachments. A PRS_Attachment may be associated to any object derived from PRS_ExchangeElement. PRS_Attachment is used to attach objects of any type including binary files, ASCII documents, or URLs. Only one object may be attached per PRS_Attachment. The actual attachment carried by the Attachment object is included by one of two methods: by reference or by value as embedded data. A 'by reference' approach links indirectly to the attachment through the use of a string identifier, e.g. a file name. An 'embedded data' approach means the actual binary data is included in PRS_Attachment.
UMLPackagePathstringPRS::Support
Versionstring2.6.0

Class Properties

Local Class Properties

NameData TypeDefault ValueQualifiers
NameData TypeValue
AttachmentNamestring
DescriptionstringThe displayable attachment identifier. Used to define what will appear as the name of the attachment, as opposed to the specific attachment file name or URL.
AttachmentObjectstring
DescriptionstringThe attachment itself, if embedded.
AttachmentReferencestring
DescriptionstringIf the attachment is not embedded, where the attachment is located.
AttachmentSizestring
DescriptionstringThe size of the attachment in bytes.
AttachmentTypeuint8
DescriptionstringThe purpose of the attachment, as related to the diagnosis. 'Instructions' are compilable code. 'Background' is descriptive information. 'Log' is information captured in a log file.
ValueMapstring0, 1, 2, 254, 255
ValuesstringInstructions, Background, Log, Unknown, Undefined
Formatstring
DescriptionstringThe file format of the attachment.
Protocolstring
DescriptionstringProtocol required to read the attachment (e.g., http).

Inherited Properties

NameData TypeClass Origin
CaptionstringCIM_ManagedElement
DescriptionstringCIM_ManagedElement
DirtyFlaguint8PRS_ExchangeElement
ElementNamestringCIM_ManagedElement
Generationuint64CIM_ManagedElement
InstanceIDstringCIM_ManagedElement
PRSUniqueNamestringPRS_ExchangeElement

Class Methods