Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PropertyProcessor<K, V, R>

PropertyProcessor is a base class for EntryProcessor implementations that depend on a ValueManipulator.

Type parameters

  • K = any

  • V = any

  • R = any

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

Protected constructor

  • Construct a PropertyProcessor for the specified property name.

    This constructor assumes that the corresponding property getter will have a name of ("get" + sName) and the corresponding property setter's name will be ("set + sName).

    Parameters

    • typeName: string

      the server-side ValueManipulator type identifier

    • manipulatorOrPropertyName: ValueManipulator | string

      the manipulator or property name

    • Default value useIs: boolean = false

      prefix with is

    Returns PropertyProcessor

Properties

@class

@class: string

Protected Readonly manipulator

manipulator: ValueManipulator

The property value manipulator.

Methods

andThen

when

  • Returns a ConditionalProcessor comprised of this processor and the provided filter.

    The specified entry processor gets invoked if and only if the filter applied to the entry evaluates to true; otherwise the result of the invocation will return null.

    Parameters

    Returns EntryProcessor<K, V, R>