类 DuplicationStrategyImpl
- java.lang.Object
-
- org.hibernate.cfg.beanvalidation.DuplicationStrategyImpl
-
- 所有已实现的接口:
DuplicationStrategy
public class DuplicationStrategyImpl extends Object implements DuplicationStrategy
- 作者:
- Steve Ebersole
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.hibernate.event.service.spi.DuplicationStrategy
DuplicationStrategy.Action
-
-
字段概要
字段 修饰符和类型 字段 说明 static DuplicationStrategyImplINSTANCE
-
构造器概要
构造器 构造器 说明 DuplicationStrategyImpl()
-
-
-
字段详细资料
-
INSTANCE
public static final DuplicationStrategyImpl INSTANCE
-
-
方法详细资料
-
areMatch
public boolean areMatch(Object listener, Object original)
从接口复制的说明:DuplicationStrategyAre the two listener instances considered a duplication?- 指定者:
areMatch在接口中DuplicationStrategy- 参数:
listener- The listener we are currently trying to registeroriginal- An already registered listener- 返回:
- true if the two instances are considered a duplication; false otherwise
-
getAction
public DuplicationStrategy.Action getAction()
从接口复制的说明:DuplicationStrategyHow should a duplication be handled?- 指定者:
getAction在接口中DuplicationStrategy- 返回:
- The strategy for handling duplication
-
-