1 2 12 package com.versant.core.jdbc.sql.diff; 13 14 18 public class ControlParams { 19 boolean columnsOnly = false; boolean checkLength = true; 21 boolean checkType = true; 22 boolean checkScale = true; 23 boolean checkNulls = true; 24 boolean checkPK = true; 25 boolean checkIndex = true; 26 boolean checkConstraint = true; 27 boolean checkExtraColumns = true; 28 29 public boolean isCheckLength() { 30 return checkLength; 31 } 32 33 public void setCheckLength(boolean checkLength) { 34 this.checkLength = checkLength; 35 } 36 37 public boolean isCheckType() { 38 return checkType; 39 } 40 41 public void setCheckType(boolean checkType) { 42 this.checkType = checkType; 43 } 44 45 public boolean isCheckScale() { 46 return checkScale; 47 } 48 49 public void setCheckScale(boolean checkScale) { 50 this.checkScale = checkScale; 51 } 52 53 public boolean isCheckNulls() { 54 return checkNulls; 55 } 56 57 public void setCheckNulls(boolean checkNulls) { 58 this.checkNulls = checkNulls; 59 } 60 61 public boolean isCheckIndex() { 62 return checkIndex; 63 } 64 65 public void setCheckIndex(boolean checkIndex) { 66 this.checkIndex = checkIndex; 67 } 68 69 public boolean isCheckConstraint() { 70 return checkConstraint; 71 } 72 73 public void setCheckConstraint(boolean checkConstraint) { 74 this.checkConstraint = checkConstraint; 75 } 76 77 public boolean isCheckPK() { 78 return checkPK; 79 } 80 81 public void setCheckPK(boolean checkPK) { 82 this.checkPK = checkPK; 83 } 84 85 public boolean isCheckExtraColumns() { 86 return checkExtraColumns; 87 } 88 89 public void setCheckExtraColumns(boolean checkExtraColumns) { 90 this.checkExtraColumns = checkExtraColumns; 91 } 92 93 97 public boolean checkColumnsOnly() { 98 return columnsOnly; 99 } 100 101 public void setColumnsOnly(boolean columnsOnly) { 102 this.columnsOnly = columnsOnly; 103 } 104 } 105 106 | Popular Tags |