com.xlrit.gears.base.choice.ChoicesFactory Maven / Gradle / Ivy
package com.xlrit.gears.base.choice;
import java.util.stream.Stream;
import com.xlrit.gears.base.model.Identifiable;
public interface ChoicesFactory {
Choices fromValues(Stream> values);
Choices fromValues(Iterable> values);
Choices fromValues(Object... values);
Choices fromElements(Class entityType, Stream elements);
Choices fromElements(Class entityType, Iterable elements);
QueryChoicesBuilder fromQuery(String fromClause);
}