public class OfflineLink
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
location
The location of the link.
|
private java.lang.String |
url
The url of the link.
|
Constructor and Description |
---|
OfflineLink() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Method equals.
|
java.lang.String |
getLocation()
Get the location of the link.
|
java.lang.String |
getUrl()
Get the url of the link.
|
int |
hashCode()
Method hashCode.
|
void |
setLocation(java.lang.String location)
Set the location of the link.
|
void |
setUrl(java.lang.String url)
Set the url of the link.
|
java.lang.String |
toString()
Method toString.
|
private java.lang.String url
private java.lang.String location
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- public java.lang.String getLocation()
public java.lang.String getUrl()
public int hashCode()
hashCode
in class java.lang.Object
public void setLocation(java.lang.String location)
location
- public void setUrl(java.lang.String url)
url
- public java.lang.String toString()
toString
in class java.lang.Object