04-17-2014 11:19 PM
04-22-2014 05:26 AM
public interface VariableType {
/**
* name of variable type (limited to 100 characters length)
*/
String getTypeName();
/**
* <p>Indicates if this variable type supports caching.</p>
* <p>If caching is supported, the result of {@link #getValue(ValueFields)} is saved for the
* duration of the session and used for subsequent reads of the variable's value.</p>
* <p>If caching is not supported, all reads of a variable's value require a
* fresh call to {@link #getValue(ValueFields)}.</p>
* @return whether variables of this type are cacheable.
*/
boolean isCachable();
/**
* @return whether this variable type can store the specified value.
*/
boolean isAbleToStore(Object value);
/**
* Stores the specified value in the supplied {@link ValueFields}.
*/
void setValue(Object value, ValueFields valueFields);
/**
* @return the value of a variable based on the specified {@link ValueFields}.
*/
Object getValue(ValueFields valueFields);
}
04-22-2014 08:59 PM
04-22-2014 09:23 PM
04-24-2014 03:36 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.