TypeInfo Class
type of model's property
Item Index
Methods
- createModelDictType static
- createModelListType static
- createModelType static
- createTemporaryType static
- equals
- notEquals
Properties
- TYPES static
Methods
createModelDictType
(
TypeInfo
private
static
-
modelName -
[options.name]
get TypeInfo as MODEL_DICT
Parameters:
-
modelNameString -
[options.name]String optionalname of dict model, by default: xxx-yyy-dict when modelName is xxx-yyy
Returns:
TypeInfo:
type
createModelListType
(
TypeInfo
private
static
-
modelName -
[options.name]
get TypeInfo as MODEL_LIST
Parameters:
-
modelNameString -
[options.name]String optionalname of list model, by default: xxx-yyy-list when modelName is xxx-yyy
Returns:
TypeInfo:
type
createModelType
(
TypeInfo
private
static
-
modelName -
[idPropName]
get TypeInfo as MODEL
Parameters:
-
modelNameString -
[idPropName]String optionalby default: xxxYyyId when modelName is xxx-yyy
Returns:
TypeInfo:
type
createTemporaryType
(
TypeInfo
private
static
-
typeName
get TypeInfo as temporary value
Parameters:
-
typeNameString
Returns:
TypeInfo:
type
equals
(
Boolean
public
-
typeName
check if the type is the given typeName
Parameters:
-
typeNameString
Returns:
Boolean:
notEquals
(
Boolean
public
-
typeName
check if the type is not the given typeName
Parameters:
-
typeNameString
Returns:
Boolean:
Properties
TYPES
Unknown
static
TYPES defines various data type, including model and array of models
key: typeName (String) value: type TypeInfo|Function(TypeInfo)
