All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.javaoffers.batis.modelhelper.anno.fun.params.If Maven / Gradle / Ivy

There is a newer version: 3.5.11.12
Show newest version
package com.javaoffers.batis.modelhelper.anno.fun.params;

import com.javaoffers.batis.modelhelper.anno.ColName;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * if(colName, expr1, expr2). Usually used with @ColName
 * sample:
 * 

* @ColName("sex = 1") * @If(ep1 = "boy",ep2 = "girl") * private String colName12; // IF(sex = 1,boy,girl) *

* @author mingJie */ @Target({ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) @Inherited public @interface If { public static final String TAG = "IF"; /** * expr1 */ String ep1(); /** * expr2 */ String ep2(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy