JavaScript Extension Development API for Oracle Visual Builder Cloud Service - Classic Applications

Class: entity/js/api/RelationCardinality

Defines the cardinality of a relation between two Entities.

Version:
  • 17.1.1
Source:

Members

(static, constant) MANY_TO_MANY :String

stable API

Many to many cardinality.

Many source Entities relate to many target Entities.

Type:
  • String
Version:
  • 17.3.5
Source:

(static, constant) MANY_TO_ONE :String

stable API

Many to one cardinality.

Many source Entities relate to one target Entity. The source Entity has a dedicated Property of PropertyType.REFERENCE which always conatins an ID referring to the target Entity.

This is an inverse cardinality to ONE_TO_MANY

Type:
  • String
Version:
  • 17.1.1
Source:

(static, constant) ONE_TO_MANY :String

stable API

One to many cardinality.

One source Entity relates to multiple target Entities. The target Entity has a dedicated Property of PropertyType.REFERENCE which always contains an ID referring to the source Entity.

This is an inverse cardinality to RelationCardinality.MANY_TO_ONE.

Type:
  • String
Version:
  • 17.1.1
Source:

Methods