public class GQLDynamicAttributeRegistry extends Object
IGQLDynamicAttributeSetter and
IGQLDynamicAttributeGetter| Constructor and Description |
|---|
GQLDynamicAttributeRegistry(GQLInternalMetaModel metaModel)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
<ENTITY_TYPE,SETTER_ATTRIBUTE_TYPE> |
getGetter(Class<?> entityClass,
String attributeName)
Get optional registered
IGQLDynamicAttributeGetter for given
entity class and attribute name |
<ENTITY_TYPE,SETTER_ATTRIBUTE_TYPE> |
getSetter(Class<?> entityClass,
String attributeName)
Get optional registered
IGQLDynamicAttributeSetter for given
entity class and attribute name |
public GQLDynamicAttributeRegistry(GQLInternalMetaModel metaModel)
metaModel - the GQLInternalMetaModelpublic <ENTITY_TYPE,SETTER_ATTRIBUTE_TYPE> Optional<IGQLDynamicAttributeSetter<ENTITY_TYPE,SETTER_ATTRIBUTE_TYPE>> getSetter(Class<?> entityClass, String attributeName)
IGQLDynamicAttributeSetter for given
entity class and attribute nameENTITY_TYPE - the entity typeSETTER_ATTRIBUTE_TYPE - the attribute type within the
IGQLDynamicAttributeSetterentityClass - the class of the entity the IGQLDynamicAttributeSetter
is registered onattributeName - the name of the attribute the
IGQLDynamicAttributeSetter is registered on within the
entity with given entityClassOptional IGQLDynamicAttributeSetterpublic <ENTITY_TYPE,SETTER_ATTRIBUTE_TYPE> Optional<IGQLDynamicAttributeGetter<ENTITY_TYPE,SETTER_ATTRIBUTE_TYPE>> getGetter(Class<?> entityClass, String attributeName)
IGQLDynamicAttributeGetter for given
entity class and attribute nameENTITY_TYPE - the entity typeSETTER_ATTRIBUTE_TYPE - the attribute type within the
IGQLDynamicAttributeSetterentityClass - the class of the entity the IGQLDynamicAttributeGetter
is registered onattributeName - the name of the attribute the
IGQLDynamicAttributeGetter is registered on within the
entity with given entityClassOptional IGQLDynamicAttributeGetterCopyright © 2019. All rights reserved.