KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > dotmarketing > portlets > organization > model > Organization


1 package com.dotmarketing.portlets.organization.model;
2
3 import com.dotmarketing.beans.Inode;
4
5 public class Organization extends Inode {
6
7     
8     private static final long serialVersionUID = 1L;
9
10     private String JavaDoc title; //persistent
11
private String JavaDoc ceoName; //persistent
12
private String JavaDoc partnerUrl; //persistent
13
private String JavaDoc partnerKey; //persistent
14
private long partnerLogo; //persistent
15
private String JavaDoc street1; //persistent
16
private String JavaDoc street2; //persistent
17
private String JavaDoc city; //persistent
18
private String JavaDoc state; //persistent
19
private String JavaDoc zip; //persistent
20
private String JavaDoc phone; //persistent
21
private String JavaDoc fax; //persistent
22
private String JavaDoc country; //persistent
23
private boolean system; //persistent
24
private long parentOrganization;
25     private float institute_price;
26     
27     /**
28      * @return Returns the institute_price.
29      */

30     public float getInstitute_price() {
31         return institute_price;
32     }
33
34     /**
35      * @param institute_price The institute_price to set.
36      */

37     public void setInstitute_price(float institute_price) {
38         this.institute_price = institute_price;
39     }
40
41     public Organization(String JavaDoc title, String JavaDoc ceoName, String JavaDoc partnerUrl, String JavaDoc partnerKey, long partnerLogo, String JavaDoc street1, String JavaDoc street2, String JavaDoc city, String JavaDoc state, String JavaDoc zip, String JavaDoc phone, String JavaDoc fax, String JavaDoc country, boolean system) {
42         this.title = title;
43         this.ceoName = ceoName;
44         this.partnerUrl = partnerUrl;
45         this.partnerKey = partnerKey;
46         this.partnerLogo = partnerLogo;
47         this.street1 = street1;
48         this.street2 = street2;
49         this.city = city;
50         this.state = state;
51         this.zip = zip;
52         this.phone = phone;
53         this.fax = fax;
54         this.country = country;
55         this.system = system;
56         super.setType("organization");
57     }
58
59     public Organization() {
60         super.setType("organization");
61     }
62
63     public String JavaDoc getTitle() {
64         return this.title;
65     }
66
67     public void setTitle(String JavaDoc title) {
68         this.title = title;
69     }
70     public String JavaDoc getCeoName() {
71         return this.ceoName;
72     }
73
74     public void setCeoName(String JavaDoc ceoName) {
75         this.ceoName = ceoName;
76     }
77     public String JavaDoc getPartnerUrl() {
78         return this.partnerUrl;
79     }
80
81     public void setPartnerUrl(String JavaDoc partnerUrl) {
82         this.partnerUrl = partnerUrl;
83     }
84     public String JavaDoc getPartnerKey() {
85         return this.partnerKey;
86     }
87
88     public void setPartnerKey(String JavaDoc partnerKey) {
89         this.partnerKey = partnerKey;
90     }
91     public long getPartnerLogo() {
92         return this.partnerLogo;
93     }
94
95     public void setPartnerLogo(long partnerLogo) {
96         this.partnerLogo = partnerLogo;
97     }
98     public String JavaDoc getStreet1() {
99         return this.street1;
100     }
101
102     public void setStreet1(String JavaDoc street1) {
103         this.street1 = street1;
104     }
105     public String JavaDoc getStreet2() {
106         return this.street2;
107     }
108
109     public void setStreet2(String JavaDoc street2) {
110         this.street2 = street2;
111     }
112     public String JavaDoc getCity() {
113         return this.city;
114     }
115
116     public void setCity(String JavaDoc city) {
117         this.city = city;
118     }
119     public String JavaDoc getState() {
120         return this.state;
121     }
122
123     public void setState(String JavaDoc state) {
124         this.state = state;
125     }
126     public String JavaDoc getZip() {
127         return this.zip;
128     }
129
130     public void setZip(String JavaDoc zip) {
131         this.zip = zip;
132     }
133     public String JavaDoc getPhone() {
134         return this.phone;
135     }
136
137     public void setPhone(String JavaDoc phone) {
138         this.phone = phone;
139     }
140     public String JavaDoc getFax() {
141         return this.fax;
142     }
143
144     public void setFax(String JavaDoc fax) {
145         this.fax = fax;
146     }
147     public String JavaDoc getCountry() {
148         return this.country;
149     }
150
151     public void setCountry(String JavaDoc country) {
152         this.country = country;
153     }
154
155     /**
156      * @return Returns the isSystem.
157      */

158     public boolean isSystem() {
159         return system;
160     }
161     
162     /**
163      * @param isSystem The isSystem to set.
164      */

165     public void setSystem(boolean system) {
166         this.system = system;
167     }
168     
169     
170     
171     /**
172      * @return Returns the parentOrganization.
173      */

174     public long getParentOrganization() {
175         return parentOrganization;
176     }
177     /**
178      * @param parentOrganization The parentOrganization to set.
179      */

180     public void setParentOrganization(long parentOrganization) {
181         this.parentOrganization = parentOrganization;
182     }
183 }
184
Popular Tags