org.broadleafcommerce.profile.core.service.type
Class CustomerAddressType

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

public class CustomerAddressType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of customer address types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static CustomerAddressType BILLING
           
static CustomerAddressType OTHER
           
static CustomerAddressType SHIPPING
           
 
Constructor Summary
CustomerAddressType()
           
CustomerAddressType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static CustomerAddressType 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

SHIPPING

public static final CustomerAddressType SHIPPING

BILLING

public static final CustomerAddressType BILLING

OTHER

public static final CustomerAddressType OTHER
Constructor Detail

CustomerAddressType

public CustomerAddressType()

CustomerAddressType

public CustomerAddressType(String type,
                           String friendlyType)
Method Detail

getInstance

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