Entity Attribute

An entity attribute is an attribute that also points to an entity.

public class CdmEntityAttributeDefinition extends CdmAttribute

Constructors

Name Description
CdmEntityAttributeDefinition(CdmCorpusContext, string)
ctx: The corpus context.
name: The entity attribute's name.
Initializes a new instance of the CdmEntityAttributeDefinition class.

Properties

Name Type Description
Description string The entity attribute's description.
DisplayName string The entity attribute's display name.
Entity CdmEntityReference The entity attribute's entity reference.

Methods

Name Description Return Type
IsDerivedFrom(string, ResolveOptions) See CdmObject.IsDerivedFrom(...). bool
Copy(ResolveOptions, CdmObject) See CdmObject.Copy(...). CdmObject
Validate() See CdmObject.Validate(). bool