org.broadleafcommerce.core.offer.service.type
Class OfferTimeZoneType

java.lang.Object
  extended by org.broadleafcommerce.core.offer.service.type.OfferTimeZoneType
All Implemented Interfaces:
Serializable, BroadleafEnumerationType

public class OfferTimeZoneType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of offer types.

See Also:
Serialized Form

Field Summary
static OfferTimeZoneType APPLICATION
           
static OfferTimeZoneType CST
           
static OfferTimeZoneType SERVER
           
static OfferTimeZoneType UTC
           
 
Constructor Summary
OfferTimeZoneType()
           
OfferTimeZoneType(String type, String friendlyType)
           
OfferTimeZoneType(String type, String friendlyType, Boolean javaStandardTimeZone)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static OfferTimeZoneType getInstance(String type)
           
 Boolean getJavaStandardTimeZone()
           
 String getType()
           
 int hashCode()
           
 void setJavaStandardTimeZone(Boolean javaStandardTimeZone)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER

public static final OfferTimeZoneType SERVER

APPLICATION

public static final OfferTimeZoneType APPLICATION

CST

public static final OfferTimeZoneType CST

UTC

public static final OfferTimeZoneType UTC
Constructor Detail

OfferTimeZoneType

public OfferTimeZoneType()

OfferTimeZoneType

public OfferTimeZoneType(String type,
                         String friendlyType)

OfferTimeZoneType

public OfferTimeZoneType(String type,
                         String friendlyType,
                         Boolean javaStandardTimeZone)
Method Detail

getInstance

public static OfferTimeZoneType getInstance(String type)

setType

public void setType(String type)

getType

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

getFriendlyType

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

getJavaStandardTimeZone

public Boolean getJavaStandardTimeZone()

setJavaStandardTimeZone

public void setJavaStandardTimeZone(Boolean javaStandardTimeZone)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2013. All Rights Reserved.