org.jboss.errai.jpa.sync.client.shared
Class EntityComparator
java.lang.Object
org.jboss.errai.jpa.sync.client.shared.EntityComparator
public class EntityComparator
- extends Object
Method Summary |
|
isDifferent(X lhs,
X rhs)
Compares two JPA Managed Type instances to see if they are the same. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityComparator
public EntityComparator(javax.persistence.metamodel.Metamodel metamodel,
JpaAttributeAccessor attributeAccessor)
isDifferent
public <X> boolean isDifferent(X lhs,
X rhs)
- Compares two JPA Managed Type instances to see if they are the same.
- Parameters:
lhs
- rhs
-
- Returns:
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.