ResourceRateTableModel

This class represents a resource rate table.

Properties

62

Class hierarchy

isResourceRateTableModel: Boolean= truereadonly
Identifies an object as an instance of ResourceRateTableModel class, or subclass thereof.
isResourceRateTableModel: Boolean= truereadonlystatic
Identifies an object as an instance of ResourceRateTableModel class, or subclass thereof.
isModelModel
isModelLinkModelLink
isModelStmModelStm
isTreeNodeTreeNode

Editing

copyOfModel
isValidModel

Fields

allFieldsstaticModel
autoExposeFieldsstaticModel
childrenFieldstaticModel
defaultsstaticModel
fieldMapstaticModel
fieldsstaticModel
idFieldstaticModel

Grouping

Identification

keyModel

JSON

jsonModel

Lifecycle

configBase

Linked records

hasLinksModelLink
isLinkedModelLink
recordLinksModelLink

Misc

stmModelStm

Other

$namestaticModel
relationsstaticModel

Parent & children

allChildrenTreeNode
childLevelTreeNode
firstChildTreeNode
isLeafTreeNode
isLoadedTreeNode
isParentTreeNode
isRootTreeNode
lastChildTreeNode
nextSiblingTreeNode
parentTreeNode
parentIdTreeNode

Functions

57

Other

Adds a rate or multiple rates to the table

ParameterTypeDescription
rateResourceRateModel | ResourceRateModel[] | ResourceRateModelConfig | ResourceRateModelConfig[]

A rate or an array rates to add

Returns: ResourceRateModel[] -

Added rates

Returns a rate effective at the provided date.

ParameterTypeDescription
dateDate

A date to find the effective rate at

Returns: ResourceRateModel -

The resource rate effective for the provided parameters.

Returns rates effective in the provided date range.

ParameterTypeDescription
startDateDate

A date to start searching rates from

endDateDate

A date to stop searching rates at

Returns: ResourceRateModel -

The resource rates effective for the provided parameters.

Configuration

applyDefaultsstaticBase

Editing

copyModel
getDataModel
removeModel
setModel

Events

Fields

addFieldstaticModel
getModel
processFieldstaticModel
removeFieldstaticModel

Identification

asIdstaticModel
generateIdstaticModel

JSON

toJSONModel

Lifecycle

destroystaticBase

Misc

equalsModel
initClassstaticBase
isOfTypeNamestaticBase
linkModelLink
mixinstaticBase

Parent & children

appendChildTreeNode
bubbleTreeNode
bubbleWhileTreeNode
containsTreeNode
insertChildTreeNode
isExpandedTreeNode
removeChildTreeNode
traverseTreeNode

Typedefs

1

Fields

2
name: String

The rate table name

Rates of the rate table