Package edm.edom3

Class EDMConstants.ExpressCompilerOptions

  • Enclosing interface:
    EDMConstants

    public static class EDMConstants.ExpressCompilerOptions
    extends java.lang.Object
    Options for EXPRESS compiler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long DIAGNOSTICS_FOR_INTERFACED_ONLY
      Specifies that only diagnostic related to the interfaced schemata will be written to the diagnostic report.
      static long DIAGNOSTICS_FOR_ROOTS_ONLY
      Specifies that only diagnostic related to the schema supplied as root schema will be written to the diagnostic report.
      static long EDM_EXPRESS_EXTENSION
      The compiler will accept EDM extensions to Express, currently there is one, namely xpxPrintf (see EDMassist Vol6).
      static long EXPRESS_EDITION_2
      Parse schema in accordance to ISO10303 Part11-2003
      static long FULL_COMPLEX_HANDLING
      All explicit and implicit complex entity definitions will be created in the dictionary model.
      static long IGNORE_EMPTY_SELECT
      Specifies that no error message should be produced when the compiler detects that a SELECT definition with an empty selection list is interfaced from one schema to another.Express constructions with expressions that refer to the empty select cannot be properly checked when this option is set.
      static long LOG_SCHEMA_INTERFACE
      Specifies that a log record will be written to the diagnostic report for each Express construct that is interfaced from one schema to another.
      static long NO_COMPLEX_ENTITIES
      No complex entity definitions are created in the appropriate dictionary model.
      static long NO_EXPRESSION_CHECKED
      All expressions in the schema(ta) will only be parsed, i.e.
      static long NO_EXPRESSION_STORED
      None of the expressions described above will be stored in the resulting dictionary model(s).
      static long STANDARD_COMPLEX_HANDLING
      Only explicit complex entity definitions.
      static long STORING_SOURCE
      Specifies that the Express schema(ta) in its original form will be stored in the EDMdatabase.
      static long TC2
      Parse schema in accordance to Technical Corrigendum no.2
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DIAGNOSTICS_FOR_ROOTS_ONLY

        public static final long DIAGNOSTICS_FOR_ROOTS_ONLY
        Specifies that only diagnostic related to the schema supplied as root schema will be written to the diagnostic report. Many errors can be reported when the compilation process implicitly makes a long form schema from short form schemata, i.e., resolves all Express schema interface declarations. These errors may not be relevant for the final dictionary model of the long form schema, hence the setting of this options prevent the issuing of these error messages.
        See Also:
        Constant Field Values
      • DIAGNOSTICS_FOR_INTERFACED_ONLY

        public static final long DIAGNOSTICS_FOR_INTERFACED_ONLY
        Specifies that only diagnostic related to the interfaced schemata will be written to the diagnostic report. Many errors can be reported when the compilation process implicitly makes a long form schema from short form schemata, i.e., resolves all Express schema interface declarations. These errors may not be relevant for the final dictionary model of the long form schema, hence the setting of this options prevent the issuing of these error messages.
        See Also:
        Constant Field Values
      • EDM_EXPRESS_EXTENSION

        public static final long EDM_EXPRESS_EXTENSION
        The compiler will accept EDM extensions to Express, currently there is one, namely xpxPrintf (see EDMassist Vol6).
        See Also:
        Constant Field Values
      • FULL_COMPLEX_HANDLING

        public static final long FULL_COMPLEX_HANDLING
        All explicit and implicit complex entity definitions will be created in the dictionary model.
        See Also:
        Constant Field Values
      • IGNORE_EMPTY_SELECT

        public static final long IGNORE_EMPTY_SELECT
        Specifies that no error message should be produced when the compiler detects that a SELECT definition with an empty selection list is interfaced from one schema to another.Express constructions with expressions that refer to the empty select cannot be properly checked when this option is set. This option should never be set when compiling schemata that will be used as the underlying schema for a data model, i.e. no dictionary model should contain empty select.
        See Also:
        Constant Field Values
      • LOG_SCHEMA_INTERFACE

        public static final long LOG_SCHEMA_INTERFACE
        Specifies that a log record will be written to the diagnostic report for each Express construct that is interfaced from one schema to another. This log record contains information such as the name of the interfaced construct, if it is explicit or implicit interfaced etc.
        See Also:
        Constant Field Values
      • NO_COMPLEX_ENTITIES

        public static final long NO_COMPLEX_ENTITIES
        No complex entity definitions are created in the appropriate dictionary model. This option will overrule the setting of the STANDARD_COMPLEX_HANDLING and the FULL_COMPLEX_HANDLING options.It is advised to use this option in order to allow dynamic definition of complex entities when required at run time.
        See Also:
        Constant Field Values
      • NO_EXPRESSION_CHECKED

        public static final long NO_EXPRESSION_CHECKED
        All expressions in the schema(ta) will only be parsed, i.e. only checked for syntactic correctness. This option implicitly sets the NO_EXPRESSION_STORED option as an unchecked expression cannot be stored in a dictionary model. Expressions can be found in the following EXPRESS constructs: CONSTANT, DERIVE attributes, AGGREGATE bound specification, WHERE, FUNCTION, PROCEDURE, RULE.Setting this option also set the NO_EXPRESSION_STORED NO_DERIVE_CHECKED, NO_DERIVE_STORED NO_RULE_CHECKED and NO_RULE_STORED options.
        See Also:
        Constant Field Values
      • NO_EXPRESSION_STORED

        public static final long NO_EXPRESSION_STORED
        None of the expressions described above will be stored in the resulting dictionary model(s).
        See Also:
        Constant Field Values
      • STANDARD_COMPLEX_HANDLING

        public static final long STANDARD_COMPLEX_HANDLING
        Only explicit complex entity definitions. I.e. those specified by a SUPERTYPE statement, will be created in the appropriate dictionary model.
        See Also:
        Constant Field Values
      • STORING_SOURCE

        public static final long STORING_SOURCE
        Specifies that the Express schema(ta) in its original form will be stored in the EDMdatabase. This Express source can later be retrieved and displayed by the EDMsupervisor command Schemata > ShowSchemata.This option is automatically enabled in the operation independent of being set in the options argument or not. Hence the original source schemata will always be stored in the EDMdatabase.
        See Also:
        Constant Field Values
      • TC2

        public static final long TC2
        Parse schema in accordance to Technical Corrigendum no.2
        See Also:
        Constant Field Values
      • EXPRESS_EDITION_2

        public static final long EXPRESS_EDITION_2
        Parse schema in accordance to ISO10303 Part11-2003
        See Also:
        Constant Field Values
    • Constructor Detail

      • ExpressCompilerOptions

        public ExpressCompilerOptions()