@groovy.transform.CompileStatic abstract class Field<T> extends java.lang.Object implements Deprecatable<T>, Describable<T>, Named<T>, Nullable<T>
Generic class used to represent a field in a custom object. Used in arguments, operations, and custom properties.
T
- The implementing classType | Name and description |
---|---|
java.lang.Object |
defaultValue |
boolean |
input |
boolean |
output |
Constructor and description |
---|
Field
() |
Type Params | Return Type | Name and description |
---|---|---|
|
T |
defaultValue(java.lang.Object defaultValue) |
|
abstract graphql.schema.GraphQLInputType |
getInputType(GraphQLTypeManager typeManager, org.grails.datastore.mapping.model.MappingContext mappingContext) |
|
abstract graphql.schema.GraphQLOutputType |
getType(GraphQLTypeManager typeManager, org.grails.datastore.mapping.model.MappingContext mappingContext) |
|
T |
input(boolean input) |
|
T |
output(boolean output) |
|
void |
validate() |
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() |
Groovy Documentation