io.katharsis.queryspec.IncludeSpec Maven / Gradle / Ivy
package io.katharsis.queryspec;
import java.io.Serializable;
import java.util.List;
import io.katharsis.utils.StringUtils;
public abstract class IncludeSpec extends AbstractPathSpec implements Serializable {
private static final long serialVersionUID = -2629584104921925080L;
public IncludeSpec(List path) {
super(path);
if (path == null || path.isEmpty()) {
throw new IllegalArgumentException("Parameters may not be empty");
}
}
@Override
public String toString() {
return StringUtils.join(".", attributePath);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy