public class KeywordValueObjectCodec extends StringValueResolver<Keyword> implements ValueObject.Codec<Keyword>
| Modifier and Type | Field and Description |
|---|---|
static KeywordValueObjectCodec |
INSTANCE |
attributes| Constructor and Description |
|---|
KeywordValueObjectCodec() |
| Modifier and Type | Method and Description |
|---|---|
Keyword |
parse(String s) |
Keyword |
resolve(String value) |
Class<Keyword> |
targetClass() |
String |
toJSONString(Keyword o) |
String |
toString(Keyword o) |
addPredefinedResolver, amended, apply, attribute, attribute, attributes, clearAttributes, genericTargetType, main, predefined, predefined, targetType, wrapandThen, andThen, applyOrElse, compose, compose, compose, compose, compose, compose, curry, invert, lift, orElse, timesbreakOutpublic static final KeywordValueObjectCodec INSTANCE
public Class<Keyword> targetClass()
targetClass in interface ValueObject.Codec<Keyword>public Keyword resolve(String value)
resolve in class StringValueResolver<Keyword>public Keyword parse(String s)
parse in interface ValueObject.Codec<Keyword>public String toString(Keyword o)
toString in interface ValueObject.Codec<Keyword>public String toJSONString(Keyword o)
toJSONString in interface ValueObject.Codec<Keyword>Copyright © 2017. All Rights Reserved.