TEntity
- The type of entity.public class EntitySchemaProperty<TEntity> extends ArchivedProperty
EntitySchema
.Constructor and Description |
---|
EntitySchemaProperty(String name,
Class<?> type,
EntityPropertyGetter<TEntity> getter,
EntityPropertySetter<TEntity> setter)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
EntityPropertyGetter<TEntity> |
getGetter()
Gets a callback to get the value of the property.
|
EntityPropertySetter<TEntity> |
getSetter()
Gets a callback to set the value of the property.
|
getName, getParentProperty, getPropertyType
public EntitySchemaProperty(String name, Class<?> type, EntityPropertyGetter<TEntity> getter, EntityPropertySetter<TEntity> setter)
name
- The name of the property.type
- The type of the property.getter
- A callback to get the value of the property.setter
- A callback to set the value of the property.public final EntityPropertyGetter<TEntity> getGetter()
public final EntityPropertySetter<TEntity> getSetter()