public class GQLAttributeListEntityMetaData extends GQLAbstractAttributeMetaData
| Constructor and Description |
|---|
GQLAttributeListEntityMetaData()
Default constructor
|
GQLAttributeListEntityMetaData(String name,
Class<?> foreignClass)
Constructor passing name and foreign entity class and keeping default
values for other attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendToString(StringBuilder stringBuilder) |
Class<?> |
getForeignClass()
Get the foreign class
|
boolean |
isCascadeSave()
Set whether save has to be cascaded to foreign entities when executing
save mutation
|
boolean |
isEmbedded() |
GQLAttributeListEntityMetaData |
setCascadeSave(boolean cascadeSave)
Get whether save has to be cascaded to foreign entities when executing
save mutation
|
GQLAttributeListEntityMetaData |
setEmbedded(boolean embedded) |
GQLAttributeListEntityMetaData |
setForeignClass(Class<?> foreignClass)
Set the foreign class
|
getDescription, getDynamicAttributeGetter, getDynamicAttributeSetter, getName, isDynamic, isDynamicAttributeGetter, isDynamicAttributeSetter, isFilterable, isMandatory, isMandatoryForCreate, isMandatoryForUpdate, isNullable, isNullableForCreate, isNullableForUpdate, isReadable, isSaveable, setDescription, setDynamicAttributeGetter, setDynamicAttributeSetter, setFilterable, setMandatory, setMandatoryForCreate, setMandatoryForUpdate, setName, setNullable, setNullableForCreate, setNullableForUpdate, setReadable, setSaveablefinalizeToString, toStringpublic GQLAttributeListEntityMetaData()
public GQLAttributeListEntityMetaData(String name, Class<?> foreignClass)
name - the name for the attribute. This name will be used for
building GraphQL schema : queries, mutations, descriptions
etc.foreignClass - the foreign entity classprotected void appendToString(StringBuilder stringBuilder)
appendToString in class GQLAbstractAttributeMetaDatapublic Class<?> getForeignClass()
public GQLAttributeListEntityMetaData setForeignClass(Class<?> foreignClass)
foreignClass - the foreignClass to setpublic boolean isCascadeSave()
public GQLAttributeListEntityMetaData setCascadeSave(boolean cascadeSave)
cascadeSave - the cascadeSave to setpublic boolean isEmbedded()
public GQLAttributeListEntityMetaData setEmbedded(boolean embedded)
embedded - the embedded to setCopyright © 2019. All rights reserved.