Package org.osgi.service.tr069todmt
Interface ParameterInfo
-
public interface ParameterInfoMaps to the TR-069ParameterInfoStructthat is returned from theTR069Connector.getParameterNames(String, boolean)method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParameterValuegetParameterValue()Provide the value of the node.java.lang.StringgetPath()The path of the parameter, either a parameter path, an instance path, a table path, or an object path.booleanisParameter()Returnstrueof this is a parameter, if it returnsfalseit is an object or table.booleanisWriteable()Returntrueif this parameter is writeable, otherwisefalse.
-
-
-
Method Detail
-
getPath
java.lang.String getPath()
The path of the parameter, either a parameter path, an instance path, a table path, or an object path.- Returns:
- The name of the parameter
-
isWriteable
boolean isWriteable()
Returntrueif this parameter is writeable, otherwisefalse. A parameter is writeable if the SetParamaterValue with the given name would be successful if an appropriate value was given. If this is a table path, the method specifies whether or not AddObject would be successful. If the parameter path points to a table instance, the method specifies whether or not DeleteObject would be successful.- Returns:
- If this parameter is writeable
-
isParameter
boolean isParameter()
Returnstrueof this is a parameter, if it returnsfalseit is an object or table.- Returns:
truefor a parameter,falseotherwise
-
getParameterValue
ParameterValue getParameterValue() throws TR069Exception
Provide the value of the node. This method throws an exception if it is called for anything but a parameter- Returns:
- The Parameter Value of the corresponding object
- Throws:
TR069Exception- If there is a problem
-
-