public class EntityDefinition extends ClientsClassDefinition
EntityType| Modifier and Type | Class and Description |
|---|---|
static class |
EntityDefinition.EntityDefinitionBuilder
Full recipe for Entity,
allows to set all optional attributes of EntityDefinition:
Id-property, ignoredProperties and typeAlias, for example:
EntityDefinitionBuilder.entityDefinition(entity)
.withIdPropertyName(idPropertyName)
.withIgnoredProperties(ignoredProperties)
.withTypeName(typeName)
.build()
|
ClientsClassDefinition.ClientsClassDefinitionBuilder<T extends ClientsClassDefinition.ClientsClassDefinitionBuilder>| Constructor and Description |
|---|
EntityDefinition(java.lang.Class<?> entity)
Recipe for Entity with Id-property selected by @Id annotation
|
EntityDefinition(java.lang.Class<?> entity,
java.lang.String idPropertyName)
Recipe for Entity with Id-property selected explicitly by name
|
EntityDefinition(java.lang.Class<?> entity,
java.lang.String idPropertyName,
java.util.List<java.lang.String> ignoredProperties)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIdPropertyName() |
boolean |
hasCustomId() |
equals, getBaseJavaClass, getIgnoredProperties, getTypeName, hashCodepublic EntityDefinition(java.lang.Class<?> entity)
public EntityDefinition(java.lang.Class<?> entity,
java.lang.String idPropertyName)
@Deprecated
public EntityDefinition(java.lang.Class<?> entity,
java.lang.String idPropertyName,
java.util.List<java.lang.String> ignoredProperties)
EntityDefinition.EntityDefinitionBuilder