Class: VwMapper

VwMapper(VTableInfo, mapTypeopt)

Clase que mapea todos los campos de una tabla creando una función que devuelve su valor

Gestiona automáticamente el tipo de valor: numérico, alfabético, fecha, enlace maestro, etc...

Constructor

new VwMapper(VTableInfo, mapTypeopt)

Parameters:
Name Type Attributes Default Description
VTableInfo VTableInfo VTableInfo
mapType int <optional>
VwMapper.MAP_TYPE_MAP Por defecto gestiona el tipo de valor. Pasar VwMapper.MAP_TYPE_ALL_STRING para que todos los campos se resuelvan como fieldToSTring
Source:

Members

(static) MAP_TYPE_ALL_STRING

Enum = 1: no gestiona tipo de retorno. Intenta hacer fieldToString al resolver un campo
Source:

(static) MAP_TYPE_MAP

Enum = 0: gestiona el tipo de retorno
Source: