Bundt Scripting Reference · Bundt Scripting Language version 1.0.1.0

redefine property statement

Creates an existing property into a new redefinition, and puts it in context.

The class owning the new redefinition property is also put in context.

Syntax

redefine property PropertyName as
    Name:
    Cardinality [^]
    [( AspectList )]

Element Type Optionality Notes
PropertyName Property name Mandatory. Specifies the existing property to be redefined.
Name Expression<Identifier> or Expression<Dictionary<Identifier>> Mandatory. Specifies the name of the new redefinition property, either as an identifier or in multilingual dictionary format.
Cardinality Cardinality Mandatory. Specifies the cardinality of the new redefinition property.
^ Optional. If omitted, the new redefinition property is not made sorted. Specifies whether the new redefinition property must be sorted.
AspectList Marker list Optional. Specifies the aspects used by the new redefinition property. Accepted markers are S for subjective, K for constant, and T for temporal.

Returns

The property redefinition just created.

Examples

Intent Code
Redefine the Creator property inherited by Book as having a new name redefine property Book.Creator as Author: 1..*;
Redefine the Creator property inherited by Book as having a new multilingual name redefine property Book.Creator as [en_GB: Author, es_ES: Autor]: 1..*;

See Also


Contents distributed under a Creative Commons Attribution 4.0 International License · About · Terms of Use · Contact Us · last updated on 08 October 2020