mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
27 lines
519 B
Java
27 lines
519 B
Java
package com.avaje.ebeaninternal.server.util;
|
|
|
|
import com.avaje.ebeaninternal.api.SpiQuery;
|
|
|
|
/**
|
|
* Parameters used to create the specific Map Set or List object.
|
|
*/
|
|
public class BeanCollectionParams {
|
|
|
|
private final SpiQuery.Type manyType;
|
|
|
|
/**
|
|
* Construct without a specific capacity.
|
|
*/
|
|
public BeanCollectionParams(SpiQuery.Type manyType) {
|
|
this.manyType = manyType;
|
|
}
|
|
|
|
/**
|
|
* Return the type Map Set or List.
|
|
*/
|
|
public SpiQuery.Type getManyType() {
|
|
return manyType;
|
|
}
|
|
|
|
}
|