Class FallbackInstanceIdentifier

  • All Implemented Interfaces:

    
    public class 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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FallbackInstanceIdentifier

        FallbackInstanceIdentifier()
    • Method Detail

      • create

         static 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.

        Parameters:
        locationDetail - the location detail used to derive the instance identifier.
        Returns:

        a converted instance identifier or empty if no location information is set.