org.broadleafcommerce.cms.url.type
Class URLRedirectType

java.lang.Object
  extended by org.broadleafcommerce.cms.url.type.URLRedirectType
All Implemented Interfaces:
Serializable, BroadleafEnumerationType

public class URLRedirectType
extends Object
implements Serializable, BroadleafEnumerationType

See Also:
Serialized Form

Field Summary
static URLRedirectType FORWARD
           
static URLRedirectType REDIRECT_PERM
           
static URLRedirectType REDIRECT_TEMP
           
 
Constructor Summary
URLRedirectType()
           
URLRedirectType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static URLRedirectType getInstance(String type)
           
 String getType()
           
 int hashCode()
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORWARD

public static final URLRedirectType FORWARD

REDIRECT_PERM

public static final URLRedirectType REDIRECT_PERM

REDIRECT_TEMP

public static final URLRedirectType REDIRECT_TEMP
Constructor Detail

URLRedirectType

public URLRedirectType()

URLRedirectType

public URLRedirectType(String type,
                       String friendlyType)
Method Detail

getInstance

public static URLRedirectType getInstance(String type)

setType

public void setType(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.