public final class NoneListener extends Object implements InsertListener, UpdateListener, SetListener
Constructor and Description |
---|
NoneListener() |
Modifier and Type | Method and Description |
---|---|
void |
onInsert(Object entity)
新增操作的前置操作。
|
Object |
onSet(Object entity,
String property,
Object value)
实体类属性设置。
|
void |
onUpdate(Object entity)
更新操作的前置操作。
|
public void onInsert(Object entity)
InsertListener
onInsert
in interface InsertListener
entity
- 实体类public void onUpdate(Object entity)
UpdateListener
onUpdate
in interface UpdateListener
entity
- 实体类public Object onSet(Object entity, String property, Object value)
SetListener
onSet
in interface SetListener
entity
- 实体类property
- 属性名value
- 属性值Copyright © 2024. All rights reserved.