|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.datastore.Link
public final class Link
A Link is a URL of limited length.
In addition to adding the meaning of URL onto a String, a Link
can also be longer than a Text value, with a limit of 2038 characters.
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
Link(java.lang.String value)
Constructs a new Link object with the specified value. |
|
| Method Summary | |
|---|---|
int |
compareTo(Link l)
|
boolean |
equals(java.lang.Object object)
Two Link objects are considered equal if their content
strings match exactly. |
java.lang.String |
getValue()
Returns the value of this Link. |
int |
hashCode()
|
java.lang.String |
toString()
Returns the entire text of this Link. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public Link(java.lang.String value)
Link object with the specified value.
This object cannot be modified after construction.
| Method Detail |
|---|
public java.lang.String getValue()
Link.
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
Link objects are considered equal if their content
strings match exactly.
equals in class java.lang.Objectpublic java.lang.String toString()
Link.
toString in class java.lang.Objectpublic int compareTo(Link l)
compareTo in interface java.lang.Comparable<Link>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||