// Copyright (c) 2005 DMTF. All rights reserved.
// Add UmlPackagePath
// qualifier values to CIM Schema.
// ==================================================================
// CIM_RecordForLog
// ==================================================================
[Abstract, Version ( "2.9.0" ),
UMLPackagePath ( "CIM::System::Logs" ),
Description (
"The RecordForLog class is used to instantiate records to be "
"aggregated to a Log." )]
class CIM_RecordForLog : CIM_ManagedElement {
[Description (
"A string describing the data structure of the "
"information in the property, RecordData. If the "
"RecordFormat string is , RecordData should be "
"interpreted as a free-form string. \n"
"\n"
"To describe the data structure of RecordData, the "
"RecordFormat string should be constructed as follows: \n"
"- The first character is a delimiter character and is "
"used to parse the remainder of the string into "
"sub-strings. \n"
"- Each sub-string is separated by the delimiter "
"character and should be in the form of a CIM property "
"declaration (i.e., datatype and property name). This set "
"of declarations may be used to interpret the similarly "
"delimited RecordData property. \n"
"For example, using a \'*\' delimiter, RecordFormat = "
"\"*string ThisDay*uint32 ThisYear*datetime SomeTime\" \n"
"may be used to interpret: RecordData = \"*This is "
"Friday*2002*20020807141000.000000-300\"." ),
ModelCorrespondence { "CIM_RecordForLog.RecordData" }]
string RecordFormat;
[Description (
"A string containing LogRecord data. \n"
"If the corresponding RecordFormat property is , "
"or cannot be parsed according to the recommended format, "
"RecordData should be interpreted as a free-form string. "
"If the RecordFormat property contains parseable format "
"information (as recommended in the RecordFormat "
"Description qualifier), the RecordData string SHOULD be "
"parsed in accordance with this format. In this case, "
"RecordData SHOULD begin with the delimiter character and "
"this character SHOULD be used to separate substrings in "
"the manner described. The RecordData string can then be "
"parsed by the data consumer and appropriately typed." ),
ModelCorrespondence { "CIM_RecordForLog.RecordFormat" }]
string RecordData;
[Description (
"A locale indicates a particular geographical, political, "
"or cultural region. The Locale specifies the language "
"used in creating the RecordForLog data. If the Locale "
"property is empty, it is assumed that the default locale "
"is en_US (English). \n"
"The locale string consists of three sub-strings, "
"separated by underscores: \n"
"- The first sub-string is the language code, as "
"specified in ISO639. \n"
"- The second sub-string is the country code, as "
"specified in ISO3166. \n"
"- The third sub-string is a variant, which is vendor "
"specific. \n"
"For example, US English appears as: \"en_US_WIN\", where "
"the \"WIN\" variant would specify a Windows "
"browser-specific collation (if one exists). Since the "
"variant is not standardized, it is not commonly used and "
"generally is limited to easily recognizable values "
"(\"WIN\", \"UNIX\", \"EURO\", etc.) used in standard "
"environments. The language and country codes are "
"required; the variant may be empty." )]
string Locale;
};