DomainClassInfo Class

Definition

Represents a domain class.

public ref class DomainClassInfo : Microsoft::VisualStudio::Modeling::DomainObjectInfo
[System.Diagnostics.DebuggerDisplay("DomainClass (Name = {name})")]
public class DomainClassInfo : Microsoft.VisualStudio.Modeling.DomainObjectInfo
[<System.Diagnostics.DebuggerDisplay("DomainClass (Name = {name})")>]
type DomainClassInfo = class
    inherit DomainObjectInfo
Public Class DomainClassInfo
Inherits DomainObjectInfo
Inheritance
DomainClassInfo
Derived
Attributes

Properties

AllDescendants

Gets a read-only list of all domain classes directly or indirectly derived form this one.

AllDomainProperties

Gets a read-only list of domain properties declared on this domain class or one of its ascendants.

AllDomainRolesPlayed

Gets a read-only list of all the domain roles played by this class or its ascendants.

AllEmbeddedByDomainRoles

Gets a read-only list of domain roles which embed this domain class.

BaseDomainClass

Gets domain class this domain class inherits from.

DefaultDomainProperty

Gets the default property for this domain class.

DisplayName

Gets display name of this domain object.

(Inherited from DomainObjectInfo)
DomainModel

Gets domain model this domain class belongs to.

Id

Gets the ID of this domain object.

(Inherited from DomainObjectInfo)
ImplementationClass

Gets implementation type of this domain class.

IsValidationEnabled

Gets whether constraint validation is enabled for this domain class.

LocalDescendants

Gets a read-only list of domain classes immediately derived from this one.

LocalDomainProperties

Gets a read-only list of domain properties declared in this domain class.

LocalDomainRolesPlayed

Gets a read-only list of domain roles played by this domain class.

Name

Gets the name of this domain object.

(Inherited from DomainObjectInfo)
NameDomainProperty

Gets element name property for this domain class, if it or one of its ascendants have defined one.

Methods

Equals(Object)

Equality is based on the Id of the DomainClassInfo object.

FindDomainProperty(String, Boolean)

Finds a domain property defined in this domain class.

FindEmbeddingElement(ModelElement)

Finds embedding container for this element.

FindEmbeddingElementLink(ModelElement)

Finds embedding link for this element.

GetHashCode()

Hashcode is based off the Id of this object

GetName(ModelElement)

Gets value of the element name property.

HasNameProperty(ModelElement)

Gets whether given element has name property defined in its domain class.

IsDerivedFrom(DomainClassInfo)

Returns true if this domain class is derived from the specified domain class.

IsDerivedFrom(Guid)

Returns true if this domain class is derived from the specified domain class specified.

SetName(ModelElement, String)

Sets name property value on the element.

SetUniqueName(ModelElement)

Assigns given element an unique name.

SetUniqueName(ModelElement, String)

Assigns given element an unique name.

ToString()

Gets string representing of this object.

(Inherited from DomainObjectInfo)
TryGetName(ModelElement, String)

Checks whether element has a name property and returns its value if so.

Operators

Equality(DomainClassInfo, DomainClassInfo)
Inequality(DomainClassInfo, DomainClassInfo)

Applies to