Package io.leangen.graphql.metadata
Class DefaultValue
- java.lang.Object
-
- io.leangen.graphql.metadata.DefaultValue
-
public class DefaultValue extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultValueEMPTYstatic DefaultValueNULL
-
Constructor Summary
Constructors Constructor Description DefaultValue(Object value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ObjectgetValue()inthashCode()booleanisSet()DefaultValuemap(Function<Object,Object> mapper)static DefaultValueofNullable(Object value)
-
-
-
Field Detail
-
EMPTY
public static final DefaultValue EMPTY
-
NULL
public static final DefaultValue NULL
-
-
Constructor Detail
-
DefaultValue
public DefaultValue(Object value)
-
-
Method Detail
-
ofNullable
public static DefaultValue ofNullable(Object value)
-
map
public DefaultValue map(Function<Object,Object> mapper)
-
getValue
public Object getValue()
-
isSet
public boolean isSet()
-
-