Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • EntityT: Entity

  • NullableT: boolean = false

Hierarchy

  • CustomField<EntityT, NullableT>
    • CustomField

Index

Constructors

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

    • EntityT: Entity<EntityT>

    • NullableT: boolean = false

    Parameters

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

    Returns CustomField<EntityT, NullableT>

Properties

_entity: EntityT
_entityConstructor: Constructable<EntityT, unknown>
_fieldName: string
_fieldOptions: Required<FieldOptions<NullableT, false>>
fieldBuilder: FieldBuilder<Constructable<EntityT, unknown>>

Methods

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • 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 Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.