public class Part
extends java.lang.Object
Part.Type that is determined from inspecting the given part. The query part can then be looked up via
getProperty().| 限定符和类型 | 类和说明 |
|---|---|
static class |
Part.IgnoreCaseType
The various types of ignore case that are supported.
|
static class |
Part.Type
The type of a method name part.
|
| 构造器和说明 |
|---|
Part(java.lang.String source)
Creates a new
Part from the given method name part, the Class the part originates from and the
start parameter index. |
Part(java.lang.String source,
boolean alwaysIgnoreCase)
Creates a new
Part from the given method name part, the Class the part originates from and the
start parameter index. |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getNumberOfArguments()
Returns how many method parameters are bound by this part.
|
boolean |
getParameterRequired() |
PropertyPath |
getProperty() |
Part.Type |
getType() |
int |
hashCode() |
Part.IgnoreCaseType |
shouldIgnoreCase()
Returns whether the
PropertyPath referenced should be matched ignoring case. |
java.lang.String |
toString() |
public Part(java.lang.String source)
Part from the given method name part, the Class the part originates from and the
start parameter index.source - must not be null.clazz - must not be null.public Part(java.lang.String source,
boolean alwaysIgnoreCase)
Part from the given method name part, the Class the part originates from and the
start parameter index.source - must not be null.alwaysIgnoreCase - public boolean getParameterRequired()
public int getNumberOfArguments()
public PropertyPath getProperty()
public Part.Type getType()
public Part.IgnoreCaseType shouldIgnoreCase()
PropertyPath referenced should be matched ignoring case.public boolean equals(java.lang.Object obj)
equals 在类中 java.lang.Objectpublic int hashCode()
hashCode 在类中 java.lang.Objectpublic java.lang.String toString()
toString 在类中 java.lang.ObjectCopyright © 2020. All Rights Reserved.