com.edustructures.sifworks.instr
Class TimeUnits

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.instr.TimeUnits
All Implemented Interfaces:
java.io.Serializable

public class TimeUnits
extends SIFEnum

Defines the set of values that can be specified whenever a TimeUnits 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 TimeUnits object.

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

Field Summary
static TimeUnits DAY
          Day ("Day")
static TimeUnits HOUR
          Hour ("Hour")
static TimeUnits MINUTE
          Minute ("Minute")
static TimeUnits SECOND
          Second ("Second")
static TimeUnits WEEK
          Week ("Week")
 
Method Summary
static TimeUnits wrap(java.lang.String value)
          Wrap an arbitrary string value in a TimeUnits 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 TimeUnits SECOND
Second ("Second")


HOUR

public static final TimeUnits HOUR
Hour ("Hour")


MINUTE

public static final TimeUnits MINUTE
Minute ("Minute")


WEEK

public static final TimeUnits WEEK
Week ("Week")


DAY

public static final TimeUnits DAY
Day ("Day")

Method Detail

wrap

public static TimeUnits wrap(java.lang.String value)
Wrap an arbitrary string value in a TimeUnits 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.