org.broadleafcommerce.common.time
Class DayOfWeekType

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

public class DayOfWeekType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of container shape types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static DayOfWeekType FRIDAY
           
static DayOfWeekType MONDAY
           
static DayOfWeekType SATURDAY
           
static DayOfWeekType SUNDAY
           
static DayOfWeekType THURSDAY
           
static DayOfWeekType TUESDAY
           
static DayOfWeekType WEDNESDAY
           
 
Constructor Summary
DayOfWeekType()
           
DayOfWeekType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static DayOfWeekType 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

SUNDAY

public static final DayOfWeekType SUNDAY

MONDAY

public static final DayOfWeekType MONDAY

TUESDAY

public static final DayOfWeekType TUESDAY

WEDNESDAY

public static final DayOfWeekType WEDNESDAY

THURSDAY

public static final DayOfWeekType THURSDAY

FRIDAY

public static final DayOfWeekType FRIDAY

SATURDAY

public static final DayOfWeekType SATURDAY
Constructor Detail

DayOfWeekType

public DayOfWeekType()

DayOfWeekType

public DayOfWeekType(String type,
                     String friendlyType)
Method Detail

getInstance

public static DayOfWeekType 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.