@Entity @Indexed(index="UntypedData") public class MyUntypedData extends UntypedData implements java.io.Serializable
UntypedData for persistence with
HIBERNATE.ALL_RIGHTS_RESERVED, EMPTY, string| Constructor and Description |
|---|
MyUntypedData()
Default constructor for
MyUntypedData is necessary for
PojoInstantiator of HIBERNATE. |
MyUntypedData(java.lang.String string)
Constructor for MyUntypedData with specified string.
|
MyUntypedData(UntypedData edal)
Copy constructor to convert public
UntypedData to private
MyUntypedData. |
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Getter for the id.
|
java.lang.String |
getString()
Getter for the field
_string. |
void |
setId(int id)
Setter for the id.
|
void |
setString(java.lang.String string)
Setter for the field
_string. |
public MyUntypedData()
MyUntypedData is necessary for
PojoInstantiator of HIBERNATE.public MyUntypedData(java.lang.String string)
string - a String object.public MyUntypedData(UntypedData edal)
UntypedData to private
MyUntypedData.edal - the EDAL public UntypedData object to be clonedpublic int getId()
@Field(index=YES,
store=YES)
public java.lang.String getString()
_string.
Index.TOKENIZED = ignore case
'@Analyzer(impl=WhitespaceAnalyzer.class)'
WhitespaceAnalyzer is necessary to find object with dots at the beginning
getString in class UntypedDataString object.public void setId(int id)
id - a int.public void setString(java.lang.String string)
_string.setString in class UntypedDatastring - a String object.