PROPERTY_TYPE - the property typepublic class GQLPropertyDataFetcher<PROPERTY_TYPE>
extends graphql.schema.PropertyDataFetcher<PROPERTY_TYPE>
| Constructor and Description |
|---|
GQLPropertyDataFetcher(Class<?> entityClass,
String entityPropertyName,
String graphQLPropertyName)
Build a
PropertyDataFetcher for given Entity class and property
with propertyName name within this entity |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getEntityClass() |
String |
getEntityPropertyName() |
String |
getGraphQLPropertyName() |
public GQLPropertyDataFetcher(Class<?> entityClass, String entityPropertyName, String graphQLPropertyName)
PropertyDataFetcher for given Entity class and property
with propertyName name within this entityentityClass - the entity classentityPropertyName - the property name within the entitygraphQLPropertyName - the property name for GraphQLCopyright © 2019. All rights reserved.