Package org.apache.ibatis.annotations
Annotation Type Case
-
@Documented @Retention(RUNTIME) @Target({}) public @interface Case
The annotation that conditional mapping definition forTypeDiscriminator
.- Author:
- Clinton Begin
- See Also:
TypeDiscriminator
,Result
,Arg
,Results
,ConstructorArgs
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Arg[]
constructArgs
Return mapping definitions for constructor.Result[]
results
Return mapping definitions for property.
-
-
-
Element Detail
-
value
String value
Return the condition value to apply this mapping.- Returns:
- the condition value
-
-
-
type
Class<?> type
Return the object type that create a object using this mapping.- Returns:
- the object type
-
-
-
results
Result[] results
Return mapping definitions for property.- Returns:
- mapping definitions for property
- Default:
- {}
-
-
-
constructArgs
Arg[] constructArgs
Return mapping definitions for constructor.- Returns:
- mapping definitions for constructor
- Default:
- {}
-
-