public class LuceneTranslator extends Object implements Translator
StorableTypes
Modifier and Type | Class and Description |
---|---|
static interface |
LuceneTranslator.Coder |
Modifier and Type | Field and Description |
---|---|
static LuceneTranslator |
instance |
Modifier and Type | Method and Description |
---|---|
String |
fromNeutralValue(Object value,
EOAttribute att)
Converts neutral value to library specific representation.
|
Object |
toNeutralValue(Object value,
EOAttribute att)
Converts library specific value representation to neutral type.
|
public static final LuceneTranslator instance
public String fromNeutralValue(Object value, EOAttribute att)
Translator
fromNeutralValue
in interface Translator
value
- neutral valueatt
- EO attribute that the given value representspublic Object toNeutralValue(Object value, EOAttribute att)
Translator
toNeutralValue
in interface Translator
value
- value representation object in some libraryatt
- EO attribute that the given value representsCopyright © 2002 – 2020 Project Wonder.