Class KeyValue
- java.lang.Object
-
- org.openmuc.jeebus.spine.utils.features.deviceconfiguration.KeyValue
-
public abstract class KeyValue extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description KeyValue(DeviceConfigurationFeature feature, java.lang.Long keyId, org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDataType data, org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDescriptionDataType description, org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueConstraintsDataType constraints)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voiddeleteConstraints()protected voiddeleteData()protected voiddeleteDescription()org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueConstraintsDataTypegetConstraintsCopy()java.lang.IntegergetConstraintsIdx()org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDataTypegetDataCopy()java.lang.IntegergetDataIdx()org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDescriptionDataTypegetDescriptionCopy()java.lang.IntegergetDescriptionIdx()DeviceConfigurationFeaturegetFeature()java.lang.LonggetKeyId()protected voidupdateConstraints(org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueConstraintsDataType constraints)protected voidupdateData(org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDataType data)protected voidupdateDescription(org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDescriptionDataType description)protected abstract voidwriteConstraintsData(org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueConstraintsDataType data, DataUpdateType dataUpdateType)protected abstract voidwriteData(org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDataType data, DataUpdateType dataUpdateType)protected abstract voidwriteDescriptionData(org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDescriptionDataType data, DataUpdateType dataUpdateType)
-
-
-
Constructor Detail
-
KeyValue
public KeyValue(DeviceConfigurationFeature feature, java.lang.Long keyId, org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDataType data, org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDescriptionDataType description, org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueConstraintsDataType constraints) throws DataValidationException
- Throws:
DataValidationException
-
-
Method Detail
-
getKeyId
public java.lang.Long getKeyId()
-
getDataIdx
public java.lang.Integer getDataIdx()
-
getDescriptionIdx
public java.lang.Integer getDescriptionIdx()
-
getConstraintsIdx
public java.lang.Integer getConstraintsIdx()
-
getFeature
public DeviceConfigurationFeature getFeature()
-
getDataCopy
public org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDataType getDataCopy()
-
getDescriptionCopy
public org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDescriptionDataType getDescriptionCopy()
-
getConstraintsCopy
public org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueConstraintsDataType getConstraintsCopy()
-
updateData
protected void updateData(org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDataType data) throws DataValidationException- Throws:
DataValidationException
-
updateDescription
protected void updateDescription(org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDescriptionDataType description) throws DataValidationException- Throws:
DataValidationException
-
updateConstraints
protected void updateConstraints(org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueConstraintsDataType constraints) throws DataValidationException- Throws:
DataValidationException
-
deleteData
protected void deleteData() throws DataValidationException- Throws:
DataValidationException
-
deleteDescription
protected void deleteDescription() throws DataValidationException- Throws:
DataValidationException
-
deleteConstraints
protected void deleteConstraints() throws DataValidationException- Throws:
DataValidationException
-
writeData
protected abstract void writeData(org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDataType data, DataUpdateType dataUpdateType)
-
writeDescriptionData
protected abstract void writeDescriptionData(org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueDescriptionDataType data, DataUpdateType dataUpdateType)
-
writeConstraintsData
protected abstract void writeConstraintsData(org.openmuc.jeebus.spine.xsd.v1.DeviceConfigurationKeyValueConstraintsDataType data, DataUpdateType dataUpdateType)
-
-