Uh oh! We couldn’t find any match.

Please try other search keywords.

Bixby Developer Center

Guides

override

optional

Allows overriding cardinality, type, and value binding for the property when extending the structure. When you declare a property as an override, only the keys specified in the override are overwritten. All other attributes do not go back to their defaults. Keep in mind that you cannot override certain properties. For example, you cannot reduce the visibility of a property by overriding the parent property. You also cannot override the min cardinality from Required to Optional or override the max cardinality.

Example

Suppose viv.air.Airport extends viv.geo.Place. viv.air.Airport may override the name property and supply its more specific type.

structure (Place) {
property (name) {
type (PlaceName)
min (Required)
}
...
}

structure (Airport) {
extends (Place)

property (name) {
override
type (AirportName)
}
...
}