| Package | Description |
|---|---|
| com.daikit.graphql.builder.types | |
| com.daikit.graphql.meta.attribute | |
| com.daikit.graphql.meta.builder | |
| com.daikit.graphql.meta.entity |
| Modifier and Type | Method and Description |
|---|---|
protected Map<GQLAbstractAttributeMetaData,graphql.schema.GraphQLFieldDefinition> |
GQLAbstractTypesBuilder.buildEntityFieldDefinitions(GQLEntityMetaData entity) |
| Modifier and Type | Method and Description |
|---|---|
protected graphql.schema.GraphQLArgument |
GQLAbstractInputOutputTypesBuilder.buildArgumentNonNull(GQLAbstractAttributeMetaData attribute) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GQLAbstractTypesBuilder.registerOtherDataFetchers(graphql.schema.GraphQLFieldsContainer fieldsContainer,
Map<GQLAbstractAttributeMetaData,graphql.schema.GraphQLFieldDefinition> fieldDefinitions,
List<GQLPropertyDataFetcher<?>> propertiesDataFetchers) |
| Modifier and Type | Class and Description |
|---|---|
class |
GQLAttributeEntityMetaData
GraphQL attribute entity meta data
|
class |
GQLAttributeEnumMetaData
GraphQL attribute enum meta data
|
class |
GQLAttributeListEntityMetaData
GraphQL list attribute meta data
|
class |
GQLAttributeListEnumMetaData
GraphQL list attribute meta data for enumeration
|
class |
GQLAttributeListScalarMetaData
GraphQL list attribute meta data for scalar type
|
class |
GQLAttributeScalarMetaData
GraphQL Scalar attribute meta data
|
| Modifier and Type | Method and Description |
|---|---|
GQLAbstractAttributeMetaData |
GQLAbstractAttributeMetaData.setDescription(String description)
Set the description for the attribute.
|
GQLAbstractAttributeMetaData |
GQLAbstractAttributeMetaData.setDynamicAttributeGetter(IGQLDynamicAttributeGetter<?,?> dynamicAttributeGetter)
If this attribute is dynamic then this method sets the getter for
computing the attribute value.
|
GQLAbstractAttributeMetaData |
GQLAbstractAttributeMetaData.setDynamicAttributeSetter(IGQLDynamicAttributeSetter<?,?> dynamicAttributeSetter)
If this attribute is dynamic then this method sets the setter for storing
the attribute value.
|
GQLAbstractAttributeMetaData |
GQLAbstractAttributeMetaData.setFilterable(boolean filterable)
Set whether this attribute will be available in schema queries filters
for retrieving this attribute parent entity.
|
GQLAbstractAttributeMetaData |
GQLAbstractAttributeMetaData.setMandatory(boolean mandatory)
Set whether this attribute can be null.
|
GQLAbstractAttributeMetaData |
GQLAbstractAttributeMetaData.setMandatoryForCreate(boolean mandatoryForCreate)
Set whether this attribute must be provided during parent entity
creation.
|
GQLAbstractAttributeMetaData |
GQLAbstractAttributeMetaData.setMandatoryForUpdate(boolean mandatoryForUpdate)
Set whether this attribute must be provided during parent entity update.
|
GQLAbstractAttributeMetaData |
GQLAbstractAttributeMetaData.setName(String name)
Set the name for the attribute.
|
GQLAbstractAttributeMetaData |
GQLAbstractAttributeMetaData.setNullable(boolean nullable)
Set whether this attribute can be null.
|
GQLAbstractAttributeMetaData |
GQLAbstractAttributeMetaData.setNullableForCreate(boolean nullableForCreate)
Set whether this attribute can be null at parent entity creation time.
|
GQLAbstractAttributeMetaData |
GQLAbstractAttributeMetaData.setNullableForUpdate(boolean nullableForUpdate)
Set whether this attribute can be null at parent entity creation time.
|
GQLAbstractAttributeMetaData |
GQLAbstractAttributeMetaData.setReadable(boolean readable)
Set whether this attribute will be available in schema queries for
retrieving this attribute parent entity.
|
GQLAbstractAttributeMetaData |
GQLAbstractAttributeMetaData.setSaveable(boolean saveable)
Set whether this attribute will be available in schema mutations for
saving this attribute parent entity.
|
| Modifier and Type | Method and Description |
|---|---|
GQLAbstractAttributeMetaData |
GQLDynamicAttributeMetaDataBuilder.build(Collection<GQLEnumMetaData> enumMetaDatas,
Collection<GQLEntityMetaData> entityMetaDatas,
IGQLAbstractDynamicAttribute<?> attribute)
Build dynamic attribute meta data from its
GQLCustomMethod
definition |
| Modifier and Type | Method and Description |
|---|---|
List<GQLAbstractAttributeMetaData> |
GQLEntityMetaData.getAttributes()
Get attributes of the entity
|
| Modifier and Type | Method and Description |
|---|---|
void |
GQLEntityMetaData.addAttribute(GQLAbstractAttributeMetaData attribute)
Add given attribute if non null
|
| Modifier and Type | Method and Description |
|---|---|
GQLEntityMetaData |
GQLEntityMetaData.setAttributes(List<GQLAbstractAttributeMetaData> attributes)
Set the entity attributes
|
Copyright © 2019. All rights reserved.