(file) Return to PRS_Attachment.mof CVS log (file) (dir) Up to [Pegasus] / pegasus / Schemas / CIM231 / DMTF / Support

 1 marek 1.1 // Copyright (c) 2005 DMTF.  All rights reserved.
 2           // <change cr="ArchCR00066.004" type="add">Add UmlPackagePath
 3           // qualifier values to CIM Schema.</change>
 4           // ==================================================================
 5           //  PRS_Attachment 
 6           // ==================================================================
 7              [Version ( "2.6.0" ), 
 8               UMLPackagePath ( "PRS::Support" ), 
 9               Description ( 
10                  "PRS_Attachment describes file attachments. A PRS_Attachment "
11                  "may be associated to any object derived from "
12                  "PRS_ExchangeElement. PRS_Attachment is used to attach objects "
13                  "of any type including binary files, ASCII documents, or URLs. "
14                  "Only one object may be attached per PRS_Attachment. \n"
15                  "\n"
16                  "The actual attachment carried by the Attachment object is "
17                  "included by one of two methods: by reference or by value as "
18                  "embedded data. A \'by reference\' approach links indirectly to "
19                  "the attachment through the use of a string identifier, e.g. a "
20                  "file name. An \'embedded data\' approach means the actual "
21                  "binary data is included in PRS_Attachment." )]
22 marek 1.1 class PRS_Attachment : PRS_ExchangeElement {
23           
24                 [Description ( 
25                     "If the attachment is not embedded, where the attachment "
26                     "is located." )]
27              string AttachmentReference;
28           
29                 [Description ( 
30                     "Protocol required to read the attachment (e.g., http)." )]
31              string Protocol;
32           
33                 [Description ( "The file format of the attachment." )]
34              string Format;
35           
36                 [Description ( "The size of the attachment in bytes." )]
37              string AttachmentSize;
38           
39                 [Description ( "The attachment itself, if embedded." )]
40              string AttachmentObject;
41           
42                 [Description ( 
43 marek 1.1           "The purpose of the attachment, as related to the "
44                     "diagnosis. \'Instructions\' are compilable code. "
45                     "\'Background\' is descriptive information. \'Log\' is "
46                     "information captured in a log file." ), 
47                  ValueMap { "0", "1", "2", "254", "255" }, 
48                  Values { "Instructions", "Background", "Log", "Unknown", 
49                     "Undefined" }]
50              uint8 AttachmentType;
51           
52                 [Description ( 
53                     "The displayable attachment identifier. Used to define "
54                     "what will appear as the name of the attachment, as "
55                     "opposed to the specific attachment file name or URL." )]
56              string AttachmentName;
57           
58           
59           };

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2