ImmutableDictType
Extends:
Static Member Summary
| Static Public Members | ||
| public static |
typeName: * |
|
Static Method Summary
| Static Public Methods | ||
| public static |
parseOptions(field: *, parseField: *): * |
|
Method Summary
| Public Methods | ||
| public |
getDefaultValue(): * |
|
| public |
getItemType(): * |
|
| public |
getKeyType(): * |
|
| public |
getValueType(): * |
|
| public |
isOfType(value: *): * |
|
Inherited Summary
| From class Type | ||
| public static |
typeName: * The type name. |
|
| public static |
Parses a JS or Immutable.js object into a type. |
|
| public static |
parseOneOrMany(parseField: func): oneOrManyParser Creates a one or many parser with the passed in field parser. |
|
| public static |
parseOptions(field: Immutable.Map, parseField: function): Immutable.Map Override this function if you want the type to reference other types. |
|
| From class DataType | ||
| public static |
typeName: * The data type name. |
|
| public static |
parse(field: *, parseField: *): * |
|
| public |
name: * |
|
| public |
options: * |
|
| public |
|
|
| public |
filter(filterValue: *, rowValue: *): * |
|
| public |
getDefaultValue(defaultValue: undefined): * |
|
| public |
getDisplay(value: *): string Returns the value parsed for human consumption. |
|
| public |
getField(ref: *): * |
|
| public |
getFieldAndValue(value: *, ref: *): {"field": *, "value": *} |
|
| public |
getName(): * |
|
| public |
getOptions(): * |
|
| public |
getValidationLinks(): * |
|
| public |
getValidator(): * |
|
| public |
getValue(value: *, defaultValue: *): * Returns a parsed value. |
|
| public |
Checks if the passed in value is "not empty". |
|
| public |
isExcluded(): * |
|
| public |
isGenerated(): * |
|
| public |
isRequired(): * |
|
| public |
isUnique(): * |
|
| public |
validate(value: *, callback: *): * Validates that the given value follows the rules of the data type. |
|
| From class ImmutableDataType | ||
| public static |
typeName: * |
|
| public |
getField(ref: *, renderOptions: *) |
|
| public |
getFieldAndValue(value: *, ref: *, renderOptions: *) |
|
| public |
getNextField(field: *, refs: *, renderOptions: *): * |
|
| public |
getNextFieldAndValue(field: *, value: *, refs: *, renderOptions: *): * |
|
| public |
getValue(value: *, ref: *, renderOptions: *): * |
|
| public |
hasValue(value: *, checkDefault: *): * |
|
| public |
setNextValue(field: *, oldValue: *, newValue: *, refs: *, renderOptions: *): * |
|
| public |
setValue(value: *, ref: *, newValue: *) |
|
| From class ImmutableListType | ||
| public static |
typeName: * |
|
| public static |
parseOptions(field: *, parseField: *): * |
|
| public |
getDefaultValue(): * |
|
| public |
getDisplay(value: *, renderOptions: *): string |
|
| public |
getField(refs: *, renderOptions: *): * |
|
| public |
getFieldAndValue(list: *, ref: *, renderOptions: *): * |
|
| public |
getFieldFromRef(ref: *, renderOptions: *): * |
|
| public |
getItemType(): * |
|
| public |
hasValue(value: *, checkDefault: *): * |
|
| public |
initialize(value: *, renderOptions: *): * |
|
| public |
isOfType(value: *): * |
|
| public |
setValue(list: *, ref: *, newValue: *, renderOptions: *): * |
|
| public |
validate(list: *): * |
|
Static Public Members
public static typeName: * source
The data type name. This must be overridden.
Override:
ImmutableListType#typeNameStatic Public Methods
public static parseOptions(field: *, parseField: *): * source
Override this function if you want the type to reference other types.
Override:
ImmutableListType#parseOptionsParams:
| Name | Type | Attribute | Description |
| field | * | ||
| parseField | * |
Return:
| * |
Public Methods
public isOfType(value: *): * source
Override:
ImmutableListType#isOfTypeParams:
| Name | Type | Attribute | Description |
| value | * |
Return:
| * |