package org.etsi.mts.tdl.execution.java.tri;

/**
 * Encapsulation of type and value. The objects are resolved using TDL data
 * mappings.
 */
public interface Data<T, V> {
	/**
	 * The decoded value of the data that matches the type.
	 */
	V getValue();

	/**
	 * The type information in environment specific form that can be used to decode
	 * incoming data. For example, an annotated class.
	 */
	T getType();

}
