Class FieldInfo
- java.lang.Object
-
- io.smallrye.graphql.client.impl.typesafe.reflection.FieldInfo
-
public class FieldInfo extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget(Object instance)Optional<String>getAlias()If the field is renamed with aNameannotation, the real field name is used as an alias.<T extends Annotation>
TgetAnnotation(Class<T> annotationClass)StringgetName()StringgetRawName()TypeInfogetType()booleanisIncludeNull()booleanisNonNull()voidset(Object instance, Object value)StringtoString()
-
-
-
Method Detail
-
getType
public TypeInfo getType()
-
getName
public String getName()
-
getRawName
public String getRawName()
-
getAlias
public Optional<String> getAlias()
If the field is renamed with aNameannotation, the real field name is used as an alias.
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
-
isNonNull
public boolean isNonNull()
-
isIncludeNull
public boolean isIncludeNull()
-
-