Skip Headers
Oracle® Warehouse Builder OMB*Plus Command Reference
11g Release 2 (11.2)

Part Number E14406-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
 

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