Package io.smallrye.graphql.schema.model
Class AdaptTo
- java.lang.Object
-
- io.smallrye.graphql.schema.model.AdaptTo
-
- All Implemented Interfaces:
Serializable
public class AdaptTo extends Object implements Serializable
Indicate that a field should adapt to another type At the moment this is used to adapt existing scalars to other scalars or custom objects to existing scalars.- 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
getDeserializeMethod()
Reference
getReference()
String
getSerializeMethod()
int
hashCode()
void
setDeserializeMethod(String deserializeMethod)
void
setReference(Reference reference)
void
setSerializeMethod(String serializeMethod)
String
toString()
-
-
-
Constructor Detail
-
AdaptTo
public AdaptTo()
-
AdaptTo
public AdaptTo(Reference reference)
-
-
Method Detail
-
getReference
public Reference getReference()
-
setReference
public void setReference(Reference reference)
-
getDeserializeMethod
public String getDeserializeMethod()
-
setDeserializeMethod
public void setDeserializeMethod(String deserializeMethod)
-
getSerializeMethod
public String getSerializeMethod()
-
setSerializeMethod
public void setSerializeMethod(String serializeMethod)
-
-