Zum Hauptinhalt springen

CkInterfaceAssociationDto

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DataTransferObjects

An association member of a CkInterfaceDto (CK v2, F1.1-S5): implementing types must have an outbound association with the role CkInterfaceAssociationDto.CkRoleId, whose target is (or derives from) CkInterfaceAssociationDto.TargetCkTypeId or implements CkInterfaceAssociationDto.TargetCkInterfaceId. Exactly one target is set.

public class CkInterfaceAssociationDto

Inheritance Object → CkInterfaceAssociationDto

Properties​

CkRoleId​

The association role, e.g. ${System}/ParentChild.

public CkId<CkAssociationRoleId> CkRoleId { get; set; }

Property Value​

CkId<CkAssociationRoleId>

TargetCkTypeId​

The target type (exclusive with CkInterfaceAssociationDto.TargetCkInterfaceId).

public CkId<CkTypeId> TargetCkTypeId { get; set; }

Property Value​

CkId<CkTypeId>

TargetCkInterfaceId​

The target interface (exclusive with CkInterfaceAssociationDto.TargetCkTypeId).

public CkId<CkInterfaceId> TargetCkInterfaceId { get; set; }

Property Value​

CkId<CkInterfaceId>

Multiplicity​

The required outbound multiplicity of the implementing association; null = any.

public Nullable<MultiplicitiesDto> Multiplicity { get; set; }

Property Value​

Nullable<MultiplicitiesDto>

IsOptional​

Optional members need not be provided by implementing types.

public bool IsOptional { get; set; }

Property Value​

Boolean

Constructors​

CkInterfaceAssociationDto()​

public CkInterfaceAssociationDto()