com.mybatis.jpa.definition.property.UpdateDefinitionProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-jpa Show documentation
Show all versions of mybatis-jpa Show documentation
The plugins for mybatis, in order to provider the ability to handler jpa.
package com.mybatis.jpa.definition.property;
import com.mybatis.jpa.annotation.UpdateDefinition;
/**
* @author sway.li
**/
public class UpdateDefinitionProperty implements AnnotationProperty {
private UpdateDefinition annotation;
public UpdateDefinitionProperty(UpdateDefinition annotation) {
this.annotation = annotation;
}
@Override
public boolean selective() {
return annotation.selective();
}
@Override
public String where() {
return annotation.where();
}
}