Class: AbstractOperation

olympe.dc.transaction.operations. AbstractOperation

Base class for all operations


<abstract> new AbstractOperation()

Implements:

Methods


build(patchGenerator)

Applies the operation on the specified patch generator

Parameters:
Name Type Description
patchGenerator olympe.dc.transaction.PatchGenerator
Implements:

<protected> getCurrentTag(value)

Gets a tag from the specified InstanceTag or Sync constructor

Parameters:
Name Type Description
value olympe.dc.InstanceTag
Returns:
Type
string

<protected> getCurrentValue(value)

Gets the current value of a Proxy. If this value is an ONumber, OString, ..., returns the corresponding primitive type. If this value is undefined, convert it to null.

Parameters:
Name Type Description
value olympe.df.Proxy | olympe.df.Node | *
Returns:
Type
*

getCurrentValues(values)

Applies getCurrentValue() to all properties of the specified object and returns a new one containing the results

Parameters:
Name Type Description
values Map.<string, *>
Returns:
Type
Map.<string, *>

toString()

Gets a string representation of the operation

Implements:
Returns:
Type
string