net.n2oapp.framework.api.metadata.datasource.AbstractDatasource Maven / Gradle / Ivy
package net.n2oapp.framework.api.metadata.datasource;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import net.n2oapp.framework.api.data.validation.Validation;
import net.n2oapp.framework.api.metadata.Compiled;
import net.n2oapp.framework.api.metadata.aware.IdAware;
import net.n2oapp.framework.api.metadata.meta.Dependency;
import net.n2oapp.framework.api.rest.Paging;
import java.util.List;
import java.util.Map;
/**
* Абстрактная реализация клиентской модели источника данных
*/
@Getter
@Setter
public abstract class AbstractDatasource implements Compiled, IdAware {
@JsonProperty
private String id;
@JsonProperty
private List dependencies;
@JsonProperty
private Map> validations;
@JsonProperty
private Map> filterValidations;
@JsonProperty
private Paging paging;
@JsonProperty
private Map sorting;
}