Prev Next

DDL Property Macros

The DDL Property macros provide a convenient way of retrieving element property values (that is, Tagged Values). In the scope of data modeling there are two groups of properties:

  • Internal properties (those that Enterprise Architect recognizes and uses in its compares) and
  • User-defined properties

These property macros provide access to properties defined against the various elements. All property macros have the same syntax, return a string and require the name of the property to be specified.

Syntax: propertyMacroName:"propertyName"

INTERNAL PROPERTIES

tableBoolProperty:"propertyName"

Returns a boolean representation ("T" or "") of the value for the internal property in the repository's version of the current Table.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

tableProperty:"propertyName"

Returns the value for the internal property in the repository's version of the current Table.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

columnProperty:"propertyName"

Returns the value for the internal property in the repository's version of the current Column.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

columnBoolProperty:"propertyName"

Returns a boolean representation ("T" or "") of the value for the internal property in the repository's version of the current Column.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

constraintProperty:"propertyName"

Returns the value for the internal property in the repository's version of the current Constraint.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

constraintBoolProperty:"propertyName"

Returns a boolean representation ("T" or "") of the value for the internal property in the repository's version of the current Constraint.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

constraintColumnProperty:"propertyName"

Returns the value for the internal property in the repository's version of the current Constraint Column.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

constraintColumnBoolProperty:"propertyName"

Returns a boolean representation ("T" or "") of the value for the internal property in the repository's version of the current Constraint Column.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

viewProperty:"propertyName"

Returns the value for the internal property in the repository's version of the current View.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

procedureProperty:"propertyName"

Returns the value for the internal property in the repository's version of the current Procedure.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

functionProperty:"propertyName"

Returns the value for the internal property in the repository's version of the current Function.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

sequenceProperty:"propertyName"

Returns the value for the internal property in the repository's version of the current Sequence.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

packageProperty:"propertyName"

Returns the value for the internal property in the repository's version of the current database Package.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

odbcTableProperty:"propertyName"

Returns the value for the internal property in the ODBC's version of the current Table.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

odbcConstraintProperty:"propertyName"

Returns the value for the internal property in the ODBC's version of the current Constraint.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

USER DEFINED PROPERTIES

tableUserProperty:"propertyName"

Returns the value for the user-defined property in the repository's version of the current Table.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

columnUserProperty:"propertyName"

Returns the value for the user-defined property in the repository's version of the current Column.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

constraintUserProperty:"propertyName"

Returns the value for the user-defined property in the repository's version of the current Constraint.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

constraintColumnUserProperty:"propertyName"

Returns the value for the user-defined property in the repository's version of the current Constraint Column.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

viewUserProperty:"propertyName"

Returns the value for the user-defined property in the repository's version of the current View.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

procedureUserProperty:"propertyName"

Returns the value for the user-defined property in the repository's version of the current Procedure.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

functionUserProperty:"propertyName"

Returns the value for the user-defined property in the repository's version of the current Function.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.

sequenceUserProperty:"propertyName"

Returns the value for the user-defined property in the repository's version of the current Sequence.

Parameters

  • propertyName - the property name that is to be retrieved

Remarks

None.