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 PRODUCTION
           
static SandBoxType USER
           
 
Constructor Summary
SandBoxType()
           
SandBoxType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static SandBoxType 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

USER

public static final SandBoxType USER

APPROVAL

public static final SandBoxType APPROVAL

PRODUCTION

public static final SandBoxType PRODUCTION
Constructor Detail

SandBoxType

public SandBoxType()

SandBoxType

public SandBoxType(String type,
                   String friendlyType)
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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.