Package org.somda.sdc.glue.common
Class FallbackInstanceIdentifier
java.lang.Object
org.somda.sdc.glue.common.FallbackInstanceIdentifier
Utility class to create fallback instance identifiers from location detail.
The instance identifier generated with this class meet the specification of IEEE 11073-20701-2018 section 9.4.1.1.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<InstanceIdentifier>create(LocationDetail locationDetail) Creates an instance identifier based on the fallback algorithm defined in IEEE 11073-20701-2018 section 9.4.1.1.
-
Constructor Details
-
FallbackInstanceIdentifier
public FallbackInstanceIdentifier()
-
-
Method Details
-
create
Creates an instance identifier based on the fallback algorithm defined in IEEE 11073-20701-2018 section 9.4.1.1.- Parameters:
locationDetail- the location detail used to derive the instance identifier.- Returns:
- a converted instance identifier or
Optional.empty()if no location information is set.
-