API Docs for:
Show:

PropInfo Class

parses model properties and classifies them

Methods

build

() private

classify each prop by type

getTypeInfo

(
  • prop
)
TypeInfo

get typeInfo by prop

Parameters:

  • prop String

Returns:

isEntityProp

(
  • prop
)
Boolean

check if the given prop is entity prop

Parameters:

  • prop String

Returns:

Boolean:

isModelProp

(
  • prop
)
Boolean

check if the given prop is model prop

Parameters:

  • prop String

Returns:

Boolean:

Properties

createdAt

String

property whose type is CREATED_AT

dateProps

Array

properties whose type is DATE, CREATED_AT and UPDATED_AT

dic

Object

key value pairs of (property => TypeInfo)

entityProps

Array

properties whose type is MODEL and the model extends Entity

listProps

Array

properties whose type is MODEL_LIST

modelProps

Array

properties whose type is MODEL

nonEntityProps

Array

properties whose type is MODEL and the model does not extend Entity

updatedAt

String

property whose type is UPDATED_AT