public class NamedParameterDescriptor
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
NamedParameterDescriptor(java.lang.String name,
Type expectedType,
int[] sourceLocations,
boolean jpaStyle)
Constructs a NamedParameterDescriptor
|
| Modifier and Type | Method and Description |
|---|---|
Type |
getExpectedType() |
java.lang.String |
getName() |
int[] |
getSourceLocations() |
boolean |
isJpaStyle() |
void |
resetExpectedType(Type type)
Set the parameters expected type
|
public NamedParameterDescriptor(java.lang.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 java.lang.String getName()
public Type getExpectedType()
public int[] getSourceLocations()
public boolean isJpaStyle()
public void resetExpectedType(Type type)
type - The new expected typeCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.