@groovy.transform.CompileStatic @groovy.transform.builder.Builder(builderStrategy: SimpleStrategy, prefix: ) class Attribute extends Property
Configures how a Java property maps to a Document attribute
Fields inherited from class | Fields |
---|---|
class Property |
accessType, cascade, cascadeValidate, cascades, derived, enumType, fetchStrategy, formula, generator, inList, index, lazy, max, maxSize, min, minSize, nullable, orphanRemoval, propertyName, reference, scale, targetName, unique, uniquenessGroup |
Constructor and description |
---|
Attribute
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
attr(java.lang.String name) |
|
void |
attribute(java.lang.String name) |
|
void |
setAttr(java.lang.String name) |
|
void |
setAttribute(java.lang.String name) |
Methods inherited from class | Name |
---|---|
class Property |
clone, configureExisting, configureExisting, fetch, fetch, getEnumType, getEnumTypeObject, getLazy, getName, getUniquenessGroup, isLazy, isUnique, isUniqueWithinGroup, name, setEnumType, setEnumType, setFetch, setLazy, setName, setRange, setSize, setUnique, setUnique, setUnique, setUniquenessGroup, unique, unique, unique |