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

io.katharsis.queryspec.IncludeSpec Maven / Gradle / Ivy

There is a newer version: 2.6.3
Show newest version
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