org.broadleafcommerce.openadmin.server.service.persistence.module.criteria
Class RestrictionType

java.lang.Object
  extended by org.broadleafcommerce.openadmin.server.service.persistence.module.criteria.RestrictionType
All Implemented Interfaces:
Serializable, BroadleafEnumerationType

public class RestrictionType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of service status types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static RestrictionType BOOLEAN
           
static RestrictionType CHARACTER
           
static RestrictionType COLLECTION_SIZE_EQUAL
           
static RestrictionType DATE
           
static RestrictionType DECIMAL
           
static RestrictionType IS_NULL_LONG
           
static RestrictionType LONG
           
static RestrictionType LONG_EQUAL
           
static RestrictionType STRING_EQUAL
           
static RestrictionType STRING_LIKE
           
 
Constructor Summary
RestrictionType()
           
RestrictionType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static RestrictionType 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

STRING_LIKE

public static final RestrictionType STRING_LIKE

BOOLEAN

public static final RestrictionType BOOLEAN

CHARACTER

public static final RestrictionType CHARACTER

DATE

public static final RestrictionType DATE

DECIMAL

public static final RestrictionType DECIMAL

LONG

public static final RestrictionType LONG

COLLECTION_SIZE_EQUAL

public static final RestrictionType COLLECTION_SIZE_EQUAL

IS_NULL_LONG

public static final RestrictionType IS_NULL_LONG

STRING_EQUAL

public static final RestrictionType STRING_EQUAL

LONG_EQUAL

public static final RestrictionType LONG_EQUAL
Constructor Detail

RestrictionType

public RestrictionType()

RestrictionType

public RestrictionType(String type,
                       String friendlyType)
Method Detail

getInstance

public static RestrictionType getInstance(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.