com.edustructures.sifworks.common
Class DurationUnits

java.lang.Object
  extended by com.edustructures.sifworks.SIFSimpleType<java.lang.String>
      extended by com.edustructures.sifworks.SIFString
          extended by com.edustructures.sifworks.SIFEnum
              extended by com.edustructures.sifworks.common.DurationUnits
All Implemented Interfaces:
java.io.Serializable

public class DurationUnits
extends SIFEnum

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.

Since:
1.5r1
Version:
2.0
See Also:
Serialized Form

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

SECOND

public static final DurationUnits SECOND
second ("second")


HOUR

public static final DurationUnits HOUR
hour ("hour")


MINUTE

public static final DurationUnits MINUTE
minute ("minute")


WEEK

public static final DurationUnits WEEK
week ("week")


DAY

public static final DurationUnits DAY
day ("day")

Method Detail

wrap

public static DurationUnits wrap(java.lang.String value)
Wrap an arbitrary string value in a DurationUnits object.

Parameters:
value - The element/attribute value. This method does not verify that the value is valid according to the SIF Specification.


Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.