Options
All
  • Public
  • Public/Protected
  • All
Menu
deprecated

Since v1.47.0. Use OrderableEdmTypeField instead. Represents a property with a date value.

Type parameters

  • EntityT: EntityBase

    Type of the entity the field belongs to

  • SelectableT: boolean = false

Hierarchy

Index

Constructors

  • Creates an instance of EdmTypeField.

    Type parameters

    • EntityT: EntityBase<EntityT>

    • SelectableT: boolean = false

    Parameters

    Returns DateFieldBase<EntityT, SelectableT>

Properties

_entity: EntityT
_entityConstructor: Constructable<EntityT, unknown>
_fieldName: string
_fieldOf: ConstructorOrField<EntityT, any>
_fieldOptions: Required<FieldOptions<false, SelectableT>>

Methods

  • equals(value: Moment): Filter<EntityT, Moment>
  • Creates an instance of Filter for this field and the given value using the operator 'eq', i.e. ==.

    Parameters

    • value: Moment

      Value to be used in the filter

    Returns Filter<EntityT, Moment>

    The resulting filter

  • 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.

  • greaterOrEqual(value: Moment): Filter<EntityT, Moment>
  • Creates an instance of Filter for this field and the given value using the operator 'ge', i.e. >=.

    Parameters

    • value: Moment

      Value to be used in the filter

    Returns Filter<EntityT, Moment>

    The resulting filter

  • greaterThan(value: Moment): Filter<EntityT, Moment>
  • Creates an instance of Filter for this field and the given value using the operator 'gt', i.e. >.

    Parameters

    • value: Moment

      Value to be used in the filter

    Returns Filter<EntityT, Moment>

    The resulting filter

  • lessOrEqual(value: Moment): Filter<EntityT, Moment>
  • Creates an instance of Filter for this field and the given value using the operator 'le', i.e. <=.

    Parameters

    • value: Moment

      Value to be used in the filter

    Returns Filter<EntityT, Moment>

    The resulting filter

  • lessThan(value: Moment): Filter<EntityT, Moment>
  • Creates an instance of Filter for this field and the given value using the operator 'lt', i.e. <.

    Parameters

    • value: Moment

      Value to be used in the filter

    Returns Filter<EntityT, Moment>

    The resulting filter

  • notEquals(value: Moment): Filter<EntityT, Moment>
  • Creates an instance of Filter for this field and the given value using the operator 'ne', i.e. !=.

    Parameters

    • value: Moment

      Value to be used in the filter

    Returns Filter<EntityT, Moment>

    The resulting filter

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