@groovy.transform.CompileStatic @groovy.transform.builder.Builder(builderStrategy: SimpleStrategy, prefix: ) class Attribute extends Property
Configures how a Java property maps to a Document attribute
Properties inherited from class | Properties |
---|---|
class Property |
accessType, cascade, cascadeValidate, cascades, derived, enumType, enumType, fetchStrategy, formula, generator, inList, index, lazy, lazy, max, maxSize, min, minSize, name, nullable, orphanRemoval, reference, scale, targetName, unique |
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 |