Class MAPDeviceProfileModelImpl

    • Constructor Detail

      • MAPDeviceProfileModelImpl

        public MAPDeviceProfileModelImpl​(jakarta.servlet.http.HttpServletRequest req,
                                         Map map)
    • Method Detail

      • getAttributeClassification

        public String[] getAttributeClassification​(String clientType)
        Returns an array of classifications for device attributes.
        Specified by:
        getAttributeClassification in interface MAPDeviceProfileModel
        Parameters:
        clientType - Client Type
        Returns:
        an array of classifications for device attributes.
      • getLocalizedClassificationLabels

        public Map getLocalizedClassificationLabels​(String[] classifications)
        Returns localized labels for device attribute classification.
        Specified by:
        getLocalizedClassificationLabels in interface MAPDeviceProfileModel
        Parameters:
        classifications - Array of classifications for device attributes.
        Returns:
        localized labels for device attribute classification.
      • getReadOnlyAttributeNames

        public Set getReadOnlyAttributeNames​(String clientType,
                                             Set attributeNames)
        Returns readonly attribute names.
        Specified by:
        getReadOnlyAttributeNames in interface MAPDeviceProfileModel
        Parameters:
        clientType - Client Type.
        attributeNames - Attribute Names
        Returns:
        readonly attribute names.
      • getAttributeValues

        public Map getAttributeValues​(String clientType,
                                      String classification)
        Returns attribute values of a device.
        Specified by:
        getAttributeValues in interface MAPDeviceProfileModel
        Parameters:
        clientType - Client Type.
        classification - Profile attribute classification.
        Returns:
        attribute values of a device.