public static class ProcedureCallMementoImpl.ParameterMemento extends Object
Constructor and Description |
---|
ParameterMemento(int position,
String name,
ParameterMode mode,
Class type,
Type hibernateType)
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() |
public ParameterMemento(int position, String name, ParameterMode mode, Class type, Type hibernateType)
position
- The parameter positionname
- The parameter namemode
- The parameter modetype
- The Java type of the parameterhibernateType
- The Hibernate Type.public Integer getPosition()
public String getName()
public ParameterMode getMode()
public Class getType()
public Type getHibernateType()
public static ProcedureCallMementoImpl.ParameterMemento fromRegistration(ParameterRegistrationImplementor registration)
registration
- The parameter registration from a ProcedureCallCopyright © 2001-2017 Red Hat, Inc. All Rights Reserved.