com.github.aidensuen.mongo.mapping.DynamicCommand Maven / Gradle / Ivy
package com.github.aidensuen.mongo.mapping;
import com.github.aidensuen.util.StringUtil;
public class DynamicCommand {
private String dynamicCommand;
public DynamicCommand(String dynamicCommand) {
if (StringUtil.isEmpty(dynamicCommand)) {
this.dynamicCommand = "{}";
} else {
this.dynamicCommand = dynamicCommand;
}
}
public String getDynamicCommand() {
return dynamicCommand;
}
public void setDynamicCommand(String dynamicCommand) {
this.dynamicCommand = dynamicCommand;
}
}