RtAssociation
Namespace: Meshmakers.Octo.Runtime.Contracts.RepositoryEntities
Represents a runtime association, the instance of a connection between two runtime entities.
public class RtAssociation : RtTypeWithAttributes
Inheritance Object → RtTypeWithAttributes → RtAssociation
Properties
AssociationId
Gets or sets the object id of the association
public OctoObjectId AssociationId { get; set; }
Property Value
OctoObjectId
OriginRtId
Gets or sets the object id of the origin runtime entity
public OctoObjectId OriginRtId { get; set; }
Property Value
OctoObjectId
OriginCkTypeId
Gets or sets the origin ck type id.
public CkId<CkTypeId> OriginCkTypeId { get; set; }
Property Value
CkId<CkTypeId>
TargetRtId
Gets or sets the object id of the target runtime entity
public OctoObjectId TargetRtId { get; set; }
Property Value
OctoObjectId
TargetCkTypeId
Gets or sets the target ck type id.
public CkId<CkTypeId> TargetCkTypeId { get; set; }
Property Value
CkId<CkTypeId>
TargetCkAttributeIds
Gets or sets a list of attributes of the target ck type id, that are referential integrity attributes
public List<CkId<CkAttributeId>> TargetCkAttributeIds { get; set; }
Property Value
AssociationRoleId
Gets or sets the association role id of the association role
public CkId<CkAssociationRoleId> AssociationRoleId { get; set; }
Property Value
CkId<CkAssociationRoleId>
Attributes
Returns a dictionary of attributes.
public IReadOnlyDictionary<string, object> Attributes { get; }
Property Value
IReadOnlyDictionary<String, Object>
Remarks:
Vor getting/setting values use the GetAttribute/SetAttribute-Methods
Constructors
RtAssociation()
Creates a new instance of RtAssociation
public RtAssociation()
RtAssociation(CkId<CkAssociationRoleId>, OctoObjectId, IReadOnlyDictionary<String, Object>)
Creates a new instance of RtAssociation
public RtAssociation(CkId<CkAssociationRoleId> associationRoleId, OctoObjectId associationId, IReadOnlyDictionary<string, object> attributes)
Parameters
associationRoleId
CkId<CkAssociationRoleId>
Construction kit association role id
associationId
OctoObjectId
Object id
attributes
IReadOnlyDictionary<String, Object>
List of attributes
Methods
GetLocation()
protected string GetLocation()