Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DotCodesAttributeFormatter

DotCodesAttributeFormatter implements AttributeFormatterExtension which provides a way to get the display value.

Hierarchy

  • DotCodesAttributeFormatter

Implements

Index

Constructors

constructor

  • Parameters

    • codeSetId: string

      string to lookup.

    • fieldLength: number

      number to trim size to.

    Returns DotCodesAttributeFormatter

  • Parameters

    • codeSetId: string

      string to lookup.

    • fieldLength: number

      number to trim size to.

    Returns DotCodesAttributeFormatter

Properties

Private _codeSet

_codeSet: any = null

Private _codeSetId

_codeSetId: any

Private _fieldLength

_fieldLength: any

extensionType

extensionType: string = "formatter"

The extensionType property indicates the type of AttributeExtension.

Methods

getDisplayValue

  • getDisplayValue(rawValue: any): Promise<any>
  • getDisplayValue(rawValue: any): Promise<any>
  • Clean up the value for display

    Parameters

    • rawValue: any

      any.

    Returns Promise<any>

    a Q.Promise resolving to the display value as any.

  • Clean up the value for display

    Parameters

    • rawValue: any

      any.

    Returns Promise<any>

    a Q.Promise resolving to the display value as any.