ENTITY_TYPE - the input object value holding typeGETTER_ATTRIBUTE_TYPE - the getter value attribute typeSETTER_ATTRIBUTE_TYPE - the setter attribute argument typeQUERY_TYPE - the type of the generic query this filter will be applied onpublic abstract class GQLDynamicAttributeGetterSetterFilter<ENTITY_TYPE,GETTER_ATTRIBUTE_TYPE,SETTER_ATTRIBUTE_TYPE,QUERY_TYPE> extends GQLDynamicAttributeFilter<ENTITY_TYPE,GETTER_ATTRIBUTE_TYPE,QUERY_TYPE> implements IGQLDynamicAttributeGetter<ENTITY_TYPE,GETTER_ATTRIBUTE_TYPE>, IGQLDynamicAttributeSetter<ENTITY_TYPE,SETTER_ATTRIBUTE_TYPE>
| Constructor and Description |
|---|
GQLDynamicAttributeGetterSetterFilter()
Constructor
|
GQLDynamicAttributeGetterSetterFilter(String name,
String filteredPropertyQueryPath)
Constructor
|
GQLDynamicAttributeGetterSetterFilter(String entityName,
String name,
String filteredPropertyQueryPath)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEntityName()
Get the name of the entity holding this attribute in the GQL schema.
|
void |
setEntityName(String entityName) |
getFilteredPropertyQueryPath, setFilteredPropertyQueryPathgetName, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGetterAttributeType, getValuegetSetterAttributeType, setValuegetEntityType, getNameapplyModificationsOnRequest, getFilterAttributeType, getFilterQueryTypepublic GQLDynamicAttributeGetterSetterFilter()
public GQLDynamicAttributeGetterSetterFilter(String name, String filteredPropertyQueryPath)
name - the property name that will be available in GraphQL schemafilteredPropertyQueryPath - the query path for the dynamic filterpublic GQLDynamicAttributeGetterSetterFilter(String entityName, String name, String filteredPropertyQueryPath)
entityName - the name of the entity holding this attribute in the GQL
schema. By default this is the simple name of the entity class
taken from class generics.name - the property name that will be available in GraphQL schemafilteredPropertyQueryPath - the query path for the dynamic filterpublic String getEntityName()
getEntityName in interface IGQLDynamicAttributeSetter<ENTITY_TYPE,SETTER_ATTRIBUTE_TYPE>public void setEntityName(String entityName)
entityName - the entityName to setCopyright © 2019. All rights reserved.