com.softicar.platform.common.core.properties.IProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.core.properties;
import java.util.Properties;
/**
* A generic interface for properties.
*
* A property is a configuration value usually defined in a {@link Properties}
* file. Every property has a name and a value of various type.
*
* @param
* the type of the property value
* @author Oliver Richers
*/
public interface IProperty {
/**
* Returns the {@link PropertyName} that identifies this {@link IProperty}.
*
* @return the {@link PropertyName} of this {@link IProperty} (never null)
*/
PropertyName getPropertyName();
/**
* Returns the value of this {@link IProperty}.
*
* @return the value of this {@link IProperty} (may be null)
*/
T getValue();
}