com.github.yadickson.autoplsp.db.bean.ParameterBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of autoplsp Show documentation
Show all versions of autoplsp Show documentation
Maven plugin to generate Java classes from StoredProcedure and Functions in Database
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.github.yadickson.autoplsp.db.bean;
import java.io.Serializable;
/**
*
* @author Yadickson Soto
*/
public class ParameterBean implements Serializable {
static final long serialVersionUID = 1;
private String name;
private Integer position;
private String direction;
private String dtype;
private String ntype;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Integer getPosition() {
return position;
}
public void setPosition(Integer position) {
this.position = position;
}
public String getDirection() {
return direction;
}
public void setDirection(String direction) {
this.direction = direction;
}
public String getDtype() {
return dtype;
}
public void setDtype(String dtype) {
this.dtype = dtype.split(" ")[0];
}
public String getNtype() {
return ntype;
}
public void setNtype(String ntype) {
this.ntype = ntype;
}
}