|
SAP NetWeaver 7.11 (EhP1 SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.caf.eu.gp.process.api.GPDurationType
public class GPDurationType
| Field Summary | |
|---|---|
static GPDurationType |
DURATION_TYPE_DAY
Duration type The main unit of the duration is "day" |
static GPDurationType |
DURATION_TYPE_HOUR
Duration type The main unit of the duration is "hour" |
static GPDurationType |
DURATION_TYPE_INVALID_DURATION
Duration type Invalid duration type |
static GPDurationType |
DURATION_TYPE_MINUTE
Duration type The main unit of the duration is "minute" |
static GPDurationType |
DURATION_TYPE_MONTH
Duration type The main unit of the duration is "month" |
static GPDurationType |
DURATION_TYPE_WEEK
Duration type The main unit of the duration is "week" |
static GPDurationType |
DURATION_TYPE_YEAR
Duration type The main unit of the duration is "year" |
| Method Summary | |
|---|---|
int |
getCode()
|
static GPDurationType |
getTypeForCode(int code)
Get the GPDurationType instance corresponding to a given code. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final GPDurationType DURATION_TYPE_INVALID_DURATION
public static final GPDurationType DURATION_TYPE_DAY
public static final GPDurationType DURATION_TYPE_HOUR
public static final GPDurationType DURATION_TYPE_MINUTE
public static final GPDurationType DURATION_TYPE_MONTH
public static final GPDurationType DURATION_TYPE_WEEK
public static final GPDurationType DURATION_TYPE_YEAR
| Method Detail |
|---|
public int getCode()
public static GPDurationType getTypeForCode(int code)
throws IllegalArgumentException
code - the duration type code
IllegalArgumentException - if no GPDurationType is defined for the given code.
|
SAP NetWeaver 7.11 (EhP1 SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||