All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.tsl2.nano.bean.def.ISelectionProvider Maven / Gradle / Ivy

Go to download

TSL2 Framework Descriptor (currency-handling, generic formatter, descriptors for beans, collections, actions and values)

There is a newer version: 2.5.1
Show newest version
/*
 * File: $HeadURL$
 * Id  : $Id$
 * 
 * created by: Thomas Schneider
 * created on: Jul 20, 2012
 * 
 * Copyright: (c) Thomas Schneider 2012, all rights reserved
 */
package de.tsl2.nano.bean.def;

import java.util.Collection;

import de.tsl2.nano.bean.IValueAccess;

/**
 * 
 * @author Thomas Schneider
 * @version $Revision$ 
 */
public interface ISelectionProvider extends IValueAccess> {
    /**
     * getFirstElement
     * @return first selected element or null
     */
    T getFirstElement();
    /**
     * isEmpty
     * @return true, if no selection available
     */
    boolean isEmpty();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy