Package io.smallrye.graphql.schema.model
Class AdaptWith
java.lang.Object
io.smallrye.graphql.schema.model.AdaptWith
- All Implemented Interfaces:
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisJsonB()voidsetAdapterClass(String adapterClass) voidsetAdapterInterface(String adapterInterface) voidsetFromMethod(String fromMethod) voidsetFromReference(Reference fromReference) voidsetToMethod(String toMethod) voidsetToReference(Reference toReference) toString()
-
Constructor Details
-
AdaptWith
public AdaptWith() -
AdaptWith
-
AdaptWith
-
-
Method Details
-
getAdapterInterface
-
setAdapterInterface
-
getFromMethod
-
setFromMethod
-
getToMethod
-
setToMethod
-
getAdapterClass
-
setAdapterClass
-
getFromReference
-
setFromReference
-
getToReference
-
setToReference
-
isJsonB
public boolean isJsonB() -
toString
-
hashCode
public int hashCode() -
equals
-