org.broadleafcommerce.common.vendor.service.type
Class ServiceStatusType

java.lang.Object
  extended by org.broadleafcommerce.common.vendor.service.type.ServiceStatusType
All Implemented Interfaces:
Serializable, BroadleafEnumerationType

public class ServiceStatusType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of service status types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static ServiceStatusType DOWN
           
static ServiceStatusType PAUSED
           
static ServiceStatusType UP
           
 
Constructor Summary
ServiceStatusType()
           
ServiceStatusType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static ServiceStatusType 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

UP

public static final ServiceStatusType UP

DOWN

public static final ServiceStatusType DOWN

PAUSED

public static final ServiceStatusType PAUSED
Constructor Detail

ServiceStatusType

public ServiceStatusType()

ServiceStatusType

public ServiceStatusType(String type,
                         String friendlyType)
Method Detail

getInstance

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