../E14406-01.epub /> ../E14406-01.mobi />

OMBREDEFINE CLASS_DEFINITION

Purpose

To redefine a class.

Prerequisites

Class definition to be redefined should already exist. This command can be executed for any class definition regardless of current context. User must have CREATE_EXTENSIONMODEL system privilege, and user has to connect in single user mode.

The valid types to define user defined properties are: INTEGER, STRING, FLOAT, DOUBLE, DATE, TIMESTAMP, BOOLEAN, LONG, FILE, URL

Syntax

parseRedefineClassCommand =  OMBREDEFINE CLASS_DEFINITION "QUOTED_STRING" [
           ( ON | OF ) "modelClause" ] ( ( "setClassDefinitionPropertiesClause" 
          | "setClassDefinitionIconSetClause" | 
          "unsetClassDefinitionIconSetClause" ) [ "modifySubDefinitionsClause" ]
           | "modifySubDefinitionsClause" )
     modelClause =  ( MODEL "QUOTED_STRING" | PLATFORM "QUOTED_STRING" | 
          CONFIGURATION_TEMPLATE "QUOTED_STRING" ( ON | OF ) PLATFORM 
          "QUOTED_STRING" )
     setClassDefinitionPropertiesClause =  SET PROPERTIES "(" "propertyNameList"
           ")" VALUES "(" "propertyValueList" ")"
     setClassDefinitionIconSetClause =  SET REF ICONSET "QUOTED_STRING"
     unsetClassDefinitionIconSetClause =  UNSET REF ICONSET
     modifySubDefinitionsClause =  ( "addPropertyDefinitionClause" | 
          "modifyPropertyDefinitionClause" | "deletePropertyDefinitionClause" | 
          "addPropertyGroupDefinitionClause" | 
          "modifyPropertyGroupDefinitionClause" | 
          "deletePropertyGroupDefinitionClause" | "addChildTypeClause" | 
          "deleteChildTypeClause" )+
     propertyNameList =  "propertyNameClause" { "," "propertyNameClause" }
     propertyValueList =  "propertyValue" { "," "propertyValue" }
     addPropertyDefinitionClause =  ( ADD [ ( ( CONFIGURATION | 
          PHYSICAL_CONFIGURATION ) | LOGICAL | USER_DEFINED ) ] 
          PROPERTY_DEFINITION "QUOTED_STRING" 
          "setPropertyDefinitionPropertiesClause" )
     modifyPropertyDefinitionClause =  ( MODIFY PROPERTY_DEFINITION 
          "QUOTED_STRING" ( RENAME TO "QUOTED_STRING" | 
          "setPropertyDefinitionPropertiesClause" ) )
     deletePropertyDefinitionClause =  ( DELETE PROPERTY_DEFINITION 
          "QUOTED_STRING" )
     addPropertyGroupDefinitionClause =  ADD PROPERTY_GROUP_DEFINITION 
          "QUOTED_STRING" "setPropertyGroupDefinitionPropertiesClause"
     modifyPropertyGroupDefinitionClause =  ( MODIFY PROPERTY_GROUP_DEFINITION 
          "QUOTED_STRING" ( RENAME TO "QUOTED_STRING" | 
          "setPropertyGroupDefinitionPropertiesClause" ) )
     deletePropertyGroupDefinitionClause =  ( DELETE PROPERTY_GROUP_DEFINITION 
          "QUOTED_STRING" )
     addChildTypeClause =  ( ADD CHILD_TYPE "QUOTED_STRING" )
     deleteChildTypeClause =  ( DELETE CHILD_TYPE "QUOTED_STRING" )
     propertyNameClause =  ( "UNQUOTED_STRING" )
     propertyValue =  ( "QUOTED_STRING" | "INTEGER_LITERAL" | 
          "FLOATING_POINT_LITERAL" )
     setPropertyDefinitionPropertiesClause =  SET PROPERTIES "(" 
          "propertyNameList" ")" VALUES "(" "propertyValueList" ")"
     setPropertyGroupDefinitionPropertiesClause =  SET PROPERTIES "(" 
          "propertyNameList" ")" VALUES "(" "propertyValueList" ")"

Parameters

parseRedefineClassCommand

Redefine a class definition.

CLASS_DEFINITION

Redefine a class definition.

QUOTED_STRING

Name of the class definition.

propertyNameList

The list of properties for the class definition.

propertyValueList

The list of values provided for the class definition.

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.