org.broadleafcommerce.core.inventory.service.type
Class InventoryType

java.lang.Object
  extended by org.broadleafcommerce.core.inventory.service.type.InventoryType
All Implemented Interfaces:
Serializable, BroadleafEnumerationType

public class InventoryType
extends Object
implements Serializable, BroadleafEnumerationType

Enumeration to specify whether inventory should be checked or not.

Author:
Kelly Tisdell
See Also:
Serialized Form

Field Summary
static InventoryType BASIC
           
static InventoryType NONE
           
 
Constructor Summary
InventoryType()
           
InventoryType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static InventoryType 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

NONE

public static final InventoryType NONE

BASIC

public static final InventoryType BASIC
Constructor Detail

InventoryType

public InventoryType()

InventoryType

public InventoryType(String type,
                     String friendlyType)
Method Detail

getInstance

public static InventoryType 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.