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

com.javaoffers.batis.modelhelper.anno.fun.params.IfNull 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.constants.ModelHelpperConstants;

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;

/**
 * ifNull(colName, 'defalut value').
 * sample:
 * 

* @ColName("name") * @IfNull("'Amop'") * private String colName; *

* create by cmj */ @Target({ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) @Inherited public @interface IfNull { public static final String TAG = "IFNULL"; /** * defalut value */ String value() ; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy