de.tsl2.nano.bean.def.IConstructable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.descriptor Show documentation
Show all versions of tsl2.nano.descriptor Show documentation
TSL2 Framework Descriptor (currency-handling, generic formatter, descriptors for beans, collections, actions and values)
/*
* File: $HeadURL$
* Id : $Id$
*
* created by: Tom
* created on: 09.04.2016
*
* Copyright: (c) Thomas Schneider 2016, all rights reserved
*/
package de.tsl2.nano.bean.def;
/**
* provides an instance for a definition.
*
* @author Tom
* @version $Revision$
*/
public interface IConstructable {
/**
* @return instance of this definition
*/
T getInstance();
/**
* sets the instance for this definition
* @param instance new instance
*/
void setInstance(T instance);
}