PropInfo Class
parses model properties and classifies them
Item Index
Methods
Methods
build
()
private
classify each prop by type
isEntityProp
(
Boolean
-
prop
check if the given prop is entity prop
Parameters:
-
propString
Returns:
Boolean:
isModelProp
(
Boolean
-
prop
check if the given prop is model prop
Parameters:
-
propString
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
