ENTITY_TYPE - the input object value holding typeSETTER_ATTRIBUTE_TYPE - the setter attribute argument typepublic abstract class GQLDynamicAttributeSetter<ENTITY_TYPE,SETTER_ATTRIBUTE_TYPE> extends GQLAbstractDynamicAttribute<ENTITY_TYPE> implements IGQLDynamicAttributeSetter<ENTITY_TYPE,SETTER_ATTRIBUTE_TYPE>
| Constructor and Description |
|---|
GQLDynamicAttributeSetter()
Constructor
|
GQLDynamicAttributeSetter(String name)
Constructor
|
GQLDynamicAttributeSetter(String entityName,
String name)
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) |
getName, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSetterAttributeType, setValuegetEntityType, getNamepublic GQLDynamicAttributeSetter()
public GQLDynamicAttributeSetter(String name)
name - the property name that will be available in GraphQL schemapublic GQLDynamicAttributeSetter(String entityName, String name)
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 schemapublic String getEntityName()
IGQLDynamicAttributeSettergetEntityName in interface IGQLDynamicAttributeSetter<ENTITY_TYPE,SETTER_ATTRIBUTE_TYPE>public void setEntityName(String entityName)
entityName - the entityName to setCopyright © 2019. All rights reserved.