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

ai.stapi.graphoperations.graphLoader.search.SearchOption Maven / Gradle / Ivy

There is a newer version: 0.3.2
Show newest version
package ai.stapi.graphoperations.graphLoader.search;

import ai.stapi.graphoperations.graphLoader.search.filterOption.AbstractFilterOption;
import ai.stapi.graphoperations.graphLoader.search.filterOption.FilterOption;
import ai.stapi.graphoperations.graphLoader.search.paginationOption.AbstractPaginationOption;
import ai.stapi.graphoperations.graphLoader.search.paginationOption.PaginationOption;
import ai.stapi.graphoperations.graphLoader.search.sortOption.AbstractSortOption;
import ai.stapi.graphoperations.graphLoader.search.sortOption.SortOption;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "optionType")
@JsonSubTypes({
    @JsonSubTypes.Type(value = FilterOption.class, name = AbstractFilterOption.OPTION_TYPE),
    @JsonSubTypes.Type(value = SortOption.class, name = AbstractSortOption.OPTION_TYPE),
    @JsonSubTypes.Type(value = PaginationOption.class, name = AbstractPaginationOption.OPTION_TYPE)
})
public interface SearchOption {

  String getOptionType();

  String getStrategy();

  ParametersType getParameters();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy