OSGi™ Service Platform
Residential Specification

Release 4 Version 4.3

org.osgi.service.tr069todmt
Interface ParameterValue


public interface ParameterValue

Maps to the TR-069 ParameterValueStruct


Method Summary
 java.lang.String getPath()
          This is the path of a Parameter.
 int getType()
          The type of the parameter.
 java.lang.String getValue()
          This is the value of the parameter.
 

Method Detail

getPath

java.lang.String getPath()
This is the path of a Parameter. In TR-069 this is called the Parameter Name.

Returns:
The path of the parameter

getValue

java.lang.String getValue()
This is the value of the parameter. The returned value must be in a representation defined by the TR-069 protocol.

Returns:
The value of the parameter

getType

int getType()
The type of the parameter. One of TR069Connector.TR069_INT, TR069Connector.TR069_UNSIGNED_INT, TR069Connector.TR069_LONG, TR069Connector.TR069_UNSIGNED_LONG, TR069Connector.TR069_STRING, TR069Connector.TR069_DATETIME, TR069Connector.TR069_BASE64, TR069Connector.TR069_HEXBINARY. This method is not part of the ParameterValueStruct but is necessary to encode the type in the XML.

Returns:
The parameter type

OSGi™ Service Platform
Residential Specification

Release 4 Version 4.3

Copyright © OSGi Alliance (2000, 2012). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0