Coverage Summary for Class: SearchField (org.kitodo.data.database.beans)

Class Method, % Line, %
SearchField 63,6% (7/11) 69,2% (9/13)
SearchField$HibernateProxy$BA5BRTbN
SearchField$HibernateProxy$uNIMMzyS
Total 63,6% (7/11) 69,2% (9/13)


 /*
  * (c) Kitodo. Key to digital objects e. V. <contact@kitodo.org>
  *
  * This file is part of the Kitodo project.
  *
  * It is licensed under GNU General Public License version 3 or later.
  *
  * For the full copyright and license information, please read the
  * GPL3-License.txt file that was distributed with this source code.
  */
 
 package org.kitodo.data.database.beans;
 
 import javax.persistence.Column;
 import javax.persistence.Entity;
 import javax.persistence.ForeignKey;
 import javax.persistence.JoinColumn;
 import javax.persistence.ManyToOne;
 import javax.persistence.Table;
 
 @Entity
 @Table(name = "searchfield")
 public class SearchField extends BaseBean {
 
     @Column(name = "field_label")
     private String label;
 
     @Column(name = "field_value")
     private String value;
 
     @Column(name = "displayed")
     private boolean displayed = true;
 
     @Column(name = "parent_element")
     private boolean parentElement = false;
 
     @ManyToOne
     @JoinColumn(name = "importconfiguration_id",
             foreignKey = @ForeignKey(name = "FK_searchfield_importconfiguration_id"))
     private ImportConfiguration importConfiguration;
 
     /**
      * Get label.
      *
      * @return value of label
      */
     public String getLabel() {
         return label;
     }
 
     /**
      * Set label.
      *
      * @param label as java.lang.String
      */
     public void setLabel(String label) {
         this.label = label;
     }
 
     /**
      * Get value.
      *
      * @return value of value
      */
     public String getValue() {
         return value;
     }
 
     /**
      * Set value.
      *
      * @param value as java.lang.String
      */
     public void setValue(String value) {
         this.value = value;
     }
 
     /**
      * Get hidden.
      *
      * @return value of displayed
      */
     public boolean isDisplayed() {
         return displayed;
     }
 
     /**
      * Set hidden.
      *
      * @param displayed as boolean
      */
     public void setDisplayed(boolean displayed) {
         this.displayed = displayed;
     }
 
     /**
      * Get parentElement.
      *
      * @return value of parentElement
      */
     public boolean isParentElement() {
         return parentElement;
     }
 
     /**
      * Set parentElement.
      *
      * @param parentElement as boolean
      */
     public void setParentElement(boolean parentElement) {
         this.parentElement = parentElement;
     }
 
     /**
      * Get importConfiguration.
      *
      * @return value of importConfiguration
      */
     public ImportConfiguration getImportConfiguration() {
         return importConfiguration;
     }
 
     /**
      * Set importConfiguration.
      *
      * @param importConfiguration as org.kitodo.data.database.beans.ImportConfiguration
      */
     public void setImportConfiguration(ImportConfiguration importConfiguration) {
         this.importConfiguration = importConfiguration;
     }
 }