Package org.openmuc.jdlms
Class AttributeAddress
- java.lang.Object
-
- org.openmuc.jdlms.CosemResourceDescriptor
-
- org.openmuc.jdlms.AttributeAddress
-
public class AttributeAddress extends CosemResourceDescriptor
Set of data needed to address an attribute.
-
-
Constructor Summary
Constructors Constructor Description AttributeAddress(int classId, java.lang.String instanceId, int attributeId)
Creates a new attribute address.AttributeAddress(int classId, java.lang.String instanceId, int attributeId, SelectiveAccessDescription access)
Creates a new attribute address.AttributeAddress(int classId, ObisCode instanceId, int attributeId)
Creates a new attribute address.AttributeAddress(int classId, ObisCode instanceId, int attributeId, SelectiveAccessDescription access)
Creates a new attribute address.AttributeAddress(AttributeClass attributeClass, java.lang.String instanceId)
Deprecated.since 1.5.1.AttributeAddress(AttributeClass attributeClass, java.lang.String instanceId, SelectiveAccessDescription access)
Deprecated.since 1.5.1.AttributeAddress(AttributeClass attributeClass, ObisCode instanceId)
Deprecated.since 1.5.1.AttributeAddress(AttributeClass attributeClass, ObisCode instanceId, SelectiveAccessDescription access)
Deprecated.since 1.5.1.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectiveAccessDescription
getAccessSelection()
java.lang.String
toString()
-
Methods inherited from class org.openmuc.jdlms.CosemResourceDescriptor
getClassId, getId, getInstanceId
-
-
-
-
Constructor Detail
-
AttributeAddress
public AttributeAddress(int classId, ObisCode instanceId, int attributeId, SelectiveAccessDescription access)
Creates a new attribute address.- Parameters:
classId
- Class of the object to readinstanceId
- Identifier of the remote object to readattributeId
- Attribute of the object that is to readaccess
- The filter to apply
-
AttributeAddress
public AttributeAddress(int classId, java.lang.String instanceId, int attributeId)
Creates a new attribute address.- Parameters:
classId
- Class of the object to readinstanceId
- Identifier of the remote object to readattributeId
- Attribute of the object that is to read
-
AttributeAddress
public AttributeAddress(int classId, ObisCode instanceId, int attributeId)
Creates a new attribute address.- Parameters:
classId
- Class of the object to readinstanceId
- Identifier of the remote object to readattributeId
- Attribute of the object that is to read
-
AttributeAddress
public AttributeAddress(int classId, java.lang.String instanceId, int attributeId, SelectiveAccessDescription access)
Creates a new attribute address.- Parameters:
classId
- Class of the object to readinstanceId
- Identifier of the remote object to readattributeId
- Attribute of the object that is to readaccess
- The filter to apply.
-
AttributeAddress
@Deprecated public AttributeAddress(AttributeClass attributeClass, ObisCode instanceId, SelectiveAccessDescription access)
Deprecated.since 1.5.1. Use the none enum initializer ofAttributeAddress
.Creates a new attribute address.- Parameters:
attributeClass
- the AttributeClass constant.instanceId
- Identifier of the remote object to readaccess
- The filter to apply.
-
AttributeAddress
@Deprecated public AttributeAddress(AttributeClass attributeClass, ObisCode instanceId)
Deprecated.since 1.5.1. Use the none enum initializer ofAttributeAddress
.Creates a new attribute address.- Parameters:
attributeClass
- the AttributeClass constant.instanceId
- Identifier of the remote object to read
-
AttributeAddress
@Deprecated public AttributeAddress(AttributeClass attributeClass, java.lang.String instanceId)
Deprecated.since 1.5.1. Use the none enum initializer ofAttributeAddress
.Creates a new attribute address.- Parameters:
attributeClass
- the AttributeClass constant.instanceId
- Identifier of the remote object to read
-
AttributeAddress
@Deprecated public AttributeAddress(AttributeClass attributeClass, java.lang.String instanceId, SelectiveAccessDescription access)
Deprecated.since 1.5.1. Use the none enum initializer ofAttributeAddress
.Creates a new attribute address.- Parameters:
attributeClass
- the AttributeClass constant.instanceId
- Identifier of the remote object to readaccess
- The filter to apply.
-
-
Method Detail
-
getAccessSelection
public SelectiveAccessDescription getAccessSelection()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classCosemResourceDescriptor
-
-