KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jaspersoft > jasperserver > irplugin > gui > jrxmlvalidator > ImageElementValidationItem


1 /*
2  * ValidationItem.java
3  *
4  * All rights reserved.
5  * Copyright (C) 2005 JasperSoft Corporation
6  *
7  * JasperSoft Corporation
8  * 303 Second Street, Suite 450 North
9  * San Francisco, CA 94107
10  * http://www.jaspersoft.com
11  *
12  *
13  * Created on June 14, 2006, 4:21 PM
14  *
15  */

16
17 package com.jaspersoft.jasperserver.irplugin.gui.jrxmlvalidator;
18
19 import it.businesslogic.ireport.ImageReportElement;
20 import java.io.File JavaDoc;
21
22 /**
23  *
24  * @author gtoffoli
25  */

26 public class ImageElementValidationItem {
27     
28     /**
29      * We are talking about an image...
30      */

31     private ImageReportElement reportElement = null;
32     
33     private File JavaDoc originalFileName = null;
34             
35     private String JavaDoc proposedExpression = null;
36     
37     private String JavaDoc resourceName = null;
38     
39     /** Creates a new instance of ValidationItem */
40     public ImageElementValidationItem() {
41     }
42
43     public ImageReportElement getReportElement() {
44         return reportElement;
45     }
46
47     public void setReportElement(ImageReportElement reportElement) {
48         this.reportElement = reportElement;
49     }
50
51     public File JavaDoc getOriginalFileName() {
52         return originalFileName;
53     }
54
55     public void setOriginalFileName(File JavaDoc originalFileName) {
56         this.originalFileName = originalFileName;
57     }
58     
59     public String JavaDoc toString()
60     {
61         return this.getReportElement().toString();
62     }
63
64     public String JavaDoc getProposedExpression() {
65         return proposedExpression;
66     }
67
68     public void setProposedExpression(String JavaDoc proposedExpression) {
69         this.proposedExpression = proposedExpression;
70     }
71
72     public String JavaDoc getResourceName() {
73         return resourceName;
74     }
75
76     public void setResourceName(String JavaDoc resourceName) {
77         this.resourceName = resourceName;
78     }
79 }
80
Popular Tags