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, wrap
andThen, andThen, applyOrElse, compose, compose, compose, compose, compose, compose, curry, invert, lift, orElse, times
breakOut
public 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 © 2016. All Rights Reserved.