VariableBinding

public class VariableBinding

Constructors

VariableBinding

protected VariableBinding(APIClient client)

Internal constructor

Methods

fromProtobuf

public static VariableBinding fromProtobuf(APIClient client, Out.CocoVariableBinding inputValue)

Internal constructor

getIsSelf

public final boolean getIsSelf()

Is this the state machine self variable?

getName

public final String getName()

Returns the name of the variable, if variable() is invalid. This is guaranteed to be set to something if variable() is not valid.

getSelfType

public final io.cocotec.coco.platform.coco.Node getSelfType()

The type of the state machine this is bound to, if applicable

getValue

public final io.cocotec.coco.platform.coco.Value getValue()

getVariable

public final io.cocotec.coco.platform.coco.Node getVariable()

Returns the variable that is bound. This is guaranteed to be set to something if name() is empty.