public class StructuredContentRuleType extends Object implements Serializable, BroadleafEnumerationType
timeproduct
CUSTOMER - indicates a rule based on org.broadleafcommerce.profile.core.domain| Modifier and Type | Field and Description |
|---|---|
static StructuredContentRuleType |
CUSTOMER |
static StructuredContentRuleType |
PRODUCT |
static StructuredContentRuleType |
REQUEST |
static StructuredContentRuleType |
TIME |
| Constructor and Description |
|---|
StructuredContentRuleType() |
StructuredContentRuleType(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 StructuredContentRuleType |
getInstance(String type)
Allows translation from the passed in String to a
StructuredContentRuleType |
String |
getType()
Gets the type
|
int |
hashCode() |
void |
setType(String type)
Sets the type
|
public static final StructuredContentRuleType REQUEST
public static final StructuredContentRuleType TIME
public static final StructuredContentRuleType PRODUCT
public static final StructuredContentRuleType CUSTOMER
public static StructuredContentRuleType getInstance(String type)
StructuredContentRuleTypetype - public void setType(String type)
type - public String getType()
getType in interface BroadleafEnumerationTypepublic String getFriendlyType()
getFriendlyType in interface BroadleafEnumerationTypeCopyright © 2013. All Rights Reserved.