Class Discriminator
java.lang.Object
com.ibatis.sqlmap.engine.mapping.result.Discriminator
Created by IntelliJ IDEA. User: cbegin Date: May 13, 2005 Time: 11:11:05 PM To change this template use File |
Settings | File Templates.
-
Constructor Summary
ConstructorDescriptionDiscriminator
(SqlMapExecutorDelegate delegate, ResultMapping resultMapping) Instantiates a new discriminator. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the sub map.void
Bind sub maps.Gets the result mapping.Gets the sub map.void
setResultMapping
(ResultMapping resultMapping) Sets the result mapping.
-
Constructor Details
-
Discriminator
Instantiates a new discriminator.- Parameters:
delegate
- the delegateresultMapping
- the result mapping
-
-
Method Details
-
setResultMapping
Sets the result mapping.- Parameters:
resultMapping
- the new result mapping
-
getResultMapping
Gets the result mapping.- Returns:
- the result mapping
-
addSubMap
Adds the sub map.- Parameters:
discriminatorValue
- the discriminator valueresultMapName
- the result map name
-
getSubMap
Gets the sub map.- Parameters:
s
- the s- Returns:
- the sub map
-
bindSubMaps
public void bindSubMaps()Bind sub maps.
-