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

Since v1.47.0. Use EdmTypeField instead. Represents a selectable property with a string value.

Type parameters

  • EntityT: EntityBase

    Type of the entity the field belongs to

Hierarchy

  • StringFieldBase<EntityT, true>
    • StringField

Index

Constructors

  • Creates an instance of EdmTypeField.

    Type parameters

    Parameters

    Returns StringField<EntityT>

Properties

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

Methods

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

    Parameters

    • value: string

      Value to be used in the filter

    Returns Filter<EntityT, string>

    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.

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

    Parameters

    • value: string

      Value to be used in the filter

    Returns Filter<EntityT, string>

    The resulting filter

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