org.broadleafcommerce.common.sandbox.domain
Class SandBoxType

java.lang.Object
  extended by org.broadleafcommerce.common.sandbox.domain.SandBoxType
All Implemented Interfaces:
Serializable, BroadleafEnumerationType

public class SandBoxType
extends Object
implements Serializable, BroadleafEnumerationType

Created by bpolster.

See Also:
Serialized Form

Field Summary
static SandBoxType APPROVAL
           
static SandBoxType DEFAULT
           
static SandBoxType PRODUCTION
           
static SandBoxType USER
           
 
Constructor Summary
SandBoxType()
           
SandBoxType(String type, String friendlyType, Integer priority)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static SandBoxType getInstance(String type)
           
 Integer getPriority()
           
 String getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER

public static final SandBoxType USER

APPROVAL

public static final SandBoxType APPROVAL

DEFAULT

public static final SandBoxType DEFAULT

PRODUCTION

public static final SandBoxType PRODUCTION
Constructor Detail

SandBoxType

public SandBoxType()

SandBoxType

public SandBoxType(String type,
                   String friendlyType,
                   Integer priority)
Method Detail

getInstance

public static SandBoxType getInstance(String type)

getType

public String getType()
Specified by:
getType in interface BroadleafEnumerationType

getFriendlyType

public String getFriendlyType()
Specified by:
getFriendlyType in interface BroadleafEnumerationType

getPriority

public Integer getPriority()

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.