Errai 3.0.1-SNAPSHOT

org.jboss.errai.jpa.sync.client.shared
Class EntityComparator

java.lang.Object
  extended by org.jboss.errai.jpa.sync.client.shared.EntityComparator

public class EntityComparator
extends Object


Constructor Summary
EntityComparator(javax.persistence.metamodel.Metamodel metamodel, JpaAttributeAccessor attributeAccessor)
           
 
Method Summary
<X> boolean
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
 

Constructor Detail

EntityComparator

public EntityComparator(javax.persistence.metamodel.Metamodel metamodel,
                        JpaAttributeAccessor attributeAccessor)
Method Detail

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:

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.