public class GQLAttributeEntityMetaData extends GQLAbstractAttributeMetaData
| Constructor and Description |
|---|
GQLAttributeEntityMetaData()
Default constructor
|
GQLAttributeEntityMetaData(String name,
Class<?> entityClass)
Constructor passing name and entity class and keeping default values for
other attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendToString(StringBuilder stringBuilder) |
Class<?> |
getEntityClass() |
boolean |
isEmbedded() |
GQLAttributeEntityMetaData |
setEmbedded(boolean embedded) |
GQLAttributeEntityMetaData |
setEntityClass(Class<?> entityClass) |
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 GQLAttributeEntityMetaData()
public GQLAttributeEntityMetaData(String name, Class<?> entityClass)
name - the name for the attribute. This name will be used for
building GraphQL schema : queries, mutations, descriptions
etc.entityClass - the entity classprotected void appendToString(StringBuilder stringBuilder)
appendToString in class GQLAbstractAttributeMetaDatapublic Class<?> getEntityClass()
public GQLAttributeEntityMetaData setEntityClass(Class<?> entityClass)
entityClass - the entityClass to setpublic boolean isEmbedded()
public GQLAttributeEntityMetaData setEmbedded(boolean embedded)
embedded - the embedded to setCopyright © 2019. All rights reserved.