Package org.cipres.treebase.domain.study

Examples of org.cipres.treebase.domain.study.BookCitation


  /**
   * Default constructor Creation date: May 17, 2006 2:11:05 PM
   */
  public CitationCommand() {
    citationMap.put(BookCitation.CITATION_TYPE_BOOK, new BookCitation());
    citationMap.put(ArticleCitation.CITATION_TYPE_ARTICLE, new ArticleCitation());
    citationMap.put(InBookCitation.CITATION_TYPE_BOOKSECTION, new InBookCitation());
  }
View Full Code Here


   * @param pCitationType
   * @return
   */
  public Citation afactory(String pCitationType) {
    if (BookCitation.CITATION_TYPE_BOOK.compareToIgnoreCase(pCitationType) == 0) {
      return new BookCitation();
    } else if (ArticleCitation.CITATION_TYPE_ARTICLE.compareToIgnoreCase(pCitationType) == 0){
      return new ArticleCitation();
    } else if (InBookCitation.CITATION_TYPE_BOOKSECTION.compareToIgnoreCase(pCitationType) == 0) {
      return new InBookCitation();
    }
View Full Code Here

TOP

Related Classes of org.cipres.treebase.domain.study.BookCitation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.