Constructors
constructor
- new DataContainer(UniqueKeyAttribute?): DataContainer
Parameters
Optional
UniqueKeyAttribute: string
Accessors
type
- get type(): string
Internal
Returns string
Methods
clearMarkedForDeletion
- clearMarkedForDeletion(): void
Returns void
getChanges
- getChanges(): any
Returns any
getDataSet
- getDataSet(): Entity[]
getMarkedForDeletion
- getMarkedForDeletion(): Entity[]
lenght
- lenght(): number
Returns number
array of entities
markForDeletion
- markForDeletion(data, all?): void
Returns void
overrideEntityHandler
- overrideEntityHandler(entityHandler): void
Returns void
removeData
- removeData(data, all?): Entity[]
returns removed
replace
- replace(data, index, remove): void
Parameters
- data: any[]
- index: number
- remove: number
Returns void
resetData
- resetData(): void
Returns void
resetDataSelection
- resetDataSelection(data): void
Returns void
setData
- setData(data, add?, tagAsNew?): void | Entity[]
Parameters
- data: any[]
- add: boolean = false
- tagAsNew: boolean = false
Returns void | Entity[]
setErrors
- setErrors(errors): void
Parameters
- errors: Map<string, string>
Returns void
Datacontainer, this can be used as input for multible datasources