public class Part extends Object
Part.Type that is determined from inspecting the given part. The query part can then be looked up via
getProperty().| Modifier and Type | Class and Description |
|---|---|
static class |
Part.IgnoreCaseType
The various types of ignore case that are supported.
|
static class |
Part.Type
The type of a method name part.
|
| Constructor and Description |
|---|
Part(String source,
Class<?> clazz)
|
Part(String source,
Class<?> clazz,
boolean alwaysIgnoreCase)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getNumberOfArguments()
Returns how many method parameters are bound by this part.
|
PropertyPath |
getProperty() |
Part.Type |
getType() |
int |
hashCode() |
Part.IgnoreCaseType |
shouldIgnoreCase()
Returns whether the
PropertyPath referenced should be matched ignoring case. |
String |
toString() |
public Part(String source, Class<?> clazz)
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 int getNumberOfArguments()
public PropertyPath getProperty()
public Part.Type getType()
public Part.IgnoreCaseType shouldIgnoreCase()
PropertyPath referenced should be matched ignoring case.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.