org.srplib.model.PropertyAdapterFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of srp-model-support Show documentation
Show all versions of srp-model-support Show documentation
Single Responsibility Principle (SRP) libraries collection
The newest version!
package org.srplib.model;
/**
* Factory for constructing instances of {@link org.srplib.model.ValueModel} for named properties.
*
* A kind of property is defined by implementation. It may be java class field, property, a key of Map or something else.
*
* @author Anton Pechinsky
*/
public interface PropertyAdapterFactory {
/**
* Returns {@link org.srplib.model.ValueModel} for specified property name..
*
* @param property String property name.
* @return ValueModel value model for specified property.
*/
ValueModel newAdapter(String property);
}