public class GQLAttributeRightsMetaData extends GQLAbstractMetaData
| Constructor and Description |
|---|
GQLAttributeRightsMetaData()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendToString(StringBuilder stringBuilder) |
Object |
getRole()
Get the role this attribute rights is configured for
|
boolean |
isMandatory()
Get whether this attribute must be provided during save.
|
boolean |
isMandatoryForCreate()
Get whether this attribute must be provided during parent entity
creation.
|
boolean |
isMandatoryForUpdate()
Get whether this attribute must be provided during parent entity update.
|
boolean |
isNullable()
Get whether this attribute can be null.
|
boolean |
isNullableForCreate()
Get whether this attribute can be null at parent entity creation time.
|
boolean |
isNullableForUpdate()
Get whether this attribute can be null at parent entity creation time.
|
boolean |
isReadable()
Get whether this attribute will be available in schema queries for
retrieving this attribute parent entity.
|
boolean |
isSaveable()
Get whether this attribute will be available in schema mutations for
saving this attribute parent entity.
|
GQLAttributeRightsMetaData |
setMandatory(boolean mandatory)
Set whether this attribute can be null.
|
GQLAttributeRightsMetaData |
setMandatoryForCreate(boolean mandatoryForCreate)
Set whether this attribute must be provided during parent entity
creation.
|
GQLAttributeRightsMetaData |
setMandatoryForUpdate(boolean mandatoryForUpdate)
Set whether this attribute must be provided during parent entity update.
|
GQLAttributeRightsMetaData |
setNullable(boolean nullable)
Set whether this attribute can be null.
|
GQLAttributeRightsMetaData |
setNullableForCreate(boolean nullableForCreate)
Set whether this attribute can be null at parent entity creation time.
|
GQLAttributeRightsMetaData |
setNullableForUpdate(boolean nullableForUpdate)
Set whether this attribute can be null at parent entity creation time.
|
GQLAttributeRightsMetaData |
setReadable(boolean readable)
Set whether this attribute will be available in schema queries for
retrieving this attribute parent entity.
|
GQLAttributeRightsMetaData |
setRole(Object role)
Set the role this attribute rights is configured for
|
GQLAttributeRightsMetaData |
setSaveable(boolean saveable)
Set whether this attribute will be available in schema mutations for
saving this attribute parent entity.
|
finalizeToString, toStringpublic GQLAttributeRightsMetaData()
protected void appendToString(StringBuilder stringBuilder)
appendToString in class GQLAbstractMetaDatapublic boolean isNullable()
isNullableForCreate() AND isNullableForUpdate())public GQLAttributeRightsMetaData setNullable(boolean nullable)
nullableForCreate AND nullableForUpdate to the same
given valuenullable - the nullable to setpublic boolean isMandatory()
isMandatoryForCreate() AND
isMandatoryForUpdate())public GQLAttributeRightsMetaData setMandatory(boolean mandatory)
mandatoryForCreate AND mandatoryForUpdate to the same
given valuemandatory - the mandatory to setpublic boolean isReadable()
true.public GQLAttributeRightsMetaData setReadable(boolean readable)
true.readable - the readable to setpublic Object getRole()
public GQLAttributeRightsMetaData setRole(Object role)
role - the role to setpublic boolean isSaveable()
true.public GQLAttributeRightsMetaData setSaveable(boolean saveable)
true.saveable - the saveable to setpublic boolean isNullableForCreate()
true.public GQLAttributeRightsMetaData setNullableForCreate(boolean nullableForCreate)
true.nullableForCreate - the nullableForCreate to setpublic boolean isNullableForUpdate()
true.public GQLAttributeRightsMetaData setNullableForUpdate(boolean nullableForUpdate)
true.nullableForUpdate - the nullableForUpdate to setpublic boolean isMandatoryForCreate()
isNullable() or isNullableForCreate() methods. Default
is false.public GQLAttributeRightsMetaData setMandatoryForCreate(boolean mandatoryForCreate)
setNullable(boolean) or setNullableForCreate(boolean)
methods. Default is false.mandatoryForCreate - the mandatoryForCreate to setpublic boolean isMandatoryForUpdate()
isNullable() or isNullableForUpdate() methods. Default
is false.public GQLAttributeRightsMetaData setMandatoryForUpdate(boolean mandatoryForUpdate)
setNullable(boolean) or setNullableForUpdate(boolean)
methods. Default is false.mandatoryForUpdate - the mandatoryForUpdate to setCopyright © 2019–2020. All rights reserved.