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 (phillip.kruger@redhat.com)
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetDeserializeMethod()ReferencegetReference()StringgetSerializeMethod()inthashCode()voidsetDeserializeMethod(String deserializeMethod)voidsetReference(Reference reference)voidsetSerializeMethod(String serializeMethod)StringtoString()
-
-
-
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)
-
-