001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common Development
008: * and Distribution License("CDDL") (collectively, the "License"). You
009: * may not use this file except in compliance with the License. You can obtain
010: * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
011: * or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
012: * language governing permissions and limitations under the License.
013: *
014: * When distributing the software, include this License Header Notice in each
015: * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
016: * Sun designates this particular file as subject to the "Classpath" exception
017: * as provided by Sun in the GPL Version 2 section of the License file that
018: * accompanied this code. If applicable, add the following below the License
019: * Header, with the fields enclosed by brackets [] replaced by your own
020: * identifying information: "Portions Copyrighted [year]
021: * [name of copyright owner]"
022: *
023: * Contributor(s):
024: *
025: * If you wish your version of this file to be governed by only the CDDL or
026: * only the GPL Version 2, indicate your decision by adding "[Contributor]
027: * elects to include this software in this distribution under the [CDDL or GPL
028: * Version 2] license." If you don't indicate a single choice of license, a
029: * recipient has the option to distribute your version of this file under
030: * either the CDDL, the GPL Version 2 or to extend the choice of license to
031: * its licensees as provided above. However, if you add GPL Version 2 code
032: * and therefore, elected the GPL Version 2 license, then the option applies
033: * only if the new code is made subject to such option by the copyright
034: * holder.
035: */
036:
037: /*
038: * EndpointStatsBean.java
039: */
040:
041: package com.sun.jbi.jsf.bean;
042:
043: public class EndpointStatsBean {
044: /**
045: * no-arg ctor
046: */
047: public EndpointStatsBean() {
048: }
049:
050: //
051: // getters
052: //
053:
054: /**
055: * gets endpoint stats disablement
056: * @return boolean true if endpoint stats is to be disabled
057: */
058: public boolean getDisabled() {
059: return mDisabled;
060: }
061:
062: /**
063: * gets endpoint stats name
064: * @return String name
065: */
066: public String getEndpointName() {
067: return mEndpointName;
068: }
069:
070: /**
071: * gets endpoint stats received dones
072: * @return String receivedDones
073: */
074: public String getReceivedDones() {
075: return mReceivedDones;
076: }
077:
078: /**
079: * gets endpoint stats received errors
080: * @return String receivedErrors
081: */
082: public String getReceivedErrors() {
083: return mReceivedErrors;
084: }
085:
086: /**
087: * gets endpoint stats received replies
088: * @return String receivedReplies
089: */
090: public String getReceivedReplies() {
091: return mReceivedReplies;
092: }
093:
094: /**
095: * gets endpoint stats received requests
096: * @return String receivedRequests
097: */
098: public String getReceivedRequests() {
099: return mReceivedRequests;
100: }
101:
102: /**
103: * gets endpoint stats rendering
104: * @return boolean true if endpoint stats is to be rendering
105: */
106: public boolean getRendered() {
107: return mRendered;
108: }
109:
110: /**
111: * gets endpoint stats selection
112: * @return boolean true if endpoint stats is to selected
113: */
114: public boolean getSelected() {
115: return mSelected;
116: }
117:
118: /**
119: * gets endpoint stats sent dones
120: * @return String sentDones
121: */
122: public String getSentDones() {
123: return mSentDones;
124: }
125:
126: /**
127: * gets endpoint stats sent errors
128: * @return String sentErrors
129: */
130: public String getSentErrors() {
131: return mSentErrors;
132: }
133:
134: /**
135: * gets endpoint stats sent replies
136: * @return String sentReplies
137: */
138: public String getSentReplies() {
139: return mSentReplies;
140: }
141:
142: /**
143: * gets endpoint stats sent requests
144: * @return String sentRequests
145: */
146: public String getSentRequests() {
147: return mSentRequests;
148: }
149:
150: //
151: // setters
152: //
153:
154: /**
155: * sets endpoint stats disablement
156: * @param isDisabled boolean true if endpoint stats is to be disabled
157: */
158: public void setDisabled(boolean isDisabled) {
159: mDisabled = isDisabled;
160: }
161:
162: /**
163: * sets endpoint stats endpoint name
164: * @param aEndpointName String with endpoint stats endpoint name
165: */
166: public void setEndpointName(String aEndpointName) {
167: mEndpointName = aEndpointName;
168: }
169:
170: /**
171: * sets endpoint stats received dones
172: * @param aReceivedDones String with endpoint stats received dones
173: */
174: public void setReceivedDones(String aReceivedDones) {
175: mReceivedDones = aReceivedDones;
176: }
177:
178: /**
179: * sets endpoint stats received errors
180: * @param aReceivedErrors String with endpoint stats received errors
181: */
182: public void setReceivedErrors(String aReceivedErrors) {
183: mReceivedErrors = aReceivedErrors;
184: }
185:
186: /**
187: * sets endpoint stats received replies
188: * @param aReceivedReplies String with endpoint stats received replies
189: */
190: public void setReceivedReplies(String aReceivedReplies) {
191: mReceivedReplies = aReceivedReplies;
192: }
193:
194: /**
195: * sets endpoint stats received requests
196: * @param aReceivedRequests String with endpoint stats received requests
197: */
198: public void setReceivedRequests(String aReceivedRequests) {
199: mReceivedRequests = aReceivedRequests;
200: }
201:
202: /**
203: * sets endpoint stats rendering
204: * @param isRendered boolean true if endpoint stats is to be rendered
205: */
206: public void setRendered(boolean isRendered) {
207: mRendered = isRendered;
208: }
209:
210: /**
211: * sets endpoint stats selection state
212: * @param isSelected boolean true if endpoint stats is to be selected
213: */
214: public void setSelected(boolean isSelected) {
215: mSelected = isSelected;
216: }
217:
218: /**
219: * sets endpoint stats sent dones
220: * @param aSentDones String with endpoint stats sent dones
221: */
222: public void setSentDones(String aSentDones) {
223: mSentDones = aSentDones;
224: }
225:
226: /**
227: * sets endpoint stats sent errors
228: * @param aSentErrors String with endpoint stats sent errors
229: */
230: public void setSentErrors(String aSentErrors) {
231: mSentErrors = aSentErrors;
232: }
233:
234: /**
235: * sets endpoint stats sent replies
236: * @param aSentReplies String with endpoint stats sent replies
237: */
238: public void setSentReplies(String aSentReplies) {
239: mSentReplies = aSentReplies;
240: }
241:
242: /**
243: * sets endpoint stats sent requests
244: * @param aSentRequests String with endpoint stats sent requests
245: */
246: public void setSentRequests(String aSentRequests) {
247: mSentRequests = aSentRequests;
248: }
249:
250: //
251: // fields
252: //
253:
254: /**
255: * endpoint stats disabled attribute
256: */
257: private boolean mDisabled;
258:
259: /**
260: * endpoint stats endpoint name attribute
261: */
262: private String mEndpointName;
263:
264: /**
265: * endpoint stats received dones attribute
266: */
267: private String mReceivedDones;
268:
269: /**
270: * endpoint stats received errors attribute
271: */
272: private String mReceivedErrors;
273:
274: /**
275: * endpoint stats received replies attribute
276: */
277: private String mReceivedReplies;
278:
279: /**
280: * endpoint stats received requests attribute
281: */
282: private String mReceivedRequests;
283:
284: /**
285: * endpoint stats rendered attribute
286: */
287: private boolean mRendered;
288:
289: /**
290: * endpoint stats selected attribute
291: */
292: private boolean mSelected;
293:
294: /**
295: * endpoint stats sent dones attribute
296: */
297: private String mSentDones;
298:
299: /**
300: * endpoint stats sent errors attribute
301: */
302: private String mSentErrors;
303:
304: /**
305: * endpoint stats sent replies attribute
306: */
307: private String mSentReplies;
308:
309: /**
310: * endpoint stats sent requests attribute
311: */
312: private String mSentRequests;
313:
314: }
|