public class PageRuleType extends Object implements Serializable, BroadleafEnumerationType
timeproduct
CUSTOMER - indicates a rule based on org.broadleafcommerce.profile.core.domain| Modifier and Type | Field and Description |
|---|---|
static PageRuleType |
CUSTOMER |
static PageRuleType |
PRODUCT |
static PageRuleType |
REQUEST |
static PageRuleType |
TIME |
| Constructor and Description |
|---|
PageRuleType() |
PageRuleType(String type,
String friendlyType)
Initialize the type and friendlyType
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFriendlyType()
Gets the name of the type
|
static PageRuleType |
getInstance(String type)
Allows translation from the passed in String to a
PageRuleType |
String |
getType()
Gets the type
|
int |
hashCode() |
void |
setType(String type)
Sets the type
|
public static final PageRuleType REQUEST
public static final PageRuleType TIME
public static final PageRuleType PRODUCT
public static final PageRuleType CUSTOMER
public static PageRuleType getInstance(String type)
PageRuleTypetype - public void setType(String type)
type - public String getType()
getType in interface BroadleafEnumerationTypepublic String getFriendlyType()
getFriendlyType in interface BroadleafEnumerationTypeCopyright © 2014. All Rights Reserved.