001package com.randomnoun.common.db.to; 002 003public class RoutineParameterTO { 004 005 RoutineTO routine; 006 String name; 007 long position; 008 String mode; // IN, OUT, INOUT 009 010 // this should all go into a DataTypeTO probably 011 012 private String dataType; // function only 013 private Long dataTypeLength; // character length 014 // private Long dataTypeByteLength; 015 private Long dataTypeNumericPrecision; 016 private Long dataTypeNumericScale; 017 private Long dataTypeDateTimePrecision; 018 private String charsetName; 019 private String collationName; 020 021 022 023 public RoutineTO getRoutine() { 024 return routine; 025 } 026 public void setRoutine(RoutineTO routine) { 027 this.routine = routine; 028 } 029 public String getName() { 030 return name; 031 } 032 public void setName(String name) { 033 this.name = name; 034 } 035 public long getPosition() { 036 return position; 037 } 038 public void setPosition(long position) { 039 this.position = position; 040 } 041 public String getMode() { 042 return mode; 043 } 044 public void setMode(String mode) { 045 this.mode = mode; 046 } 047 public String getDataType() { 048 return dataType; 049 } 050 public void setDataType(String dataType) { 051 this.dataType = dataType; 052 } 053 public Long getDataTypeLength() { 054 return dataTypeLength; 055 } 056 public void setDataTypeLength(Long dataTypeLength) { 057 this.dataTypeLength = dataTypeLength; 058 } 059 public Long getDataTypeNumericPrecision() { 060 return dataTypeNumericPrecision; 061 } 062 public void setDataTypeNumericPrecision(Long dataTypeNumericPrecision) { 063 this.dataTypeNumericPrecision = dataTypeNumericPrecision; 064 } 065 public Long getDataTypeNumericScale() { 066 return dataTypeNumericScale; 067 } 068 public void setDataTypeNumericScale(Long dataTypeNumericScale) { 069 this.dataTypeNumericScale = dataTypeNumericScale; 070 } 071 public Long getDataTypeDateTimePrecision() { 072 return dataTypeDateTimePrecision; 073 } 074 public void setDataTypeDateTimePrecision(Long dataTypeDateTimePrecision) { 075 this.dataTypeDateTimePrecision = dataTypeDateTimePrecision; 076 } 077 public String getCharsetName() { 078 return charsetName; 079 } 080 public void setCharsetName(String charsetName) { 081 this.charsetName = charsetName; 082 } 083 public String getCollationName() { 084 return collationName; 085 } 086 public void setCollationName(String collationName) { 087 this.collationName = collationName; 088 } 089 090 091}