AllowedRelationship

data class AllowedRelationship(val from: DomainType, val to: DomainType, val name: String, val description: String = name, val cardinality: Cardinality)

Represents a relationship between two domain types.

Parameters

from

The source domain type

to

The target domain type

name

The name of the relationship (inferred from property name)

cardinality

The cardinality of the relationship

Constructors

Link copied to clipboard
constructor(from: DomainType, to: DomainType, name: String, description: String = name, cardinality: Cardinality)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard