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)
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 – 2024 Project Wonder.