Constructor and Description |
---|
CmdFilterEntity(java.lang.Class<T> type,
T entity)
create a new command for get filterd entities from database.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<T> |
getEntities()
returns null if no entities matches; otherwise a list of entities.
|
T |
getFilterEntity() |
java.lang.Class<T> |
getType()
gets the Class Type of the model
|
void |
setEntities(java.util.List<?> matches) |
void |
setFilterEntity(T filterEntity) |
public java.lang.Class<T> getType()
public java.util.List<T> getEntities()
public void setEntities(java.util.List<?> matches)
public T getFilterEntity()
public void setFilterEntity(T filterEntity)