InscoperAPI/Build/Java/com.inscoper.api/com/inscoper/api/SubDeviceGroupConfig.java¶
Packages¶
| Name |
|---|
| com.inscoper.api |
Classes¶
| Name | |
|---|---|
| class | com.inscoper.api.SubDeviceGroupConfig SubDeviceGroupConfig class provides information for sub-device group configuration. |
Source code¶
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (https://www.swig.org).
* Version 4.3.1
*
* Do not make changes to this file unless you know what you are doing - modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.inscoper.api;
import com.inscoper.api.logging.*;
public class SubDeviceGroupConfig {
private transient long swigCPtr;
private transient boolean swigCMemOwn;
protected SubDeviceGroupConfig(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SubDeviceGroupConfig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void swigSetCMemOwn(boolean own) {
swigCMemOwn = own;
}
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
InscoperJNI.delete_SubDeviceGroupConfig(swigCPtr);
}
swigCPtr = 0;
}
}
public SubDeviceGroupConfig() {
this(InscoperJNI.new_SubDeviceGroupConfig(), true);
}
public void fromXML(XMLNode groupNode) throws com.inscoper.api.InscoperException {
InscoperJNI.SubDeviceGroupConfig_fromXML(swigCPtr, this, XMLNode.getCPtr(groupNode), groupNode);
}
public void toXML(XMLNode xmlParent) throws com.inscoper.api.InscoperException {
InscoperJNI.SubDeviceGroupConfig_toXML(swigCPtr, this, XMLNode.getCPtr(xmlParent), xmlParent);
}
public String getName() {
return InscoperJNI.SubDeviceGroupConfig_getName(swigCPtr, this);
}
public void setName(String name) {
InscoperJNI.SubDeviceGroupConfig_setName(swigCPtr, this, name);
}
public int getTag() {
return InscoperJNI.SubDeviceGroupConfig_getTag(swigCPtr, this);
}
public void setTag(int tag) {
InscoperJNI.SubDeviceGroupConfig_setTag(swigCPtr, this, tag);
}
public com.inscoper.nbo.ENBOType getNBOType() {
return com.inscoper.nbo.ENBOType.swigToEnum(InscoperJNI.SubDeviceGroupConfig_getNBOType(swigCPtr, this));
}
public boolean hasNBOType() {
return InscoperJNI.SubDeviceGroupConfig_hasNBOType(swigCPtr, this);
}
public void setNBOType(com.inscoper.nbo.ENBOType nboType) {
InscoperJNI.SubDeviceGroupConfig_setNBOType(swigCPtr, this, nboType.swigValue());
}
public void unsetNBOType() {
InscoperJNI.SubDeviceGroupConfig_unsetNBOType(swigCPtr, this);
}
public SubDeviceConfigVector getSubDeviceConfigList() {
return new SubDeviceConfigVector(InscoperJNI.SubDeviceGroupConfig_getSubDeviceConfigList(swigCPtr, this), false);
}
public void setSubDeviceConfigList(SubDeviceConfigVector subDevices) {
InscoperJNI.SubDeviceGroupConfig_setSubDeviceConfigList(swigCPtr, this, SubDeviceConfigVector.getCPtr(subDevices), subDevices);
}
public void addSubDeviceConfig(SubDeviceConfig subDevice) {
InscoperJNI.SubDeviceGroupConfig_addSubDeviceConfig(swigCPtr, this, SubDeviceConfig.getCPtr(subDevice), subDevice);
}
}
Updated on 2026-09-03 at 12:14:19 +0200