Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MdmValidator

Index

Constructors

constructor

Methods

Static capitalize

  • capitalize(str: string): string

Static getProperty

  • getProperty(obj: any, str: string): any

Static guid

  • guid(): string

Static index

  • index(obj: any, i: any): any

Static isDate

  • isDate(date: any): boolean

Static isEmpty

  • isEmpty(str: string): boolean

Static validateEmail

  • validateEmail(email: any): boolean

Static validateMultiplicities

  • validateMultiplicities(min: any, max: any): "Invalid Min Multiplicity" | "Invalid Max Multiplicity" | "Min Multiplicity should have a value" | "Max Multiplicity should have a value" | "Min Multiplicity should be Equal or Less than Max Multiplicity" | "Min and Max Multiplicities can not both be 0" | "Min and Max Multiplicities can not both be unbound"
  • Parameters

    • min: any
    • max: any

    Returns "Invalid Min Multiplicity" | "Invalid Max Multiplicity" | "Min Multiplicity should have a value" | "Max Multiplicity should have a value" | "Min Multiplicity should be Equal or Less than Max Multiplicity" | "Min and Max Multiplicities can not both be 0" | "Min and Max Multiplicities can not both be unbound"

Generated using TypeDoc