Module org.seasar.doma.core
Class ScalarInParameter<BASIC,CONTAINER>
java.lang.Object
org.seasar.doma.internal.jdbc.sql.ScalarInParameter<BASIC,CONTAINER>
- All Implemented Interfaces:
InParameter<BASIC>,JdbcMappable<BASIC>,JdbcMappingHint,SqlParameter
- Direct Known Subclasses:
BasicInParameter,DomainInParameter,OptionalBasicInParameter,OptionalDomainInParameter,OptionalDoubleInParameter,OptionalIntInParameter,OptionalLongInParameter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScalarInParameter(Scalar<BASIC, CONTAINER> holder) ScalarInParameter(Scalar<BASIC, CONTAINER> holder, CONTAINER value) -
Method Summary
Modifier and TypeMethodDescription<R,P, TH extends Throwable>
Raccept(SqlParameterVisitor<R, P, TH> visitor, P p) Accepts the visitor.Returns the domain class if this object is mapped to the domain class.Returns the JDBC type if the target value is mapped to the JDBC type.getValue()Returns the parameter value.Returns the wrapper.
-
Field Details
-
scalar
-
-
Constructor Details
-
ScalarInParameter
-
ScalarInParameter
-
-
Method Details
-
getValue
Description copied from interface:SqlParameterReturns the parameter value.- Specified by:
getValuein interfaceSqlParameter- Returns:
- the parameter value
-
getWrapper
Description copied from interface:JdbcMappableReturns the wrapper.- Specified by:
getWrapperin interfaceJdbcMappable<BASIC>- Returns:
- the wrapper
-
getDomainClass
Description copied from interface:JdbcMappingHintReturns the domain class if this object is mapped to the domain class.- Specified by:
getDomainClassin interfaceJdbcMappingHint- Returns:
- the domain class
-
getJdbcType
Description copied from interface:JdbcMappingHintReturns the JDBC type if the target value is mapped to the JDBC type.- Specified by:
getJdbcTypein interfaceJdbcMappingHint- Returns:
- the JDBC type
-
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
-