@groovy.transform.CompileStatic class GraphQLEntityNamingConvention extends java.lang.Object
A class to return the names of class types and query/mutation names
Constructor and description |
---|
GraphQLEntityNamingConvention
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.String |
getCount(org.grails.datastore.mapping.model.PersistentEntity entity)
|
|
java.lang.String |
getCreate(org.grails.datastore.mapping.model.PersistentEntity entity)
|
|
java.lang.String |
getDelete(org.grails.datastore.mapping.model.PersistentEntity entity)
|
|
java.lang.String |
getGet(org.grails.datastore.mapping.model.PersistentEntity entity)
|
|
java.lang.String |
getList(org.grails.datastore.mapping.model.PersistentEntity entity)
|
|
java.lang.String |
getPagination(org.grails.datastore.mapping.model.PersistentEntity entity)
|
|
java.lang.String |
getType(org.grails.datastore.mapping.model.PersistentEntity entity, GraphQLPropertyType type)
|
|
java.lang.String |
getType(java.lang.String typeName, GraphQLPropertyType type)
|
|
java.lang.String |
getUpdate(org.grails.datastore.mapping.model.PersistentEntity entity)
|
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
entity
- The persistent entity
entity
- The persistent entity
entity
- The persistent entity
entity
- The persistent entity
entity
- The persistent entity
entity
- The persistent entity
entity
- The persistent entitytype
- The property returnType
typeName
- The custom type nametype
- The property returnType
entity
- The persistent entity