ENTITY_TYPE - the type of the entity this dynamic attribute is registered onGETTER_ATTRIBUTE_TYPE - the type of this dynamic attributepublic interface IGQLDynamicAttributeGetter<ENTITY_TYPE,GETTER_ATTRIBUTE_TYPE> extends IGQLAbstractDynamicAttribute<ENTITY_TYPE>
| Modifier and Type | Method and Description |
|---|---|
default <QUERY_TYPE> |
applyModificationsOnRequest(QUERY_TYPE query)
Apply modifications on the query this filter will be applied on.
|
default String |
getFilterQueryPath()
Get the exact path of the property on which the filter will be applied
|
default Type |
getGetterAttributeType() |
GETTER_ATTRIBUTE_TYPE |
getValue(ENTITY_TYPE source)
Get dynamic value computed from given input object
|
getEntityType, getNamedefault String getFilterQueryPath()
default <QUERY_TYPE> void applyModificationsOnRequest(QUERY_TYPE query)
QUERY_TYPE - the query typequery - the generic queryGETTER_ATTRIBUTE_TYPE getValue(ENTITY_TYPE source)
source - the source objectdefault Type getGetterAttributeType()
Copyright © 2019. All rights reserved.