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 ([email protected])
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAdapterClass()
String
getAdapterInterface()
String
getFromMethod()
Reference
getFromReference()
String
getToMethod()
Reference
getToReference()
int
hashCode()
boolean
isJsonB()
void
setAdapterClass(String adapterClass)
void
setAdapterInterface(String adapterInterface)
void
setFromMethod(String fromMethod)
void
setFromReference(Reference fromReference)
void
setToMethod(String toMethod)
void
setToReference(Reference toReference)
String
toString()
-
-
-
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()
-
-