de.tsl2.nano.service.util.finder.InSelection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.serviceaccess Show documentation
Show all versions of tsl2.nano.serviceaccess Show documentation
TSL2 JEE Service Access (Generic Services for Entity Access, JEE File-System-Connector, Generic Featuring, Job-Scheduling, BeanContainer, Batch, Comfortable Bean Query Definitions, JAAS, Authentification, Authorization, )
The newest version!
/*
* File: $HeadURL$
* Id : $Id$
*
* created by: Thomas Schneider, Thomas Schneider
* created on: Oct 10, 2012
*
* Copyright: (c) Thomas Schneider 2012, all rights reserved
*/
package de.tsl2.nano.service.util.finder;
import static de.tsl2.nano.service.util.ServiceUtil.addInSelection;
import java.util.Arrays;
import java.util.Collection;
import de.tsl2.nano.core.util.Util;
/**
* finder to load a collection of beans having attribute values that are contained in the given selection.
*
* @author Thomas Schneider, Thomas Schneider
* @version $Revision$
*/
public class InSelection extends AbstractFinder {
/** serialVersionUID */
private static final long serialVersionUID = 5440541728057978007L;
/** attribute to have one value of selection */
String attribute;
/**
* constructor
* @param resultType
* @param attribute
* @param selection
* @param relationsToLoad
*/
public InSelection(Class resultType, String attribute, Collection> selection, Class
© 2015 - 2025 Weber Informatics LLC | Privacy Policy