public class Url extends Object
Constructor and Description |
---|
Url() |
Url(EnumWithCustomOfUrlCategory category,
Boolean preferred,
String href)
Initializes a new instance of the Url
|
Modifier and Type | Method and Description |
---|---|
Url |
category(EnumWithCustomOfUrlCategory category) |
boolean |
equals(Object o) |
EnumWithCustomOfUrlCategory |
getCategory()
Url category.
|
String |
getHref()
URL.
|
int |
hashCode() |
Url |
href(String href) |
Boolean |
isPreferred()
Defines whether url is preferred.
|
Url |
preferred(Boolean preferred) |
void |
setCategory(EnumWithCustomOfUrlCategory category) |
void |
setHref(String href) |
void |
setPreferred(Boolean preferred) |
String |
toString() |
public Url()
public Url(EnumWithCustomOfUrlCategory category, Boolean preferred, String href)
category
- Url category.preferred
- Defines whether url is preferred.href
- URL.public Url category(EnumWithCustomOfUrlCategory category)
public EnumWithCustomOfUrlCategory getCategory()
public void setCategory(EnumWithCustomOfUrlCategory category)
public Boolean isPreferred()
public void setPreferred(Boolean preferred)
public String getHref()
public void setHref(String href)
Copyright © 2020. All rights reserved.