Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • EntityT: EntityV4

  • NullableT: boolean = false

Hierarchy

  • CustomFieldBase<EntityT, NullableT>
    • CustomFieldV4

Index

Constructors

constructor

  • new CustomFieldV4<EntityT, NullableT>(fieldName: string, entityConstructor: Constructable<EntityT, unknown>, isNullable?: NullableT): CustomFieldV4<EntityT, NullableT>
  • Type parameters

    • EntityT: EntityV4<EntityT>

    • NullableT: boolean = false

    Parameters

    • fieldName: string
    • entityConstructor: Constructable<EntityT, unknown>
    • Optional isNullable: NullableT

    Returns CustomFieldV4<EntityT, NullableT>

Properties

Readonly _entity

_entity: EntityT

Readonly _entityConstructor

_entityConstructor: Constructable<EntityT, unknown>

Readonly _fieldName

_fieldName: string

Readonly _fieldOptions

_fieldOptions: Required<FieldOptions<NullableT, false>>

Protected fieldBuilder

fieldBuilder: FieldBuilder<Constructable<EntityT, unknown>>

Methods

edmBinary

  • edmBinary(): EdmTypeField<EntityT, "Edm.Binary", NullableT, true>
  • Returns EdmTypeField<EntityT, "Edm.Binary", NullableT, true>

edmBoolean

  • edmBoolean(): EdmTypeField<EntityT, "Edm.Boolean", NullableT, true>
  • Returns EdmTypeField<EntityT, "Edm.Boolean", NullableT, true>

edmByte

  • Returns OrderableEdmTypeField<EntityT, "Edm.Byte", NullableT, true>

edmDate

  • Returns OrderableEdmTypeField<EntityT, "Edm.Date", NullableT, true>

edmDateTimeOffset

  • Returns OrderableEdmTypeField<EntityT, "Edm.DateTimeOffset", NullableT, true>

edmDecimal

  • edmDecimal(): EdmTypeField<EntityT, "Edm.Decimal", NullableT, true>
  • Returns EdmTypeField<EntityT, "Edm.Decimal", NullableT, true>

edmDouble

  • Returns OrderableEdmTypeField<EntityT, "Edm.Double", NullableT, true>

edmDuration

  • Returns OrderableEdmTypeField<EntityT, "Edm.Duration", NullableT, true>

edmGuid

  • edmGuid(): EdmTypeField<EntityT, "Edm.Guid", NullableT, true>
  • Returns EdmTypeField<EntityT, "Edm.Guid", NullableT, true>

edmInt16

  • Returns OrderableEdmTypeField<EntityT, "Edm.Int16", NullableT, true>

edmInt32

  • Returns OrderableEdmTypeField<EntityT, "Edm.Int32", NullableT, true>

edmInt64

  • Returns OrderableEdmTypeField<EntityT, "Edm.Int64", NullableT, true>

edmSByte

  • Returns OrderableEdmTypeField<EntityT, "Edm.SByte", NullableT, true>

edmSingle

  • Returns OrderableEdmTypeField<EntityT, "Edm.Single", NullableT, true>

edmString

  • edmString(): EdmTypeField<EntityT, "Edm.String", NullableT, true>
  • Returns EdmTypeField<EntityT, "Edm.String", NullableT, true>

edmTimeOfDay

  • Returns OrderableEdmTypeField<EntityT, "Edm.TimeOfDay", NullableT, true>

fieldPath

  • fieldPath(): string
  • Path to the field to be used in filter and order by queries.

    Returns string

    Path to the field to be used in filter and order by queries.

    Copyright Ⓒ 2021 SAP SE or an SAP affiliate company. All rights reserved.