public class Specs extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Specs.ByExampleSpecification<T,B>
Implementação de specificarion por exemplo.
|
| Constructor and Description |
|---|
Specs() |
| Modifier and Type | Method and Description |
|---|---|
static <T,B> org.springframework.data.jpa.domain.Specification<T> |
byExample(Class<T> clazz,
B entity)
Recupera por atributos da classe.
|
protected static Specs specs
public static <T,B> org.springframework.data.jpa.domain.Specification<T> byExample(Class<T> clazz, B entity)
T - Tipo da classeB - entidadeclazz - clazzentity - entitySpecificationCopyright © 2017 EArchitecture. All rights reserved.