public static class ProcedureCallMementoImpl.ParameterMemento extends Object
Constructor and Description |
---|
ParameterMemento(int position,
String name,
ParameterMode mode,
Class type,
Type hibernateType,
boolean passNulls)
Create the memento
|
Modifier and Type | Method and Description |
---|---|
static ProcedureCallMementoImpl.ParameterMemento |
fromRegistration(ParameterRegistrationImplementor registration)
Build a ParameterMemento from the given parameter registration
|
Type |
getHibernateType() |
ParameterMode |
getMode() |
String |
getName() |
Integer |
getPosition() |
Class |
getType() |
boolean |
isPassNullsEnabled() |
public ParameterMemento(int position, String name, ParameterMode mode, Class type, Type hibernateType, boolean passNulls)
position
- The parameter positionname
- The parameter namemode
- The parameter modetype
- The Java type of the parameterhibernateType
- The Hibernate Type.passNulls
- Should NULL values to passed to the database?public Integer getPosition()
public String getName()
public ParameterMode getMode()
public Class getType()
public Type getHibernateType()
public boolean isPassNullsEnabled()
public static ProcedureCallMementoImpl.ParameterMemento fromRegistration(ParameterRegistrationImplementor registration)
registration
- The parameter registration from a ProcedureCallCopyright © 2017 JBoss by Red Hat. All rights reserved.