|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.edustructures.sifworks.SIFSimpleType<java.lang.String>
com.edustructures.sifworks.SIFString
com.edustructures.sifworks.SIFEnum
com.edustructures.sifworks.common.DurationUnits
public class DurationUnits
Defines the set of values that can be specified whenever a DurationUnits
is used as a parameter to a method or constructor. Alternatively, the static
wrap method can be called to encapsulate any string value in
a DurationUnits object.
| Field Summary | |
|---|---|
static DurationUnits |
DAY
day ("day") |
static DurationUnits |
HOUR
hour ("hour") |
static DurationUnits |
MINUTE
minute ("minute") |
static DurationUnits |
SECOND
second ("second") |
static DurationUnits |
WEEK
week ("week") |
| Method Summary | |
|---|---|
static DurationUnits |
wrap(java.lang.String value)
Wrap an arbitrary string value in a DurationUnits object. |
| Methods inherited from class com.edustructures.sifworks.SIFString |
|---|
getTypeConverter, isDoNotEncode |
| Methods inherited from class com.edustructures.sifworks.SIFSimpleType |
|---|
createField, equals, getDataType, getSQLType, getValue, hashCode, toString, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final DurationUnits SECOND
public static final DurationUnits HOUR
public static final DurationUnits MINUTE
public static final DurationUnits WEEK
public static final DurationUnits DAY
| Method Detail |
|---|
public static DurationUnits wrap(java.lang.String value)
value - The element/attribute value. This method does not verify
that the value is valid according to the SIF Specification.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||