public class StructuredContentRuleType extends java.lang.Object implements java.io.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(java.lang.String type,
java.lang.String friendlyType)
Initialize the type and friendlyType
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFriendlyType()
Gets the name of the type
|
static StructuredContentRuleType |
getInstance(java.lang.String type)
Allows translation from the passed in String to a
StructuredContentRuleType |
java.lang.String |
getType()
Gets the type
|
int |
hashCode() |
void |
setType(java.lang.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 StructuredContentRuleType()
public StructuredContentRuleType(java.lang.String type,
java.lang.String friendlyType)
type - friendlyType - public static StructuredContentRuleType getInstance(java.lang.String type)
StructuredContentRuleTypetype - public void setType(java.lang.String type)
type - public java.lang.String getType()
getType in interface BroadleafEnumerationTypepublic java.lang.String getFriendlyType()
getFriendlyType in interface BroadleafEnumerationTypepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018. All Rights Reserved.