As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<br>public interface VariableType {<br><br> /**<br> * name of variable type (limited to 100 characters length)<br> */<br> String getTypeName();<br> <br> /**<br> * <p>Indicates if this variable type supports caching.</p><br> * <p>If caching is supported, the result of {@link #getValue(ValueFields)} is saved for the <br> * duration of the session and used for subsequent reads of the variable's value.</p><br> * <p>If caching is not supported, all reads of a variable's value require a <br> * fresh call to {@link #getValue(ValueFields)}.</p> <br> * @return whether variables of this type are cacheable.<br> */<br> boolean isCachable();<br> <br> /**<br> * @return whether this variable type can store the specified value.<br> */<br> boolean isAbleToStore(Object value);<br> <br> /**<br> * Stores the specified value in the supplied {@link ValueFields}.<br> */<br> void setValue(Object value, ValueFields valueFields);<br> <br> /**<br> * @return the value of a variable based on the specified {@link ValueFields}.<br> */<br> Object getValue(ValueFields valueFields);<br><br>}<br>