public @interface GQLAttributeRights
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
exclude
Get whether this attribute is excluded from transport to client.
|
boolean |
mandatory
Get whether this attribute is mandatory when parent entity is
created/updated.
|
boolean |
mandatoryForCreate
Get whether this attribute is mandatory when parent entity is created.
|
boolean |
mandatoryForUpdate
Get whether this attribute is mandatory when parent entity is updated.
|
boolean |
nullable
Get whether this attribute can be nullified when parent entity is
created/updated.
|
boolean |
nullableForCreate
Get whether this attribute can be nullified when parent entity is
created.
|
boolean |
nullableForUpdate
Get whether this attribute can be nullified when parent entity is
updated.
|
boolean |
read
Get whether this attribute is readable by client.
|
boolean |
readOnly
Get whether this attribute is read only (if true it is equivalent to
read==true AND save==false).
|
String[] |
roles
The role these rights are for.
|
boolean |
save
Get whether this attribute can be written by client when
creating/updating parent entity instance.
|
public abstract String[] roles
public abstract boolean exclude
public abstract boolean readOnly
public abstract boolean read
public abstract boolean save
public abstract boolean nullable
nullableForCreate() or nullableForUpdate() instead.public abstract boolean nullableForCreate
nullable() property.public abstract boolean nullableForUpdate
nullable() property.public abstract boolean mandatory
mandatoryForCreate() or mandatoryForUpdate() instead.public abstract boolean mandatoryForCreate
mandatory()
property.public abstract boolean mandatoryForUpdate
mandatory()
property.Copyright © 2019–2020. All rights reserved.