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

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

Type parameters

  • EntityT: EntityBase

    Type of the entity the field belongs to

Hierarchy

Index

Constructors

constructor

Properties

Readonly _entity

_entity: EntityT

Readonly _entityConstructor

_entityConstructor: Constructable<EntityT, unknown>

Readonly _fieldName

_fieldName: string

Readonly _fieldOf

_fieldOf: ConstructorOrField<EntityT, any>

Readonly _fieldOptions

_fieldOptions: Required<FieldOptions<false, true>>

Readonly edmType

Methods

equals

  • Creates an instance of Filter for this field and the given value using the operator 'eq', i.e. ==.

    Parameters

    • value: Time

      Value to be used in the filter

    Returns Filter<EntityT, Time>

    The resulting filter

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.

greaterOrEqual

  • Creates an instance of Filter for this field and the given value using the operator 'ge', i.e. >=.

    Parameters

    • value: Time

      Value to be used in the filter

    Returns Filter<EntityT, Time>

    The resulting filter

greaterThan

  • Creates an instance of Filter for this field and the given value using the operator 'gt', i.e. >.

    Parameters

    • value: Time

      Value to be used in the filter

    Returns Filter<EntityT, Time>

    The resulting filter

lessOrEqual

  • Creates an instance of Filter for this field and the given value using the operator 'le', i.e. <=.

    Parameters

    • value: Time

      Value to be used in the filter

    Returns Filter<EntityT, Time>

    The resulting filter

lessThan

  • Creates an instance of Filter for this field and the given value using the operator 'lt', i.e. <.

    Parameters

    • value: Time

      Value to be used in the filter

    Returns Filter<EntityT, Time>

    The resulting filter

notEquals

  • Creates an instance of Filter for this field and the given value using the operator 'ne', i.e. !=.

    Parameters

    • value: Time

      Value to be used in the filter

    Returns Filter<EntityT, Time>

    The resulting filter

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