org.broadleafcommerce.common.time
Class MonthType

java.lang.Object
  extended by org.broadleafcommerce.common.time.MonthType
All Implemented Interfaces:
Serializable, BroadleafEnumerationType

public class MonthType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of container shape types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static MonthType APRIL
           
static MonthType AUGUST
           
static MonthType DECEMBER
           
static MonthType FEBRUARY
           
static MonthType JANUARY
           
static MonthType JULY
           
static MonthType JUNE
           
static MonthType MARCH
           
static MonthType MAY
           
static MonthType NOVEMBER
           
static MonthType OCTOBER
           
static MonthType SEPTEMBER
           
 
Constructor Summary
MonthType()
           
MonthType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static MonthType getInstance(String type)
           
 String getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JANUARY

public static final MonthType JANUARY

FEBRUARY

public static final MonthType FEBRUARY

MARCH

public static final MonthType MARCH

APRIL

public static final MonthType APRIL

MAY

public static final MonthType MAY

JUNE

public static final MonthType JUNE

JULY

public static final MonthType JULY

AUGUST

public static final MonthType AUGUST

SEPTEMBER

public static final MonthType SEPTEMBER

OCTOBER

public static final MonthType OCTOBER

NOVEMBER

public static final MonthType NOVEMBER

DECEMBER

public static final MonthType DECEMBER
Constructor Detail

MonthType

public MonthType()

MonthType

public MonthType(String type,
                 String friendlyType)
Method Detail

getInstance

public static MonthType getInstance(String type)

getType

public String getType()
Specified by:
getType in interface BroadleafEnumerationType

getFriendlyType

public String getFriendlyType()
Specified by:
getFriendlyType in interface BroadleafEnumerationType

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.