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

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

public class OfferType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of offer types.

See Also:
Serialized Form

Field Summary
static OfferType FULFILLMENT_GROUP
           
static OfferType ORDER
           
static OfferType ORDER_ITEM
           
 
Constructor Summary
OfferType()
           
OfferType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static OfferType getInstance(String type)
           
 String getType()
           
 int hashCode()
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORDER

public static final OfferType ORDER

FULFILLMENT_GROUP

public static final OfferType FULFILLMENT_GROUP

ORDER_ITEM

public static final OfferType ORDER_ITEM
Constructor Detail

OfferType

public OfferType()

OfferType

public OfferType(String type,
                 String friendlyType)
Method Detail

getInstance

public static OfferType 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

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.