import eu.etaxonomy.cdm.model.name.TaxonNameBase;\r
\r
/**\r
+ * A name cache rendering strategy for all TaxonNameBase subclasses.\r
+ * Different TaxonNameBase subclasses could have different strategies.\r
* @author a.mueller\r
*\r
+ * @param <T> The concrete TaxonName class this strategy applies for\r
*/\r
public interface INameCacheStrategy<T extends TaxonNameBase> extends IStrategy {\r
\r
- //returns the composed name string without author or year\r
+ /**\r
+ * returns the composed name string without author or year\r
+ * @param object\r
+ * @return\r
+ */\r
public String getNameCache(T object);\r
\r
- //returns the composed name string with author and/or year\r
+\r
+ /**\r
+ * returns the composed name string with author and/or year\r
+ * @param object\r
+ * @return\r
+ */\r
public String getTitleCache(T object);\r
\r
- //returns an array of name tokens that together make up the full name\r
- // a token can be a String (for name parts), Rank, AuthorTeam (for entire authorship string), \r
- // Date or ReferenceBase\r
- // Example: ["Abies","alba",Rank.SUBSPECIES,"alpina",AuthorTeam("Greuther (L.)")]\r
+ /**\r
+ * returns an array of name tokens that together make up the full name\r
+ * a token can be a String (for name parts), Rank, AuthorTeam (for entire authorship string), \r
+ * Date or ReferenceBase\r
+ * Example: ["Abies","alba",Rank.SUBSPECIES,"alpina",AuthorTeam("Greuther (L.)")]\r
+ * @param object\r
+ * @return\r
+ */\r
public List<Object> getTaggedName(T object);\r
}\r