1 marek 1.1 // Copyright (c) 2005 DMTF. All rights reserved.
2 [Version ( "2.6.0" ),
3 UMLPackagePath ( "CIM::Physical::PhysicalMedia" ),
4 Description (
5 "The PhysicalMedia class represents any type of documentation "
6 "or storage medium, such as tapes, CDROMs, etc. This class is "
7 "typically used to locate and manage Removable Media (versus "
8 "Media sealed with the MediaAccessDevice, as a single Package, "
9 "as is the case with hard disks). However, \'sealed\' Media can "
10 "also be modeled using this class, where the Media would then "
11 "be associated with the PhysicalPackage using the "
12 "PackagedComponent relationship." )]
13 class CIM_PhysicalMedia : CIM_PhysicalComponent {
14
15 [Description (
16 "The number of bytes that can be read from or written to "
17 "a Media. This property is not applicable to \"Hard Copy\" "
18 "(documentation) or cleaner Media. Data compression "
19 "should not be assumed, as it would increase the value in "
20 "this property. For tapes, it should be assumed that no "
21 "filemarks or blank space areas are recorded on the "
22 marek 1.1 "Media." ),
23 Units ( "Bytes" ),
24 PUnit ( "byte" )]
25 uint64 Capacity;
26
27 [Description (
28 "Specifies the type of the PhysicalMedia, as an "
29 "enumerated integer. The MediaDescription property is "
30 "used to provide more explicit definition of the Media "
31 "type, whether it is pre-formatted, compatability "
32 "features, etc." ),
33 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
34 "10", "11", "12", "13", "14", "15", "16", "17", "18",
35 "19", "20", "21", "22", "23", "24", "25", "26", "27",
36 "28", "29", "30", "31", "32", "33", "34", "35", "36",
37 "37", "38", "39", "40", "41", "42", "43", "44", "45",
38 "46", "47", "48", "49", "50", "51", "52", "53", "54",
39 "55", "56", "57", "58", "59", "60", "61", "62", "63",
40 "64", "65", "66" },
41 Values { "Unknown", "Other", "Tape Cartridge",
42 "QIC Cartridge", "AIT Cartridge", "DTF Cartridge",
43 marek 1.1 "DAT Cartridge", "8mm Tape Cartridge",
44 "19mm Tape Cartridge", "DLT Cartridge",
45 // 10
46 "Half-Inch Magnetic Tape Cartridge",
47 "Cartridge Disk", "JAZ Disk", "ZIP Disk", "SyQuest Disk",
48 "Winchester Removable Disk", "CD-ROM", "CD-ROM/XA",
49 "CD-I", "CD Recordable",
50 // 20
51 "WORM", "Magneto-Optical",
52 "DVD", "DVD-RW+", "DVD-RAM", "DVD-ROM", "DVD-Video",
53 "Divx", "Floppy/Diskette", "Hard Disk",
54 // 30
55 "Memory Card",
56 "Hard Copy", "Clik Disk", "CD-RW", "CD-DA", "CD+",
57 "DVD Recordable", "DVD-RW", "DVD-Audio", "DVD-5",
58 // 40
59 "DVD-9", "DVD-10",
60 "DVD-18", "Magneto-Optical Rewriteable",
61 "Magneto-Optical Write Once",
62 "Magneto-Optical Rewriteable (LIMDOW)",
63 "Phase Change Write Once", "Phase Change Rewriteable",
64 marek 1.1 "Phase Change Dual Rewriteable", "Ablative Write Once",
65 // 50
66 "Near Field Recording",
67 "MiniQic", "Travan", "8mm Metal Particle",
68 "8mm Advanced Metal Evaporate", "NCTP", "LTO Ultrium",
69 "LTO Accelis", "9 Track Tape", "18 Track Tape",
70 // 60
71 "36 Track Tape",
72 "Magstar 3590", "Magstar MP", "D2 Tape",
73 "Tape - DST Small", "Tape - DST Medium", "Tape - DST Large" },
74 ModelCorrespondence { "CIM_PhysicalMedia.MediaDescription" }]
75 uint16 MediaType;
76
77 [Description (
78 "Additional detail related to the MediaType enumeration. "
79 "For example, if value 3 (\"QIC Cartridge\") is "
80 "specified, this property could indicate whether the tape "
81 "is wide or 1/4 inch, whether it is pre-formatted, "
82 "whether it is Travan compatible, etc." ),
83 ModelCorrespondence { "CIM_PhysicalMedia.MediaType" }]
84 string MediaDescription;
85 marek 1.1
86 [Description (
87 "Boolean specifying whether the Media is currently write "
88 "protected by some kind of physical mechanism, such as a "
89 "protect tab on a floppy diskette." )]
90 boolean WriteProtectOn;
91
92 [Description (
93 "Boolean indicating that the PhysicalMedia is used for "
94 "cleaning purposes and not data storage." )]
95 boolean CleanerMedia;
96
97 [Description (
98 "Size of the Media in inches. For example, \'3.5\' would "
99 "be entered for a 3.5 inch disk, or \'12\' would be "
100 "entered for a 12 inch optical disk. On the other hand, "
101 "\'0.5\' would be defined for a 1/2 inch tape." ),
102 Units ( "Inches" ),
103 PUnit ( "inch" )]
104 real32 MediaSize;
105
106 marek 1.1 [Description (
107 "For removable Media, the maximum number of times that "
108 "the Media can be mounted before it should be retired. "
109 "For cleaner Media, this is the maximum number of Drive "
110 "cleans that can be performed. For nonremovable Media, "
111 "such as hard disks, this property is not applicable and "
112 "should be set to 0." )]
113 uint64 MaxMounts;
114
115 [Description (
116 "For removable or cleaner Media, the number of times that "
117 "the Media has been mounted for data transfer or to clean "
118 "a Drive. For nonremovable Media, such as hard disks, "
119 "this property is not applicable and should be set to 0." ),
120 Counter, ModelCorrespondence { "CIM_PhysicalMedia.MaxMounts" }]
121 uint64 MountCount;
122
123 [Description (
124 "Boolean indicating that the Media has two recording "
125 "sides (TRUE) or only a single side (FALSE). Examples of "
126 "dual sided Media include DVD-ROM and some optical disks. "
127 marek 1.1 "Examples of single sided Media are tapes and CD-ROM." )]
128 boolean DualSided;
129
130 [Description (
131 "One or more strings on \'labels\' on the PhysicalMedia. "
132 "The format of the labels and their state (readable, "
133 "unreadable, upside-down) are indicated in the "
134 "LabelFormats and LabelStates array properties." ),
135 ArrayType ( "Indexed" ),
136 ModelCorrespondence { "CIM_PhysicalMedia.LabelStates",
137 "CIM_PhysicalMedia.LabelFormats" }]
138 string PhysicalLabels[];
139
140 [Description (
141 "An array of enumerated integers describing the states of "
142 "each of the labels on a PhysicalMedia. The Labels "
143 "themselves are listed in the PhysicalLabels property. "
144 "Note, each entry of this array is related to the entry "
145 "in PhysicalLabels that is located at the same index." ),
146 ValueMap { "0", "1", "2" },
147 Values { "OK/Readable", "Unreadable", "Upside Down" },
148 marek 1.1 ArrayType ( "Indexed" ),
149 ModelCorrespondence { "CIM_PhysicalMedia.PhysicalLabels" }]
150 uint16 LabelStates[];
151
152 [Description (
153 "An array of enumerated integers describing the formats "
154 "of each of the labels on a PhysicalMedia. The Labels "
155 "themselves are listed in the PhysicalLabels property. "
156 "Note, each entry of this array is related to the entry "
157 "in PhysicalLabels that is located at the same index." ),
158 ValueMap { "0", "1", "2", "3", "4", "5" },
159 Values { "Barcode", "Radio Frequency Identification",
160 "OCR (Optical Character Recognition)",
161 "MICR (Magnetic Ink Character Recognition)",
162 "7 Character Barcode", "9 Character Barcode" },
163 ArrayType ( "Indexed" ),
164 ModelCorrespondence { "CIM_PhysicalMedia.PhysicalLabels" }]
165 uint16 LabelFormats[];
166
167 [Description (
168 "For removable or cleaner Media, the date and time that "
169 marek 1.1 "the Media was last mounted. For nonremovable Media, such "
170 "as hard disks, this property has no meaning and is not "
171 "applicable." )]
172 datetime TimeOfLastMount;
173
174 [Description (
175 "For removable or cleaner Media, the total time (in "
176 "seconds) that the Media has been mounted for data "
177 "transfer or to clean a Drive. For nonremovable Media, "
178 "such as hard disks, this property is not applicable and "
179 "should be set to 0." ),
180 Units ( "Seconds" ),
181 PUnit ( "second" )]
182 uint64 TotalMountTime;
183
184
185 };
|