KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mdarad > framework > util > struts > contextstack > ContextStackElement


1 /*
2     Mdarad-Toolobox is a collection of tools for Architected RAD
3     (Rapid Application Development) based on an MDA approach.
4     The toolbox contains frameworks and generators for many environments
5     (JAVA, J2EE, Hibernate, .NET, C++, etc.) which allow to generate
6     applications from a design Model
7     Copyright (C) 2004-2005 Elapse Technologies Inc.
8
9     This library is free software; you can redistribute it and/or
10     modify it under the terms of the GNU General Public
11     License as published by the Free Software Foundation; either
12     version 2.1 of the License, or (at your option) any later version.
13
14     This library is distributed in the hope that it will be useful,
15     but WITHOUT ANY WARRANTY; without even the implied warranty of
16     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17     General Public License for more details.
18
19     You should have received a copy of the GNU General Public
20     License along with this library; if not, write to the Free Software
21     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */

23
24 package org.mdarad.framework.util.struts.contextstack;
25
26 import java.io.Serializable JavaDoc;
27
28 import org.dataisland.primitives.bean.Entity;
29 import org.mdarad.framework.delegates.BusinessDelegate;
30
31 /**
32  * Created by IntelliJ IDEA.
33  * User: François Eric
34  * Date: 2005-02-01
35  * Time: 14:12:59
36  * To change this template use File | Settings | File Templates.
37  */

38 public class ContextStackElement implements Serializable JavaDoc {
39     private static final long serialVersionUID = 5602302077010952228L;
40
41     private BusinessDelegate delegate;
42     private Entity entityBeanInstance;
43     private String JavaDoc parentAggregationName;
44     private String JavaDoc parentFullyQualifiedEntityName;
45     private boolean isParentMultipleAggregation;
46     private boolean skipForm;
47     private boolean isNewInstance;
48
49     public BusinessDelegate getDelegate() {
50         return delegate;
51     }
52
53     public void setDelegate(BusinessDelegate delegate) {
54         this.delegate = delegate;
55     }
56
57     public Entity getEntityBeanInstance() {
58         return entityBeanInstance;
59     }
60
61     public void setEntityBeanInstance(Entity entityBeanInstance) {
62         this.entityBeanInstance = entityBeanInstance;
63     }
64
65     public String JavaDoc getParentAggregationName() {
66         return parentAggregationName;
67     }
68
69     public void setParentAggregationName(String JavaDoc parentAggregationName) {
70         this.parentAggregationName = parentAggregationName;
71     }
72
73     public boolean isParentMultipleAggregation() {
74         return isParentMultipleAggregation;
75     }
76
77     public void setParentMultipleAggregation(boolean parentMultipleAggregation) {
78         isParentMultipleAggregation = parentMultipleAggregation;
79     }
80
81     public boolean isSkipForm() {
82         return skipForm;
83     }
84
85     public void setSkipForm(boolean skipForm) {
86         this.skipForm = skipForm;
87     }
88
89     public String JavaDoc getParentFullyQualifiedEntityName() {
90         return parentFullyQualifiedEntityName;
91     }
92
93     public void setParentFullyQualifiedEntityName(String JavaDoc parentFullyQualifiedEntityName) {
94         this.parentFullyQualifiedEntityName = parentFullyQualifiedEntityName;
95     }
96
97     public boolean isNewInstance() {
98         return isNewInstance;
99     }
100
101     public void setNewInstance(boolean isNewInstance) {
102         this.isNewInstance = isNewInstance;
103     }
104 }
105
Popular Tags