KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > sun > ws7 > nodes > AttributeInfo


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.modules.j2ee.sun.ws7.nodes;
21
22 public class AttributeInfo {
23     private String JavaDoc name;
24     private String JavaDoc type;
25     private String JavaDoc description;
26     private boolean readable;
27     private boolean writable;
28     private boolean bool;
29
30     public AttributeInfo(String JavaDoc name, String JavaDoc type, String JavaDoc description,
31                          boolean readable, boolean writable,
32                          boolean bool) {
33         this.name = name;
34         this.type = type;
35         this.description = description;
36         this.readable = readable;
37         this.writable = writable;
38         this.bool = bool;
39     }
40     
41     /**
42      * Gets the value of name
43      *
44      * @return the value of name
45      */

46     public String JavaDoc getName() {
47         return this.name;
48     }
49
50     /**
51      * Sets the value of name
52      *
53      * @param argName Value to assign to this.name
54      */

55     public void setName(String JavaDoc argName){
56         this.name = argName;
57     }
58
59     /**
60      * Gets the value of type
61      *
62      * @return the value of type
63      */

64     public String JavaDoc getType() {
65         return this.type;
66     }
67
68     /**
69      * Sets the value of type
70      *
71      * @param argType Value to assign to this.type
72      */

73     public void setType(String JavaDoc argType){
74         this.type = argType;
75     }
76
77     /**
78      * Gets the value of description
79      *
80      * @return the value of description
81      */

82     public String JavaDoc getDescription() {
83         return this.description;
84     }
85
86     /**
87      * Sets the value of description
88      *
89      * @param argDescription Value to assign to this.description
90      */

91     public void setDescription(String JavaDoc argDescription){
92         this.description = argDescription;
93     }
94
95     /**
96      * Gets the value of readable
97      *
98      * @return the value of readable
99      */

100     public boolean isReadable() {
101         return this.readable;
102     }
103
104     /**
105      * Sets the value of readable
106      *
107      * @param argReadable Value to assign to this.readable
108      */

109     public void setReadable(boolean argReadable){
110         this.readable = argReadable;
111     }
112
113     /**
114      * Gets the value of writable
115      *
116      * @return the value of writable
117      */

118     public boolean isWritable() {
119         return this.writable;
120     }
121
122     /**
123      * Sets the value of writable
124      *
125      * @param argWritable Value to assign to this.writable
126      */

127     public void setWritable(boolean argWritable){
128         this.writable = argWritable;
129     }
130
131     /**
132      * Gets the value of bool
133      *
134      * @return the value of bool
135      */

136     public boolean isBool() {
137         return this.bool;
138     }
139
140     /**
141      * Sets the value of bool
142      *
143      * @param argBool Value to assign to this.bool
144      */

145     public void setBool(boolean argBool){
146         this.bool = argBool;
147     }
148 }
149
Popular Tags