com.gotdns.jimula.EatHealthy
Class Activity

java.lang.Object
  |
  +--com.gotdns.jimula.EatHealthy.Activity

public class Activity
extends java.lang.Object

Activity is an object which calculate activity by giving it activity level, IBW(Ideal Body Weight), and sleeping hours.

EatHealthy

A simple personal nutrient need and food serving calculator

Copyright (c) 2003


Constructor Summary
Activity(float level, float IBW, int sleepingTime)
          Constructs a new activity.
 
Method Summary
 float getActivity()
          Get the calculated activity of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activity

public Activity(float level,
                float IBW,
                int sleepingTime)
Constructs a new activity.

Parameters:
level - this activity level is given by user.
IBW - Ideal Body Weight
Method Detail

getActivity

public float getActivity()
Get the calculated activity of this object.

Returns:
a float with activity