public final class Text
extends java.lang.Object
implements java.io.Serializable
Text wraps around a string of unlimited size.
Ordinary Java strings stored as properties in Entity
objects are limited to 500 characters. However, Text
objects can also be stored in properties, and are unlimited in
size. However, they will not be indexed for query purposes.| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Text(java.lang.String value)
Construct a new
Text object with the specified value. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object)
Two
Text objects are considered equal if their content
strings match exactly. |
java.lang.String |
getValue()
Return the value of this
Text. |
int |
hashCode() |
java.lang.String |
toString()
Returns the first 70 characters of the underlying string.
|
public static final long serialVersionUID
public Text(java.lang.String value)
Text object with the specified value.
This object cannot be modified after construction.public java.lang.String getValue()
Text. Can be null.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
Text objects are considered equal if their content
strings match exactly.equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object