Package org.openmuc.jdlms
Class SetParameter
- java.lang.Object
-
- org.openmuc.jdlms.SetParameter
-
public class SetParameter extends java.lang.Object
Collection of data needed for a single remote SET call
-
-
Constructor Summary
Constructors Constructor Description SetParameter(AttributeAddress attributeAddress, DataObject data)
Creates a set parameter for that particular attribute with a copy of the given data container
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getAddress()
Get the address of the element to be modified.AttributeAddress
getAttributeAddress()
Get the address of the attribute.DataObject
getData()
The new data to set.java.lang.String
toString()
-
-
-
Constructor Detail
-
SetParameter
public SetParameter(AttributeAddress attributeAddress, DataObject data)
Creates a set parameter for that particular attribute with a copy of the given data container- Parameters:
attributeAddress
- the address attributedata
- Container of this parameter
-
-
Method Detail
-
getAttributeAddress
public AttributeAddress getAttributeAddress()
Get the address of the attribute.- Returns:
- the address.
-
getData
public DataObject getData()
The new data to set.- Returns:
- the data.
-
getAddress
public T getAddress()
Get the address of the element to be modified.- Returns:
- the address.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-