public static Expression asEquals ( List < String > properties ) { PredicateDefAnd predicate = PredicateDefAnd . create ( ) ; for ( String property : properties ) { predicate . add ( cmpEq ( property ( self ( ) , property ) , property ( cast ( arg ( 0 ) , ExpressionCast . THIS_TYPE ) , property ) ) ) ; } return predicate ; }
Verifies that the properties are equal