Skip to content
Snippets Groups Projects
Commit 5b9b6929 authored by Vincent Aravantinos's avatar Vincent Aravantinos
Browse files

RED

refs 2255
parent c16a3d30
No related branches found
No related tags found
No related merge requests found
......@@ -36,10 +36,10 @@ import org.fortiss.tooling.kernel.service.base.IEObjectAware;
* </p>
*
* <p>
* The interface / some of its methods take two template parameters
* The interface / some of its methods take two template parameters:
*
* <ul>
* <li><tt>T</tt>: Meta-model type of the specification, i.e. the particular subclass of
* <li><tt>T</tt>: Meta-model type of the specification, i.e., the particular subclass of
* {@link IAnnotatedSpecification} supported by the respective implementation of this
* {@link IAnnotationValueProvider} interface.</li>
* <li><tt>U</tt>: Data type used in the UI to support the respective annotation. For <tt>U</tt>, a
......@@ -81,6 +81,10 @@ public interface IAnnotationValueProvider<T extends IAnnotatedSpecification> ext
public <U> U getAnnotationValue(T specification) throws Exception;
/**
* TODO(VA) Probably obvious for somebody who knows already how to deal with annotations but not
* for a newcomer, so take this remark into account only if you think it's valuable: what is a
* multi-instance annotation?
*
* Returns the value of a multi-instance annotation's instance denoted by {@code instanceKey}.
*/
public <U> U getAnnotationValue(T specification, String instanceKey) throws Exception;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment