001: /*
002: * The contents of this file are subject to the terms of the Common
003: * Development and Distribution License (the License). You may not use this
004: The contents of this file are subject to the terms of either the GNU
005: General Public License Version 2 only ("GPL") or the Common
006: Development and Distribution License("CDDL") (collectively, the
007: "License"). You may not use this file except in compliance with the
008: License. You can obtain a copy of the License at
009: http://www.netbeans.org/cddl-gplv2.html
010: or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
011: specific language governing permissions and limitations under the
012: License. When distributing the software, include this License Header
013: Notice in each file and include the License file at
014: nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
015: particular file as subject to the "Classpath" exception as provided
016: by Sun in the GPL Version 2 section of the License file that
017: accompanied this code. If applicable, add the following below the
018: License Header, with the fields enclosed by brackets [] replaced by
019: your own identifying information:
020: "Portions Copyrighted [year] [name of copyright owner]"
021: Contributor(s):
022: *
023: * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved
024: If you wish your version of this file to be governed by only the CDDL
025: or only the GPL Version 2, indicate your decision by adding
026: "[Contributor] elects to include this software in this distribution
027: under the [CDDL or GPL Version 2] license." If you do not indicate a
028: single choice of license, a recipient has the option to distribute
029: your version of this file under either the CDDL, the GPL Version 2 or
030: to extend the choice of license to its licensees as provided above.
031: However, if you add GPL Version 2 code and therefore, elected the GPL
032: Version 2 license, then the option applies only if the new code is
033: made subject to such option by the copyright holder.
034: *
035: */
036:
037: package org.netbeans.modules.etl.ui.palette;
038:
039: /**
040: *
041: * @author nithya
042: */
043: public class Operator {
044:
045: private Integer number;
046: private String category;
047: //private String title;
048: private String image;
049: private String name;
050:
051: /** Creates a new instance of Instrument */
052: public Operator() {
053: }
054:
055: /**
056: *
057: * @return name
058: */
059: public String getName() {
060: return this .name;
061: }
062:
063: /**
064: *
065: * @param name
066: */
067: public void setName(String name) {
068: this .name = name;
069: }
070:
071: /**
072: *
073: * @return number
074: */
075: public Integer getNumber() {
076: return number;
077: }
078:
079: /**
080: *
081: * @param number
082: */
083: public void setNumber(Integer number) {
084: this .number = number;
085: }
086:
087: /**
088: *
089: * @return category
090: */
091: public String getCategory() {
092: return category;
093: }
094:
095: /**
096: *
097: * @param category
098: */
099: public void setCategory(String category) {
100: this .category = category;
101: }
102:
103: /**
104: *
105: * @return image
106: */
107: public String getImage() {
108: return image;
109: }
110:
111: /**
112: *
113: * @param image
114: */
115: public void setImage(String image) {
116: this.image = image;
117: }
118: }
|