|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.common.data.PersonTime
public class PersonTime
Represents the estimates for the creation and usage of an asset. This class has two parts: amount and units. To specify the unit, use one of these constants: UNIT_PERSON_HOURS, UNIT_PERSON_DAYS, UNIT_PERSON_MONTHS, or UNIT_PERSON_YEARS.
| Field Summary | |
|---|---|
static java.lang.String |
UNIT_PERSON_DAYS
Measure of person time in hours |
static java.lang.String |
UNIT_PERSON_HOURS
Measure of person time in hours |
static java.lang.String |
UNIT_PERSON_MONTHS
Measure of person time in hours |
static java.lang.String |
UNIT_PERSON_YEARS
Measure of person time in hours |
| Constructor Summary | |
|---|---|
PersonTime()
|
|
| Method Summary | |
|---|---|
double |
getAmount()
The amount of the given unit of measurement |
java.lang.String |
getUnit()
The Unit of measurement UNIT_PERSON_HOURS UNIT_PERSON_DAYS UNIT_PERSON_MONTHS UNIT_PERSON_YEARS |
void |
setAmount(double amount)
|
void |
setUnit(java.lang.String unit)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String UNIT_PERSON_HOURS
public static final java.lang.String UNIT_PERSON_DAYS
public static final java.lang.String UNIT_PERSON_MONTHS
public static final java.lang.String UNIT_PERSON_YEARS
| Constructor Detail |
|---|
public PersonTime()
| Method Detail |
|---|
public double getAmount()
public java.lang.String getUnit()
public void setAmount(double amount)
amount - public void setUnit(java.lang.String unit)
unit -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||