Class: ChangeInfo

ChangeInfo


new ChangeInfo( [json])

Information about a change.
Parameters:
Name Type Argument Description
json Object <optional>

Extends

Methods


getObjectModifier()

Get the objectModifier
Returns:
objectModifier
Type
String

getObjectType()

Get the objectType
Returns:
objectType
Type
String

getOperation()

Get the operation
Returns:
operation
Type
String

getOriginal()

Get the original
Returns:
original
Type
ResourceReference

getParent()

Get the parent
Returns:
parent
Type
ResourceReference

getReason()

Get the reason
Returns:
reason
Type
String

getRemoved()

Get the removed
Returns:
removed
Type
ResourceReference

getResulting()

Get the resulting
Returns:
resulting
Type
ResourceReference

init(json)

Initialize from JSON
Parameters:
Name Type Description
json Object
Overrides:
Returns:
ChangeInfo this

<static> isInstance(obj)

Check whether the given object is an instance of this class.
Parameters:
Name Type Description
obj Object
Returns:
Type
Boolean

setObjectModifier(objectModifier)

Set the objectModifier
Parameters:
Name Type Description
objectModifier String
Returns:
this
Type
ChangeInfo

setObjectType(objectType)

Set the objectType
Parameters:
Name Type Description
objectType String
Returns:
this
Type
ChangeInfo

setOperation(operation)

Set the operation
Parameters:
Name Type Description
operation String
Returns:
this
Type
ChangeInfo

setOriginal(original)

Set the original
Parameters:
Name Type Description
original ResourceReference
Returns:
this
Type
ChangeInfo

setParent(parent)

Set the parent
Parameters:
Name Type Description
parent ResourceReference
Returns:
this
Type
ChangeInfo

setReason(reason)

Set the reason
Parameters:
Name Type Description
reason String
Returns:
this
Type
ChangeInfo

setRemoved(removed)

Set the removed
Parameters:
Name Type Description
removed ResourceReference
Returns:
this
Type
ChangeInfo

setResulting(resulting)

Set the resulting
Parameters:
Name Type Description
resulting ResourceReference
Returns:
this
Type
ChangeInfo

toJSON()

Export the object as JSON
Overrides:
Returns:
JSON object
Type
Object