public class EnumWithCustomOfUrlCategory extends Object
Constructor and Description |
---|
EnumWithCustomOfUrlCategory() |
EnumWithCustomOfUrlCategory(String value,
String description)
Initializes a new instance of the EnumWithCustomOfUrlCategory
|
Modifier and Type | Method and Description |
---|---|
EnumWithCustomOfUrlCategory |
description(String description)
Set description and return this.
|
boolean |
equals(Object o) |
String |
getDescription()
Get description
|
String |
getValue()
Url category.
|
int |
hashCode() |
void |
setDescription(String description)
Set description.
|
void |
setValue(String value)
Set value.
|
String |
toString() |
EnumWithCustomOfUrlCategory |
value(String value)
Set value and return this.
|
public EnumWithCustomOfUrlCategory value(String value)
value
- Url category. Enum, available values: Profile, HomePage, Home, Work, Blog, Ftp, Custompublic String getValue()
public void setValue(String value)
value
- Url category. Enum, available values: Profile, HomePage, Home, Work, Blog, Ftp, Custompublic EnumWithCustomOfUrlCategory description(String description)
description
- public String getDescription()
public void setDescription(String description)
description
- Copyright © 2020. All rights reserved.