@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
/ *
* Copyright 2008 - 2014 the original author or authors .
* Copyright 2008 - 2017 the original author or authors .
*
* Licensed under the Apache License , Version 2 . 0 ( the "License" ) ;
* you may not use this file except in compliance with the License .
@ -34,7 +34,6 @@ import org.springframework.util.StringUtils;
@@ -34,7 +34,6 @@ import org.springframework.util.StringUtils;
*
* @author Oliver Gierke
* @author Martin Baumgartner
* @author Michael Cramer
* /
public class Part {
@ -178,6 +177,7 @@ public class Part {
@@ -178,6 +177,7 @@ public class Part {
*
* @author Oliver Gierke
* @author Thomas Darimont
* @author Michael Cramer
* /
public static enum Type {
@ -185,12 +185,12 @@ public class Part {
@@ -185,12 +185,12 @@ public class Part {
"IsLessThan" , "LessThan" ) , LESS_THAN_EQUAL ( "IsLessThanEqual" , "LessThanEqual" ) , GREATER_THAN ( "IsGreaterThan" ,
"GreaterThan" ) , GREATER_THAN_EQUAL ( "IsGreaterThanEqual" , "GreaterThanEqual" ) , BEFORE ( "IsBefore" , "Before" ) , AFTER (
"IsAfter" , "After" ) , NOT_LIKE ( "IsNotLike" , "NotLike" ) , LIKE ( "IsLike" , "Like" ) , STARTING_WITH ( "IsStartingWith" ,
"StartingWith" , "StartsWith" ) , ENDING_WITH ( "IsEndingWith" , "EndingWith" , "EndsWith" ) , NOT_CONTAINING (
"IsNotContaining" , "NotContaining" , "NotContains " ) , CONTAINING ( "IsContaining" , "Containing" , "Contains" ) , NOT_IN (
"IsNotIn" , "NotIn" ) , IN ( "IsIn" , "In" ) , NEAR ( "IsNear" , "Near" ) , WITHIN ( "IsWithin" , "Within" ) , REGEX (
"MatchesRegex" , "Matches" , "Regex" ) , EXISTS ( 0 , "Exists" ) , TRUE ( 0 , "IsTrue" , "True" ) , FALSE ( 0 , "IsFalse" ,
"False" ) , NEGATING_SIMPLE_PROPERTY ( "IsNot" , "Not" ) , SIMPLE_PROPERTY ( "Is" , "Equals" ) , IS_NOT_EMPTY ( 0 , "IsNotEmpty " ,
"NotEmpty" ) , IS_EMPTY ( 0 , "IsEmpty" , "Empty " ) ;
"StartingWith" , "StartsWith" ) , ENDING_WITH ( "IsEndingWith" , "EndingWith" , "EndsWith" ) , IS_NOT_EMPTY ( 0 , "IsNotEmpty" ,
"NotEmpty" ) , IS_EMPTY ( 0 , "IsEmpty" , "Empty " ) , NOT_ CONTAINING( "IsNot Containing" , "Not Containing" , "Not Contains" ) ,
CONTAINING ( "IsContaining" , "Containing" , "Contains" ) , NOT_IN ( "IsNotIn" , "NotIn" ) , IN ( "IsIn" , "In" ) , NEAR ( "IsNear" ,
"Near" ) , WITHIN ( "IsWithin" , "Within" ) , REGEX ( " MatchesRegex" , "Matches" , "Regex" ) , EXISTS ( 0 , "Exists" ) , TRUE ( 0 ,
"IsTrue" , "True" ) , FALSE ( 0 , "IsFalse" , " False" ) , NEGATING_SIMPLE_PROPERTY ( "IsNot" , "Not" ) , SIMPLE_PROPERTY ( "Is" ,
"Equals " ) ;
// Need to list them again explicitly as the order is important
// (esp. for IS_NULL, IS_NOT_NULL)