public class WebLink extends Object
| Constructor and Description |
|---|
WebLink(String url)
Simple constructor that requires all mandatory fields.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns a descriptive name of the web link destination.
|
WebLinkType |
getType()
Returns the type of the web link.
|
String |
getUrl()
Returns the URL of the web link.
|
void |
setName(String name)
Changes the descriptive name of the web link destination.
|
void |
setType(WebLinkType type)
Changes the type of the web link.
|
void |
setUrl(String url)
Changes the URL of the web link.
|
public WebLink(String url)
url - the URL of the linkpublic String getName()
public void setName(String name)
name - a descriptive name of the web link destinationpublic String getUrl()
public void setUrl(String url)
url - the URL of the web linkpublic WebLinkType getType()
public void setType(WebLinkType type)
type - the type of the web linkCopyright © 2017–2018. All rights reserved.