Coverage Report - de.glossmaker.bib.datastructure.Conference
 
Classes in this File Line Coverage Branch Coverage Complexity
Conference
100%
8/8
N/A
1
 
 1  
 package de.glossmaker.bib.datastructure;
 2  
 
 3  
 import de.glossmaker.gloss.datastructure.IItem;
 4  
 
 5  
 /**
 6  
  * <p>This class implements the BibTeX <code>CONFERENCE</code> item.</p>
 7  
  * Required fields:
 8  
  * <ul>
 9  
  *   <li>author,</li>
 10  
  *   <li>title,</li>
 11  
  *   <li>booktitle,</li>
 12  
  *   <li>year</li>
 13  
  *  </ul>
 14  
  *  Optional fields:
 15  
  *  <ul>
 16  
  *    <li>editor,</li>
 17  
  *    <li>volume or number,</li>
 18  
  *    <li>series,</li>
 19  
  *    <li>pages,</li>
 20  
  *    <li>address,</li>
 21  
  *    <li>month,</li>
 22  
  *    <li>organization,</li>
 23  
  *    <li>publisher,</li>
 24  
  *    <li>note.</li>
 25  
  *  </ul> 
 26  
  *  
 27  
  * @author Markus Flingelli
 28  
  *
 29  
  */
 30  31
 public class Conference extends ACommonConference {
 31  
 
 32  
         Conference(String key, EBibTeXReference reference) {
 33  50
                 super(key, reference);
 34  50
         }
 35  
         
 36  
         public Conference(String key, String title, String author, String bookTitle, String year) {
 37  3
                 super(key, EBibTeXReference.CONFERENCE, title, author, bookTitle, year);
 38  3
         }
 39  
         
 40  
         @Override
 41  
         public IItem cloneItem() {
 42  1
                 Conference clone = new Conference(getKey(), getTitle(), getAuthor(), getBookTitle(), getYear());
 43  1
                 clone.setItemValues(this);
 44  1
                 return clone;
 45  
         }
 46  
 }