public class DefaultIdUniquenessResolver extends Object implements IdUniquenessResolver
Constructor and Description |
---|
DefaultIdUniquenessResolver() |
Modifier and Type | Method and Description |
---|---|
boolean |
areIdsUniqueForClasses(IndexedTypeIdentifier firstEntity,
IndexedTypeIdentifier secondEntity)
Returns
true if the same identifier value cannot be shared between
two class instances of entityInIndex and otherEntityInIndex . |
public boolean areIdsUniqueForClasses(IndexedTypeIdentifier firstEntity, IndexedTypeIdentifier secondEntity)
IdUniquenessResolver
true
if the same identifier value cannot be shared between
two class instances of entityInIndex
and otherEntityInIndex
.areIdsUniqueForClasses
in interface IdUniquenessResolver
firstEntity
- one entity typesecondEntity
- the other entity typetrue
if the same identifier value cannot be share between
two class instances of entityInIndex
and otherEntityInIndex
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved