1. RelationDefinition

Class RelationDefinition

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

A relation definitions.

Inheritance
System.Object
RelationDefinition
Namespace: Stylelabs.M.Sdk.Models.Base
Assembly: Stylelabs.M.Sdk.dll
Syntax
public class RelationDefinition : MemberDefinitionBase, IRelationDefinition, IMemberDefinition

Properties

AllowNavigation

Indicates whether this relation can be used for navigation to parents or children in the external services (e.g. REST API). This can prevent potentially serious memory intensive operations.

Declaration
public bool AllowNavigation { get; set; }
Property Value
TypeDescription
System.Boolean

AssociatedEntityDefinitionName

Name of the IEntityDefinition that is linked to the other end (see Role) of this IRelationDefinition.

Declaration
public string AssociatedEntityDefinitionName { get; set; }
Property Value
TypeDescription
System.String

AssociatedLabels

Collection of the culture specific member labels of the associated relation definition.

Declaration
public IDictionary<CultureInfo, string> AssociatedLabels { get; set; }
Property Value
TypeDescription
IDictionary<CultureInfo, System.String>

Cardinality

Cardinality of the relation from the parents point of view.

Declaration
public RelationCardinality Cardinality { get; set; }
Property Value
TypeDescription
RelationCardinality

ChildIsMandatory

Indicates whether relations of this definition must have at least one child.

Declaration
public bool ChildIsMandatory { get; set; }
Property Value
TypeDescription
System.Boolean

CompletionIsCopied

Indicates whether the child of the relation copies words collection, used for the auto–complete, of the ancestors connected via such marked relations into its collection of words used for the auto-complete functionality in Sitecore Content Hub web portal.

Declaration
public bool CompletionIsCopied { get; set; }
Property Value
TypeDescription
System.Boolean
See Also

ContentIsCopied

Indicates if the child of the relation copies full text search content of the ancestors connected via such marked relations into its full text search content.

Declaration
public bool ContentIsCopied { get; set; }
Property Value
TypeDescription
System.Boolean
See Also

DefinitionType

Type of the member.

Declaration
public override MemberDefinitionType DefinitionType { get; }
Property Value
TypeDescription
MemberDefinitionType
Overrides

InheritsSecurity

Indicates if this relation is used to inherit any security related meta data (from the parents towards the children).

Declaration
public bool InheritsSecurity { get; set; }
Property Value
TypeDescription
System.Boolean

IsNested

Indicates whether the relation allows nesting of properties on the associated entity when accessed via the external services (e.g. REST API).

Declaration
public bool IsNested { get; set; }
Property Value
TypeDescription
System.Boolean

IsPathHierarchyRelation

Indicates whether this relation provides a link between IsPathEnabledDefinition, thus creating a path hierarchy.

Declaration
public bool IsPathHierarchyRelation { get; set; }
Property Value
TypeDescription
System.Boolean

IsPathRelation

Indicates whether this relation provides a link between a parent entity with IsPathEnabledDefinition or an entity with such an ancestor.

Declaration
public bool IsPathRelation { get; set; }
Property Value
TypeDescription
System.Boolean

IsRenditionRelation

Indicates whether this relation can be used to retrieve renditions.

Declaration
public bool IsRenditionRelation { get; set; }
Property Value
TypeDescription
System.Boolean

IsTaxonomyHierarchyRelation

Indicates if the relation provides a link between parent and child taxonomy entities of the same entity definition, thus creating a taxonomy hierarchy.

Declaration
public bool IsTaxonomyHierarchyRelation { get; set; }
Property Value
TypeDescription
System.Boolean

IsTaxonomyRelation

Indicates whether the relation establishes a taxonomy.

Declaration
public bool IsTaxonomyRelation { get; set; }
Property Value
TypeDescription
System.Boolean

NestedPermissions

Indicates whether permissions are included when nesting this relation in an external service, in similar fashion as with property nesting.

Declaration
public bool NestedPermissions { get; set; }
Property Value
TypeDescription
System.Boolean

NestedProperties

Collection of the property names of the associated entity to be used for nesting.

Declaration
public IList<string> NestedProperties { get; set; }
Property Value
TypeDescription
IList<System.String>

ParentIsMandatory

Indicates whether relations of this definition must have at least one parent.

Declaration
public bool ParentIsMandatory { get; set; }
Property Value
TypeDescription
System.Boolean

PathHierarchyScore

Score given to the relation which is marked as IsPathHierarchyRelation. If entity has multiple parent hierarchy relations, the paths of entity will be sorted according to this score in ascending way. The first path, if not marked otherwise, will be used as a sole entity path when only one path is required.

Declaration
public byte PathHierarchyScore { get; set; }
Property Value
TypeDescription
System.Byte

Role

Role of the relation on the IEntityDefinition. Parent and child entity definitions share the same conceptual relation definition.

Declaration
public RelationRole Role { get; set; }
Property Value
TypeDescription
RelationRole

Implements

この記事を改善するための提案がある場合は、 お知らせください!