Class: PropertyType

$k. PropertyType

new $k.PropertyType()

Represents a type of properties

Extends

Methods

allowsMultipleOccurrences() : boolean

Returns true if multiple occurrences per semantic element are possible

Returns:
Type Description
boolean

definedDomains() : Array.<$k.Domain>

Returns the defined domains of the property.

Returns:
Type Description
Array.<$k.Domain>

domains() : Array.<$k.Domain>

Returns the effective domains of the property.


  • If the property is defined as mixin, extended domains are substituted by all possible extensions.

  • Domains that are sub-domains of other domains are discarded.

  • If the domain is a relation, and symmetric properties are enabled, all possible inverse relations are also included.

Returns:
Type Description
Array.<$k.Domain>

Intherited methods