Class definition syntax


A BAROC class definition includes a name and one or more slot definitions that delimit acceptable values. The basic syntax for defining a class in the BAROC language is as follows:

<MetaClassName>: <ClassName> [ISA <ClassName>]
   [DEFINES {
      [ <SlotName>: <SlotType> [, <SlotFacet>]* ;]*
   }];
END

The syntax elements are defined as follows:

<MetaClassName> =
   MC_EV_CLASS
   | MC_DATA_CLASS
   | MC_INTERFACE
   | MC_PUBLISH_DATA_CLASS
   | TEC_CLASS
<ClassName> and <SlotName> = an optionally quoted (' or ")
sequence of characters excluding blanks " '
; : , = ( ) [ ] { }
<SlotType> = [ SINGLE | LIST_OF]
   INTEGER | REAL | STRING | <Enum>
<SlotFacet>=
   default = <SlotValC>
   | parse = <YesOrNo>
   | dup_detect = <YesOrNo>
   | read_only = <YesOrNo>
   | key = <YesOrNo>
   | representation = <STRING>

Note

The class definitions in the cell Knowledge Base (KB) must be identical across all the Infrastructure Management servers connected with the Presentation Server. 

Also, to see events in the TrueSight console for any remote cells including those cells for Integration Service(s), the remote cells must have all their class definitions present on all Infrastructure Management servers.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*