Represents a role of a domain relationship.
The DomainRoleInfo type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() |
GetAllElementLinks | Gets a list of all element links that the given element participates in. |
![]() ![]() |
GetElementLinks | Overloaded. Gets element links for the role. |
![]() |
GetElementLinksToElement | Overloaded. Gets the links between a source and target element. |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() |
GetLinkedElement | Overloaded. Gets the element linked to this element. |
![]() |
GetLinkedElements | Gets a list of elements that are linked to this role. |
![]() ![]() |
GetRolePlayer | Overloaded. Gets a role player from a link. |
![]() |
GetRolePlayerMoniker | Gets the link role player moniker corresponding to this role. |
![]() ![]() |
GetSourceRolePlayer | Gets the source element that is attached to a link. |
![]() ![]() |
GetTargetRolePlayer | Gets the target element that is attached to a link. |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() |
SetLinkedElement | Overloaded. Sets the element on the other side of the relationship. |
![]() ![]() |
SetRolePlayer | Overloaded. Sets the role player. |
![]() ![]() |
SetRolePlayerMoniker | Overloaded. Sets the link role player moniker. |
![]() |
ToString | Converts the element to a string. (Inherited from DomainObjectInfo.) |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
BaseDomainRole | Gets the base domain role for this role. |
![]() |
DisplayName | Gets the display name of the element. (Inherited from DomainObjectInfo.) |
![]() |
DomainModel | Gets the domain model that contains information about this role. (Overrides DomainObjectInfo.DomainModel.) |
![]() |
DomainRelationship | Gets the domain relationship that this domain role belongs to. |
![]() |
Id | Gets the ID of the element. (Inherited from DomainObjectInfo.) |
![]() |
IsEmbedding | Gets the domain role and verifies whether the player of this role logically contains the players of the other role or roles in this relationship. |
![]() |
IsMany | Gets the domain role and verifies whether the multiplicity allows multiple objects. |
![]() |
IsOne | Gets the domain role and verifies whether the multiplicity allows a maximum of one object. |
![]() |
IsOptional | Gets the domain role and verifies whether the multiplicity allows zero objects. If it does allow zero objects, this makes it optional. |
![]() |
IsSource | Gets the domain role and verifies that it is source code. |
![]() |
LinkPropertyInfo | Gets the property information for this domain role. |
![]() |
Multiplicity | Gets the multiplicity of this role. |
![]() |
Name | Gets the name of the element. (Inherited from DomainObjectInfo.) |
![]() |
OppositeDomainRole | Gets the domain role opposite this domain role in the domain relationship. |
![]() |
PropagatesCopy | Gets the domain role and verifies whether the element playing this role in a link will be copied when the opposite role player element is copied. |
![]() |
PropagatesDelete | Gets the domain role and verifies whether the element playing this role in a link will be deleted when the opposite role player element or the link itself is deleted. |
![]() |
PropertyDisplayName | Gets the name of the property that is displayed to the user on the diagram. |
![]() |
PropertyName | Gets the name of the accessor property for this role on the role player domain class. |
![]() |
RolePlayer | Gets the domain class that plays this role. |
Top
.gif)
.gif)
.gif)
.gif)