org.broadleafcommerce.common.presentation.client
Class RuleType

java.lang.Object
  extended by org.broadleafcommerce.common.presentation.client.RuleType
All Implemented Interfaces:
Serializable

public class RuleType
extends Object
implements Serializable

Author:
ppatel/bpolster
See Also:
Serialized Form

Field Summary
static RuleType CUSTOMER
           
static RuleType LOCALE
           
static RuleType ORDER_ITEM
           
static RuleType ORDER_ITEM_HISTORY
           
static RuleType PRODUCT
           
static RuleType REQUEST
           
static RuleType TIME
           
 
Constructor Summary
RuleType()
           
RuleType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static RuleType 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

CUSTOMER

public static final RuleType CUSTOMER

REQUEST

public static final RuleType REQUEST

TIME

public static final RuleType TIME

PRODUCT

public static final RuleType PRODUCT

ORDER_ITEM

public static final RuleType ORDER_ITEM

LOCALE

public static final RuleType LOCALE

ORDER_ITEM_HISTORY

public static final RuleType ORDER_ITEM_HISTORY
Constructor Detail

RuleType

public RuleType()

RuleType

public RuleType(String type,
                String friendlyType)
Method Detail

getInstance

public static RuleType getInstance(String type)

getType

public String getType()

getFriendlyType

public String getFriendlyType()

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.