Package io.smallrye.graphql.schema.model
Class AdaptWith
- java.lang.Object
-
- io.smallrye.graphql.schema.model.AdaptWith
-
- All Implemented Interfaces:
Serializable
public class AdaptWith extends Object implements Serializable
Indicate that a field apply a custom adapter, adapting from one type to another This can be a JsonbTypeAdapter- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAdapterClass()StringgetAdapterInterface()StringgetFromMethod()ReferencegetFromReference()StringgetToMethod()ReferencegetToReference()inthashCode()booleanisJsonB()voidsetAdapterClass(String adapterClass)voidsetAdapterInterface(String adapterInterface)voidsetFromMethod(String fromMethod)voidsetFromReference(Reference fromReference)voidsetToMethod(String toMethod)voidsetToReference(Reference toReference)StringtoString()
-
-
-
Method Detail
-
getAdapterInterface
public String getAdapterInterface()
-
setAdapterInterface
public void setAdapterInterface(String adapterInterface)
-
getFromMethod
public String getFromMethod()
-
setFromMethod
public void setFromMethod(String fromMethod)
-
getToMethod
public String getToMethod()
-
setToMethod
public void setToMethod(String toMethod)
-
getAdapterClass
public String getAdapterClass()
-
setAdapterClass
public void setAdapterClass(String adapterClass)
-
getFromReference
public Reference getFromReference()
-
setFromReference
public void setFromReference(Reference fromReference)
-
getToReference
public Reference getToReference()
-
setToReference
public void setToReference(Reference toReference)
-
isJsonB
public boolean isJsonB()
-
-