Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ComplexTypeTimePropertyField<EntityT>

Represents a complex type property with a time value.

Type parameters

  • EntityT: Entity

    Type of the entity the field belongs to

Hierarchy

Implements

Index

Constructors

constructor

  • Creates an instance of ComplexTypeTimePropertyField.

    Parameters

    • fieldName: string

      Actual name of the field used in the OData request

    • entityConstructor: Constructable<EntityT>

      Constructor type of the entity the field belongs to

    • parentTypeName: string

      Name of the parent complex type

    • edmType: EdmType

      Type of the field according to the metadata description

    Returns ComplexTypeTimePropertyField

Properties

edmType

edmType: EdmType

Type of the field according to the metadata description

entityConstructor

entityConstructor: Constructable<EntityT>

Constructor type of the entity the field belongs to

fieldName

fieldName: string

Actual name of the field used in the OData request

parentTypeName

parentTypeName: string

Name of the parent complex type

Methods

equals

  • equals(value: Time): Filter<EntityT, Time>
  • 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. Combines the parent complex type name with the field name.

    Returns string

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

getExpands

  • getExpands(): string[]

getSelects

  • getSelects(): string[]

greaterOrEqual

  • greaterOrEqual(value: Time): Filter<EntityT, Time>
  • 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

  • greaterThan(value: Time): Filter<EntityT, Time>
  • 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

  • lessOrEqual(value: Time): Filter<EntityT, Time>
  • 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

  • lessThan(value: Time): Filter<EntityT, Time>
  • 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

  • notEquals(value: Time): Filter<EntityT, Time>
  • 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