public class WebLink extends Object
| Constructor and Description |
|---|
WebLink(String uri) |
WebLink(String uri,
String name,
WebLinkType type) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getName()
Retrieves the descriptive name of the web link destination.
|
WebLinkType |
getType()
Retrieves the link category.
|
String |
getUri()
Retrieves the URI of the web link.
|
int |
hashCode() |
void |
setName(String name)
Sets the descriptive name of the web link destination.
|
void |
setType(WebLinkType type)
Sets the link category.
|
String |
toString() |
public WebLink(String uri)
public WebLink(String uri, String name, WebLinkType type)
public String getUri()
public String getName()
public WebLinkType getType()
public void setName(String name)
name - the descriptive name of the web link destinationpublic void setType(WebLinkType type)
type - the link categoryprotected boolean canEqual(Object other)
Copyright © 2017–2019. All rights reserved.