public class NamedParameterDescriptor extends Object implements Serializable
Constructor and Description |
---|
NamedParameterDescriptor(String name,
Type expectedType,
int[] sourceLocations,
boolean jpaStyle)
Constructs a NamedParameterDescriptor
|
Modifier and Type | Method and Description |
---|---|
Type |
getExpectedType() |
String |
getName() |
int[] |
getSourceLocations() |
boolean |
isJpaStyle() |
void |
resetExpectedType(Type type)
Set the parameters expected type
|
public NamedParameterDescriptor(String name, Type expectedType, int[] sourceLocations, boolean jpaStyle)
name
- The name of the parameterexpectedType
- The expected type of the parameter, according to the translatorsourceLocations
- The locations of the named parameters (aye aye aye)jpaStyle
- Was the parameter a JPA style "named parameter"?public String getName()
public Type getExpectedType()
public int[] getSourceLocations()
public boolean isJpaStyle()
public void resetExpectedType(Type type)
type
- The new expected typeCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.