Coverage Report - ar.com.fdvs.dj.domain.DJCrosstabRow
 
Classes in this File Line Coverage Branch Coverage Complexity
DJCrosstabRow
100%
38/38
N/A
1
 
 1  
 /*
 2  
  * DynamicJasper: A library for creating reports dynamically by specifying
 3  
  * columns, groups, styles, etc. at runtime. It also saves a lot of development
 4  
  * time in many cases! (http://sourceforge.net/projects/dynamicjasper)
 5  
  *
 6  
  * Copyright (C) 2008  FDV Solutions (http://www.fdvsolutions.com)
 7  
  *
 8  
  * This library is free software; you can redistribute it and/or
 9  
  * modify it under the terms of the GNU Lesser General Public
 10  
  *
 11  
  * License as published by the Free Software Foundation; either
 12  
  *
 13  
  * version 2.1 of the License, or (at your option) any later version.
 14  
  *
 15  
  * This library is distributed in the hope that it will be useful,
 16  
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 17  
  *
 18  
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 19  
  *
 20  
  * Lesser General Public License for more details.
 21  
  *
 22  
  * You should have received a copy of the GNU Lesser General Public
 23  
  * License along with this library; if not, write to the Free Software
 24  
  *
 25  
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 26  
  *
 27  
  *
 28  
  */
 29  
 
 30  
 package ar.com.fdvs.dj.domain;
 31  
 
 32  
 import ar.com.fdvs.dj.domain.entities.Entity;
 33  
 
 34  22
 public class DJCrosstabRow extends DJBaseElement{
 35  
 
 36  
         private static final long serialVersionUID = Entity.SERIAL_VERSION_UID;
 37  
 
 38  
         private ColumnProperty property;
 39  22
         private int height = -1;
 40  22
         private int headerWidth = -1;
 41  22
         private int totalHeaderHeight = -1;
 42  
 
 43  
         private String title;
 44  
 
 45  22
         private boolean showTotals = false;
 46  
 
 47  
         private Style totalStyle;
 48  
         private Style totalHeaderStyle;
 49  
         private Style headerStyle;
 50  
         
 51  
         private String totalLegend;
 52  
         
 53  
         private DJHyperLink link;
 54  
 
 55  
         public Style getTotalStyle() {
 56  64
                 return totalStyle;
 57  
         }
 58  
         public void setTotalStyle(Style totalStyle) {
 59  10
                 this.totalStyle = totalStyle;
 60  10
         }
 61  
         public boolean isShowTotals() {
 62  28
                 return showTotals;
 63  
         }
 64  
         public void setShowTotals(boolean showTotals) {
 65  22
                 this.showTotals = showTotals;
 66  22
         }
 67  
         public ColumnProperty getProperty() {
 68  322
                 return property;
 69  
         }
 70  
         public void setProperty(ColumnProperty property) {
 71  30
                 this.property = property;
 72  30
         }
 73  
         public int getHeight() {
 74  187
                 return height;
 75  
         }
 76  
         public void setHeight(int height) {
 77  22
                 this.height = height;
 78  22
         }
 79  
         public int getHeaderWidth() {
 80  93
                 return headerWidth;
 81  
         }
 82  
         public void setHeaderWidth(int headerWidth) {
 83  22
                 this.headerWidth = headerWidth;
 84  22
         }
 85  
         public String getTitle() {
 86  33
                 return title;
 87  
         }
 88  
         public void setTitle(String title) {
 89  22
                 this.title = title;
 90  22
         }
 91  
         public Style getTotalHeaderStyle() {
 92  21
                 return totalHeaderStyle;
 93  
         }
 94  
         public void setTotalHeaderStyle(Style totalHeaderStyle) {
 95  10
                 this.totalHeaderStyle = totalHeaderStyle;
 96  10
         }
 97  
         public Style getHeaderStyle() {
 98  24
                 return headerStyle;
 99  
         }
 100  
         public void setHeaderStyle(Style headerStyle) {
 101  10
                 this.headerStyle = headerStyle;
 102  10
         }
 103  
         public int getTotalHeaderHeight() {
 104  8
                 return totalHeaderHeight;
 105  
         }
 106  
         public void setTotalHeaderHeight(int totalHeaderHeight) {
 107  9
                 this.totalHeaderHeight = totalHeaderHeight;
 108  9
         }
 109  
         public DJHyperLink getLink() {
 110  8
                 return link;
 111  
         }
 112  
         public void setLink(DJHyperLink link) {
 113  8
                 this.link = link;
 114  8
         }
 115  
         public String getTotalLegend() {
 116  19
                 return totalLegend;
 117  
         }
 118  
         public void setTotalLegend(String totalLegend) {
 119  8
                 this.totalLegend = totalLegend;
 120  8
         }
 121  
 
 122  
 }