| Package | Description |
|---|---|
| com.daikit.graphql.dynamicattribute | |
| com.daikit.graphql.meta | |
| com.daikit.graphql.meta.builder |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IGQLDynamicAttributeGetter<ENTITY_TYPE,GETTER_ATTRIBUTE_TYPE>
Interface for dynamic attribute getters
|
interface |
IGQLDynamicAttributeGetterSetter<ENTITY_TYPE,GETTER_ATTRIBUTE_TYPE,SETTER_ATTRIBUTE_TYPE>
Dynamic attribute getter and setter
|
interface |
IGQLDynamicAttributeSetter<ENTITY_TYPE,SETTER_ATTRIBUTE_TYPE>
Interface for dynamic attribute setters
|
| Modifier and Type | Class and Description |
|---|---|
class |
GQLAbstractDynamicAttribute<ENTITY_TYPE>
Abstract super class for
GQLDynamicAttributeGetter and
GQLDynamicAttributeSetter |
class |
GQLDynamicAttributeGetter<ENTITY_TYPE,GETTER_ATTRIBUTE_TYPE>
Dynamic attribute getter
|
class |
GQLDynamicAttributeGetterSetter<ENTITY_TYPE,GETTER_ATTRIBUTE_TYPE,SETTER_ATTRIBUTE_TYPE>
Dynamic attribute getter and setter
|
class |
GQLDynamicAttributeSetter<ENTITY_TYPE,SETTER_ATTRIBUTE_TYPE>
Dynamic attribute setter
|
| Modifier and Type | Method and Description |
|---|---|
Collection<IGQLAbstractDynamicAttribute<?>> |
GQLMetaModel.getDynamicAttributes() |
| Modifier and Type | Method and Description |
|---|---|
GQLMetaModel |
GQLMetaModel.buildFromEntityClasses(Collection<Class<?>> entityClasses,
Collection<Class<?>> availableEmbeddedEntityClasses,
Collection<IGQLAbstractDynamicAttribute<?>> dynamicAttributes,
Collection<IGQLAbstractCustomMethod<?>> customMethods)
With this method, all meta datas will be automatically generated and
registered from given entity classes, attributes and methods.
|
GQLMetaModel |
GQLMetaModel.buildFromMetaDatas(Collection<GQLEnumMetaData> enumMetaDatas,
Collection<GQLEntityMetaData> entityMetaDatas,
Collection<IGQLAbstractDynamicAttribute<?>> dynamicAttributes,
Collection<IGQLAbstractCustomMethod<?>> customMethods)
With this method, dynamic attributes and custom method meta data will be
automatically generated and registered.
You can also provide entities with dynamic attributes already registered and custom methods meta data already created. |
GQLEnumsAndEmbeddedEntities |
GQLEnumsAndEmbeddedEntitiesCollector.collect(Collection<Class<?>> entityClasses,
Collection<Class<?>> availableEmbeddedEntityClasses,
Collection<IGQLAbstractDynamicAttribute<?>> dynamicAttributes,
Collection<IGQLAbstractCustomMethod<?>> customMethods)
Collect all entities and enumerations from given entities, dynamic
attributes and custom methods
|
| Modifier and Type | Method and Description |
|---|---|
GQLAbstractAttributeMetaData |
GQLDynamicAttributeMetaDataBuilder.build(Collection<GQLEnumMetaData> enumMetaDatas,
Collection<GQLEntityMetaData> entityMetaDatas,
IGQLAbstractDynamicAttribute<?> attribute)
Build dynamic attribute meta data from its
GQLAbstractCustomMethod definition |
Copyright © 2019. All rights reserved.