Oracle Configurator Constraint Definition Language Guide

Contents

Title and Copyright Information

Send Us Your Comments

Preface

Introduction

Overview of the Constraint Definition Language (CDL)
Relationships Expressed in CDL
Terminology
Syntax Notation

Principles of CDL

Before You Begin
      What Model Structure Nodes and Properties Are Participants in the Rule?
      Is the Model Structure Likely To Change Often?
      What Does the Rule Need To Do?
      What Types of Expressions Define the Relationships or Constraints You Need?
Anatomy of a Configuration Rule Written in CDL
      Rule Definition
      Rule Statements
      Comments and Whitespace
      Case Sensitivity
      Quotation Marks
Data Types

Model Example

The House Model and its Window Submodel
Example Explicit Statements
Example Iterator Statements
CDL Flexibility
      Incremental Rules
      Alternative Rule Designs

CDL Elements

CDL Statements
      Explicit Statements
      Iterator Statements
      Multiple Iterators in One Statement
Expressions
Keywords
      CONSTRAIN
      CONTRIBUTE...TO
      CONTRIBUTE...TO with Decimal Operands and BOM Option Classes or Collections
      COMPATIBLE...OF
      FOR ALL....IN
      WHERE
      COLLECT
Operators
      Predefined Operators Supported By CDL
      Operator Results
      Operator Precedence
      LIKE and NOT LIKE Operators
      Text Concatenation Operator
      COLLECT Operator
Functions
      Arithmetic
      Trigonometric
      Logical
      Set
      Text
      Hierarchy or Compound
      Function Overflows and Underflows
Operands
      References
      Model Object Identifiers
      Simple Model Node References
      Compound Model Node References Showing Context
      Property References
      Formal Parameters
      Local Variables and Data Types
      Local Variables and References
      Literals
      Numeric Literals
      Boolean Literals
      Text Literals
      Collection Literals
Separators
Comments and Whitespace
      Comments
      Whitespace and Line Terminators

CDL Formal Grammar

Notation Used in Presenting CDL Grammar
      Examples of Notation Used in Presenting CDL Grammar
Terminal Symbols
      Keyword Symbols
      Operator Symbols
      Literal Symbols
      Separator Symbols
      Identifier Symbols
      Comment Symbols
      Whitespace Symbols
Nonterminal Symbols
EBNF Source Code Definitions for CDL Terminal Symbols

CDL Validation

Validation of CDL
      The Parser
      Calling the Oracle Configurator Parser
      The Parser’s Validation Criteria
      The Compiler
      Calling the Oracle Configurator Compiler
      The Compiler’s Validation Criteria
The Input Stream to the Oracle Configurator Parser
      Unicode Characters
Name Substitution
      Name Persistency
      Ambiguity Resolution

Common Glossary for Oracle Configurator

Index