Module org.seasar.doma.core
Class AbstractResultListParameter<ELEMENT>
java.lang.Object
org.seasar.doma.internal.jdbc.sql.AbstractResultListParameter<ELEMENT>
- All Implemented Interfaces:
ListParameter<ELEMENT>,ResultListParameter<ELEMENT>,ResultParameter<List<ELEMENT>>,SqlParameter
- Direct Known Subclasses:
EntityResultListParameter,MapResultListParameter,ScalarResultListParameter
public abstract class AbstractResultListParameter<ELEMENT>
extends Object
implements ResultListParameter<ELEMENT>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,P, TH extends Throwable>
Raccept(SqlParameterVisitor<R, P, TH> visitor, P p) Accepts the visitor.voidAdds the list element.getName()Returns the parameter name.getValue()Returns the parameter value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.seasar.doma.jdbc.ListParameter
createObjectProvider
-
Field Details
-
list
-
-
Constructor Details
-
AbstractResultListParameter
-
-
Method Details
-
getName
Description copied from interface:ListParameterReturns the parameter name.- Specified by:
getNamein interfaceListParameter<ELEMENT>- Returns:
- the parameter name
-
add
Description copied from interface:ListParameterAdds the list element.- Specified by:
addin interfaceListParameter<ELEMENT>- Parameters:
element- the list element
-
getValue
Description copied from interface:SqlParameterReturns the parameter value.- Specified by:
getValuein interfaceSqlParameter- Returns:
- the parameter value
-
getResult
- Specified by:
getResultin interfaceResultParameter<ELEMENT>
-
accept
Description copied from interface:SqlParameterAccepts the visitor.- Specified by:
acceptin interfaceSqlParameter- Type Parameters:
R- the result typeP- the parameter typeTH- the throwable type- Parameters:
visitor- the visitorp- the parameter- Returns:
- the result
- Throws:
TH- the exception
-