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 // CIM_LogicalFile
6 // ==================================================================
7 [Version ( "2.6.0" ),
8 UMLPackagePath ( "CIM::System::FileElements" ),
9 Description (
10 "A LogicalFile is a named collection of data or executable "
11 "code, or represents a LogicalDevice or Directory. It is "
12 "located within the context of a FileSystem, on a Storage "
13 "Extent." )]
14 class CIM_LogicalFile : CIM_LogicalElement {
15
16 [Key, Description (
17 "The scoping ComputerSystem\'s CreationClassName." ),
18 MaxLen ( 256 ),
19 Propagated ( "CIM_FileSystem.CSCreationClassName" )]
20 string CSCreationClassName;
21
22 marek 1.1 [Key, Description ( "The scoping ComputerSystem\'s Name." ),
23 MaxLen ( 256 ),
24 Propagated ( "CIM_FileSystem.CSName" )]
25 string CSName;
26
27 [Key, Description (
28 "The scoping FileSystem\'s CreationClassName." ),
29 MaxLen ( 256 ),
30 Propagated ( "CIM_FileSystem.CreationClassName" )]
31 string FSCreationClassName;
32
33 [Key, Description ( "The scoping FileSystem\'s Name." ),
34 MaxLen ( 256 ),
35 Propagated ( "CIM_FileSystem.Name" )]
36 string FSName;
37
38 [Key, Description (
39 "CreationClassName indicates the name of the class or the "
40 "subclass used in the creation of an instance. When used "
41 "with the other key properties of this class, this "
42 "property allows all instances of this class and its "
43 marek 1.1 "subclasses to be uniquely identified." ),
44 MaxLen ( 256 )]
45 string CreationClassName;
46
47 [Key, Override ( "Name" ),
48 Description (
49 "The inherited Name serves as part of the key of a "
50 "LogicalFile instance within a FileSystem. A unique "
51 "identifier (such as a full path name) is required as a "
52 "Name value. Since Files are weak to their FileSystem "
53 "(and not to a Directory which would provide a more "
54 "granular naming algorithm), care must be taken to make "
55 "LogicalFile\'s Name unique for a given Creation "
56 "ClassName and FileSystem. A full path name is one way to "
57 "do this." ),
58 MaxLen ( 1024 )]
59 string Name;
60
61 [Description ( "Size of the File in bytes." ),
62 Units ( "Bytes" ),
63 Gauge]
64 marek 1.1 uint64 FileSize;
65
66 [Description ( "File\'s creation date." )]
67 datetime CreationDate;
68
69 [Description ( "Time that the File was last modified." )]
70 datetime LastModified;
71
72 [Description ( "Time that the File was last accessed." )]
73 datetime LastAccessed;
74
75 [Description ( "Boolean indicating that the File can be read." )]
76 boolean Readable;
77
78 [Description (
79 "Boolean indicating that the File can be written." )]
80 boolean Writeable;
81
82 [Description ( "Indicates the file is executable." )]
83 boolean Executable;
84
85 marek 1.1 [Description (
86 "A free form string indicating the algorithm or tool used "
87 "to compress the LogicalFile. If it is not possible or "
88 "not desired to describe the compression scheme (perhaps "
89 "because it is not known), recommend using the following "
90 "words: \"Unknown\" to represent that it is not known "
91 "whether the LogicalFile is compressed or not, "
92 "\"Compressed\" to represent that the File is compressed "
93 "but either its compression scheme is not known or not "
94 "disclosed, and \"Not Compressed\" to represent that the "
95 "LogicalFile is not compressed." )]
96 string CompressionMethod;
97
98 [Description (
99 "A free form string indicating the algorithm or tool used "
100 "to encrypt the LogicalFile. If it is not possible or not "
101 "desired to describe the encryption scheme (perhaps for "
102 "security reasons), recommend using the following words: "
103 "\"Unknown\" to represent that it is not known whether "
104 "the LogicalFile is encrypted or not, \"Encrypted\" to "
105 "represent that the File is encrypted but either its "
106 marek 1.1 "encryption scheme is not known or not disclosed, and "
107 "\"Not Encrypted\" to represent that the LogicalFile is "
108 "not encrypted." )]
109 string EncryptionMethod;
110
111 [Description (
112 "Integer indicating the number of \'file opens\' that are "
113 "currently active against the File." ),
114 Counter]
115 uint64 InUseCount;
116
117
118 };
|