Class: DeleteRelation

olympe.dc.transaction.operations. DeleteRelation

Operation that delete relation(s) between two instances


new DeleteRelation(type, leftTag, rightTag [, deleteSync] [, forceDelete])

Creates a DeleteRelation operation instance.

Parameters:
Name Type Argument Default Description
type olympe.dc.InstanceTag
leftTag olympe.dc.InstanceTag
rightTag olympe.dc.InstanceTag
deleteSync boolean <optional>
false
forceDelete boolean <optional>
false

Extends

Members


<protected, non-null> type :olympe.dc.registry.Relation

Type:
Inherited From:
Overrides:

Methods


<protected> getCurrentTag(value)

Gets a tag from the specified InstanceTag or Sync constructor

Parameters:
Name Type Description
value olympe.dc.InstanceTag
Inherited From:
Overrides:
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 | *
Inherited From:
Overrides:
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, *>
Inherited From:
Overrides:
Returns:
Type
Map.<string, *>

getDirection()

Gets the relation direction

Inherited From:
Overrides:
Returns:
Type
olympe.dc.Direction

getLeftTag()

Gets the left tag

Inherited From:
Overrides:
Returns:
Type
string

getRightTag()

Gets the right tag

Inherited From:
Overrides:
Returns:
Type
string

getType()

Gets the relation type

Inherited From:
Overrides:
Returns:
Type
string