001: /*
002: * The contents of this file are subject to the terms of the Common Development
003: * and Distribution License (the License). You may not use this file except in
004: * compliance with the License.
005: *
006: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
007: * or http://www.netbeans.org/cddl.txt.
008: *
009: * When distributing Covered Code, include this CDDL Header Notice in each file
010: * and include the License file at http://www.netbeans.org/cddl.txt.
011: * If applicable, add the following below the CDDL Header, with the fields
012: * enclosed by brackets [] replaced by your own identifying information:
013: * "Portions Copyrighted [year] [name of copyright owner]"
014: *
015: * The Original Software is NetBeans. The Initial Developer of the Original
016: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
017: * Microsystems, Inc. All Rights Reserved.
018: */
019:
020: /*
021: *
022: * Copyright 2005 Sun Microsystems, Inc.
023: *
024: * Licensed under the Apache License, Version 2.0 (the "License");
025: * you may not use this file except in compliance with the License.
026: * You may obtain a copy of the License at
027: *
028: * http://www.apache.org/licenses/LICENSE-2.0
029: *
030: * Unless required by applicable law or agreed to in writing, software
031: * distributed under the License is distributed on an "AS IS" BASIS,
032: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
033: * See the License for the specific language governing permissions and
034: * limitations under the License.
035: *
036: */
037: package org.netbeans.modules.jdbcwizard.builder.dbmodel.impl;
038:
039: public class ParameterDescriptor extends DBObjectImpl {
040: private int ordinalPosition = 0;
041:
042: private String paramType = "";
043:
044: public String getJavaType() {
045: return this .javaType;
046: }
047:
048: private String javaType = "";
049:
050: /**
051: * * constructor
052: */
053: public ParameterDescriptor() {
054: }
055:
056: /**
057: * getter for paramType; *
058: *
059: * @return paramType;
060: */
061: public String getParamType() {
062: return this .paramType;
063: }
064:
065: /**
066: * setter for paramType; *
067: *
068: * @param paramType parameter type;
069: */
070: public void setParamType(final String paramType) {
071: this .paramType = paramType;
072: }
073:
074: /**
075: * getter for ordinalPosition; *
076: *
077: * @return ordinalPosition;
078: */
079: public int getOrdinalPosition() {
080: return this .ordinalPosition;
081: }
082:
083: /**
084: * setter for ordinalPosition; *
085: *
086: * @param ordinalPosition position of the parameter;
087: */
088: public void setOrdinalPosition(final int ordinalPosition) {
089: this .ordinalPosition = ordinalPosition;
090: }
091:
092: public void setJavaType(final String s) {
093: this .javaType = s;
094: }
095:
096: public void setNumericScale(final int i) {
097: }
098:
099: public void setSQLType(final String sqlType) {
100: }
101: }
|