Home Reference Source
public class | source

ChangeInfo

Extends:

TypedObject → ChangeInfo

A Class that holds row and column information

Constructor Summary

Public Constructor
public

constructor(changedItem: *, changeLevelNestDepth: *, changedProperty: *, previousValue: *, newValue: *, changeType: *)

Member Summary

Public Members
public

The level nest depth at which the change happened.

public

One of the three change types : CHANGE_TYPE_INSERT, CHANGE_TYPE_UPDATE or CHANGE_TYPE_DELETE

public

The item that was changed

public

The property on the item that was changed

public

The value after the change

public

The value before the change

Method Summary

Public Methods
public
public

Creates a human readable string out of the given ChangeInfo object.

Inherited Summary

From class TypedObject
public

typeCache: {}

public
public

Returns a list of strings that represent the object hierarchy for this object.

public

Returns true if the class name to check is in the list of class names defined for this class.

Public Constructors

public constructor(changedItem: *, changeLevelNestDepth: *, changedProperty: *, previousValue: *, newValue: *, changeType: *) source

Override:

TypedObject#constructor

Params:

NameTypeAttributeDescription
changedItem *
changeLevelNestDepth *
changedProperty *
previousValue *
newValue *
changeType *

Public Members

public changeLevelNestDepth: int source

The level nest depth at which the change happened.

Properties:

NameTypeAttributeDescription
changeLevelNestDepth *

public changeType: String source

One of the three change types : CHANGE_TYPE_INSERT, CHANGE_TYPE_UPDATE or CHANGE_TYPE_DELETE

Properties:

NameTypeAttributeDescription
changeType *

public changedItem: Object source

The item that was changed

Properties:

NameTypeAttributeDescription
changedItem *

public changedProperty: String source

The property on the item that was changed

Properties:

NameTypeAttributeDescription
changedProperty *

public newValue: * source

The value after the change

Properties:

NameTypeAttributeDescription
newValue *

public previousValue: * source

The value before the change

Properties:

NameTypeAttributeDescription
previousValue *

Public Methods

public getClassNames(): Array source

Returns a list of strings that represent the object hierarchy for this object.

Override:

TypedObject#getClassNames

Return:

Array

public toString(): String source

Creates a human readable string out of the given ChangeInfo object.

Return:

String