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
[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>
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>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*