OMBDEFINE DOMAIN_DEFINITION

Purpose

To define a ___domain.

Prerequisites

Domain is a type with constraints on some other type. For example, you can define a ___domain which contains a list of valid values of some existing type, or you can define a ___domain which contains ranges of some existing type.

Syntax

parseDefineDomainCommand =  OMBDEFINE DOMAIN_DEFINITION "QUOTED_STRING" [ (
           ON | OF ) "modelClause" ] "setDomainPropertiesClause" { 
          "addRangeClause" | "addValueClause" }
     modelClause =  ( MODEL "QUOTED_STRING" | PLATFORM "QUOTED_STRING" | 
          CONFIGURATION_TEMPLATE "QUOTED_STRING" ( ON | OF ) PLATFORM 
          "QUOTED_STRING" )
     setDomainPropertiesClause =  SET PROPERTIES "(" "propertyNameList" ")" 
          VALUES "(" "propertyValueList" ")"
     addRangeClause =  ADD RANGE_DEFINITION "QUOTED_STRING" 
          "setRangePropertiesClause"
     addValueClause =  ADD DOMAIN_VALUE "QUOTED_STRING"
     propertyNameList =  "propertyNameClause" { "," "propertyNameClause" }
     propertyValueList =  "propertyValue" { "," "propertyValue" }
     setRangePropertiesClause =  SET PROPERTIES "(" "propertyNameList" ")" 
          VALUES "(" "propertyValueList" ")"
     propertyNameClause =  ( "UNQUOTED_STRING" )
     propertyValue =  ( "QUOTED_STRING" | "INTEGER_LITERAL" | 
          "FLOATING_POINT_LITERAL" )

Parameters

parseDefineDomainCommand

Define a ___domain.

QUOTED_STRING

Name of the ___domain.

setDomainPropertiesClause

Set the properties on the ___domain. Valid properties are BASE_TYPE, DESCRIPTION.

addRangeClause

Add range to the ___domain.

addValueClause

Add value to the ___domain.

propertyNameList

The list of property names.

propertyValueList

The list of values.

setRangePropertiesClause

Set the properties on the range. Valid properties are MIN_VALUE_STRING, MIN_VALUE_INCLUSIVE, MAX_VALUE_STRING, MAX_VALUE_INCLUSIVE, DESCRIPTION. MIN_VALUE_STRING is the minimum value for this range. MIN_VALUE_INCLUSIVE equal to true means the minimum value is in the range. MAX_VALUE_STRING is the maximum for this range. MAX_VALUE_INCLUSIVE equal to true means the maximum value is in the range.

propertyNameClause

The name of the property.

UNQUOTED_STRING

The name of the property for the class definition.

propertyValue

The value of the property.

QUOTED_STRING

The value in string format of the property for the class definition.

INTEGER_LITERAL

The integer value of the property for the class definition.

FLOATING_POINT_LITERAL

The float value of the property for the class definition.

See Also