org.progeeks.meta.type
Class MonthType

java.lang.Object
  extended by org.progeeks.meta.ClassPropertyType
      extended by org.progeeks.meta.ClassEnumeratedPropertyType
          extended by org.progeeks.meta.type.MonthType
All Implemented Interfaces:
java.io.Serializable, EnumeratedPropertyType, PropertyType

public class MonthType
extends ClassEnumeratedPropertyType

PropertyType representing a month type. This extends a standard int to provide better typing while also presenting a list of available values. A separate MonthFormat can be used to render the values appropriately. This is more an example of an EnumeratedPropertyType than anything else.

Version:
$Revision: 1.3 $
Author:
Paul Speed
See Also:
Serialized Form

Field Summary
static int APRIL
           
static int AUGUST
           
static int DECEMBER
           
static int FEBRUARY
           
static int JANUARY
           
static int JULY
           
static int JUNE
           
static int MARCH
           
static int MAY
           
static int NOVEMBER
           
static int OCTOBER
           
static int SEPTEMBER
           
 
Constructor Summary
MonthType()
           
 
Method Summary
 
Methods inherited from class org.progeeks.meta.ClassEnumeratedPropertyType
getEnumeratedValues, isEnumeratedValue, isInstance, wrapRawSuperType
 
Methods inherited from class org.progeeks.meta.ClassPropertyType
convertPrimitive, createRawSuperTypeIterator, equals, getBaseClass, getSuperTypes, hashCode, isAssignableFrom, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.progeeks.meta.PropertyType
getBaseClass, getSuperTypes, isAssignableFrom
 

Field Detail

JANUARY

public static final int JANUARY
See Also:
Constant Field Values

FEBRUARY

public static final int FEBRUARY
See Also:
Constant Field Values

MARCH

public static final int MARCH
See Also:
Constant Field Values

APRIL

public static final int APRIL
See Also:
Constant Field Values

MAY

public static final int MAY
See Also:
Constant Field Values

JUNE

public static final int JUNE
See Also:
Constant Field Values

JULY

public static final int JULY
See Also:
Constant Field Values

AUGUST

public static final int AUGUST
See Also:
Constant Field Values

SEPTEMBER

public static final int SEPTEMBER
See Also:
Constant Field Values

OCTOBER

public static final int OCTOBER
See Also:
Constant Field Values

NOVEMBER

public static final int NOVEMBER
See Also:
Constant Field Values

DECEMBER

public static final int DECEMBER
See Also:
Constant Field Values
Constructor Detail

MonthType

public MonthType()


Copyright © 2002-2003 Paul Speed. All Rights Reserved.