Skip to content

com.inscoper.api.ValueCondition

ValueCondition class defines a condition based on a sub-device value. More...

Public Functions

Name
synchronized void delete()
ValueCondition(SubDeviceId subDeviceId, String condition)
Constructor with sub-device ID and condition.
ValueCondition()
Default constructor.
SubDeviceId getSubDeviceId()
Get the sub-device ID.
void setSubDeviceId(SubDeviceId subDeviceId)
Set the sub-device ID.
String getCondition()
Get the condition.
void setCondition(String condition)
Set the condition.

Protected Functions

Name
ValueCondition(long cPtr, boolean cMemoryOwn)
void swigSetCMemOwn(boolean own)
void finalize()
long getCPtr(ValueCondition obj)

Detailed Description

public class com.inscoper.api.ValueCondition;

ValueCondition class defines a condition based on a sub-device value.

Represents a condition where a sub-device must meet a certain value criterion for a recipe element to be executed.

Public Functions Documentation

function delete

public synchronized void delete()

function ValueCondition

public ValueCondition(
    SubDeviceId subDeviceId,
    String condition
)

Constructor with sub-device ID and condition.

Parameters:

  • subDeviceId : The associated sub-device ID of the value Condition
  • condition : The value condition

Initializes a new instance of the ValueCondition class with a sub-device ID and a condition string.

function ValueCondition

public ValueCondition()

Default constructor.

Initializes a new instance of the ValueCondition class.

function getSubDeviceId

public SubDeviceId getSubDeviceId()

Get the sub-device ID.

Return: The sub-device ID

Retrieves the ID of the sub-device associated with this condition.

function setSubDeviceId

public void setSubDeviceId(
    SubDeviceId subDeviceId
)

Set the sub-device ID.

Parameters:

  • subDeviceId : The sub-device ID

Sets the ID of the sub-device associated with this condition.

function getCondition

public String getCondition()

Get the condition.

Return: The condition

Retrieves the condition associated with this value condition.

function setCondition

public void setCondition(
    String condition
)

Set the condition.

Parameters:

  • condition : The condition

Sets the condition associated with this value condition.

Protected Functions Documentation

function ValueCondition

protected ValueCondition(
    long cPtr,
    boolean cMemoryOwn
)

function swigSetCMemOwn

protected void swigSetCMemOwn(
    boolean own
)

function finalize

protected void finalize()

function getCPtr

protected static long getCPtr(
    ValueCondition obj
)

Updated on 2026-04-02 at 10:55:38 +0200