public class NSTranslator extends Object implements Translator
null as NSKeyValueCoding.NullValue, while all other values remain unchanged.| Modifier and Type | Field and Description |
|---|---|
static NSTranslator |
instance |
| Modifier and Type | Method and Description |
|---|---|
Object |
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 NSTranslator instance
public Object fromNeutralValue(Object value, EOAttribute att)
TranslatorfromNeutralValue in interface Translatorvalue - neutral valueatt - EO attribute that the given value representspublic Object toNeutralValue(Object value, EOAttribute att)
TranslatortoNeutralValue in interface Translatorvalue - value representation object in some libraryatt - EO attribute that the given value representsCopyright © 2002 – 2020 Project Wonder.