|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.biocomfort.TO.user_parameters.ScaleUserParametersTO
public class ScaleUserParametersTO
In order to determine the body fat value, the body water value and the
muscle mass value, body diagnostic scales need some additional
information about its users. The class ScaleUserParametersTO
represents these user parameters data for the body diagnostic scales.
Additionally it contains information to configure displayed information
of the scales.
SDK.setUserParameters(com.biocomfort.TO.MedicalDeviceTO, TO)
,
SDK.setUserParametersAndWait(com.biocomfort.TO.MedicalDeviceTO, TO)
,
SDK.getUserParameters(com.biocomfort.TO.MedicalDeviceTO, TO)
,
SDK.getUserParametersAndWait(com.biocomfort.TO.MedicalDeviceTO, TO)
,
ScaleUserTO
,
ScaleConfigurationTO
Constructor Summary | |
---|---|
ScaleUserParametersTO()
Constructs a ScaleUserParametersTO object with
initializing it so that the user index is set to 1, the scale user
parameters reference is set to null, and the scale
configuration parameters reference is set to null. |
|
ScaleUserParametersTO(int userIndex)
Constructs a ScaleUserParametersTO object with specifying
the user index by the given parameter userIndex . |
|
ScaleUserParametersTO(int userIndex,
ScaleUserTO userParameter)
Constructs a ScaleUserParametersTO object with specifying
the user index by the given parameter userIndex , and the
scale user parameters object by the given parameter
scaleUser . |
|
ScaleUserParametersTO(int userIndex,
ScaleUserTO scaleUser,
ScaleConfigurationTO scaleConfiguration)
Constructs a ScaleUserParametersTO object with specifying
the user index by the given parameter userIndex , the
scale user parameters object by the given parameter
scaleUser , and the scale configuration parameters object
by the given parameter scaleConfiguration . |
Method Summary | |
---|---|
ScaleConfigurationTO |
getScaleConfiguration()
Returns a scale configuration object that represents the scale configuration parameters of this ScaleUserParametersTO object. |
ScaleUserTO |
getScaleUser()
Returns a scale user object that represents the scale user parameters of this ScaleUserParametersTO object. |
int |
getUserIndex()
Returns the user index of this ScaleUserParameters object. |
void |
setScaleConfiguration(ScaleConfigurationTO scaleConfiguration)
Sets the scale configuration object that represents the scale configuration parameters of this ScaleUserParametersTO object. |
void |
setScaleUser(ScaleUserTO scaleUser)
Sets the scale user object that represents the scale user parameters of this ScaleUserParametersTO object. |
void |
setUserIndex(int userIndex)
Sets the user index of this ScaleUserParameters object. |
java.lang.String |
toString()
Converts this ScaleUserParametersTO object to a
String of the form:
ScaleUserParametersTO (userIndex:ui[,g,age:a,height:h,activity:al][,displayMode:dm,units:u]). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScaleUserParametersTO(int userIndex, ScaleUserTO scaleUser, ScaleConfigurationTO scaleConfiguration)
ScaleUserParametersTO
object with specifying
the user index by the given parameter userIndex
, the
scale user parameters object by the given parameter
scaleUser
, and the scale configuration parameters object
by the given parameter scaleConfiguration
.
userIndex
- the user indexscaleUser
- the scale user parametersscaleConfiguration
- the scale configuration parameterspublic ScaleUserParametersTO(int userIndex, ScaleUserTO userParameter)
ScaleUserParametersTO
object with specifying
the user index by the given parameter userIndex
, and the
scale user parameters object by the given parameter
scaleUser
. The scale configuration parameters reference
will be initialized with null
.
userIndex
- the user indexuserParameter
- the scale user parameterspublic ScaleUserParametersTO(int userIndex)
ScaleUserParametersTO
object with specifying
the user index by the given parameter userIndex
. The
scale user parameters reference and the scale configuration parameters
reference will be initialized with null.
userIndex
- the user indexpublic ScaleUserParametersTO()
ScaleUserParametersTO
object with
initializing it so that the user index is set to 1, the scale user
parameters reference is set to null, and the scale
configuration parameters reference is set to null.
Method Detail |
---|
public int getUserIndex()
public void setUserIndex(int userIndex)
userIndex
- the new user indexpublic ScaleUserTO getScaleUser()
public void setScaleUser(ScaleUserTO scaleUser)
scaleUser
- the new scale user parameterspublic ScaleConfigurationTO getScaleConfiguration()
public void setScaleConfiguration(ScaleConfigurationTO scaleConfiguration)
scaleConfiguration
- the new scale configuration parameterspublic java.lang.String toString()
ScaleUserParametersTO
object to a
String
of the form:
where:ScaleUserParametersTO (userIndex:ui[,g,age:a,height:h,activity:al][,displayMode:dm,units:u]).
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |