1 package de.webman.acl.db; 2 3 import de.webman.acl.db.queries.*; 4 5 14 public class PropertyDBInterface 15 extends ObjectDBInterface 16 { 17 18 20 23 public static final String TABLE_NAME = "WM_PROPERTIES"; 24 25 28 public static final String PRIMARY_KEY_NAME = "WM_PROPERTIES_ID"; 29 30 33 public static final Class WM_PROPERTY_SELECT_ALL = PropertySelectAll.class; 34 35 38 public static final Class WM_PROPERTY_SELECT_BY_LOGIN = PropertySelectByLogin.class; 39 40 43 private static final PropertyDBInterface INSTANCE = new PropertyDBInterface(); 44 45 46 48 51 private PropertyDBInterface () 52 { 53 super(PropertyInsert.class, 54 PropertyUpdate.class, 55 PropertySelect.class, 56 PropertyDelete.class, 57 new Class [1], 58 new Class [1], 59 null); 60 } 61 62 63 65 70 public static final PropertyDBInterface getInstance () 71 { 72 return INSTANCE; 73 } 74 75 76 78 83 public final String getTableName () 84 { 85 return TABLE_NAME; 86 } 87 88 93 public final String getPrimaryKeyName () 94 { 95 return PRIMARY_KEY_NAME; 96 } 97 98 103 public final String getDependentKeyName () 104 { 105 return null; 106 } 107 108 113 public final Class getSelectAllQuery () 114 { 115 return WM_PROPERTY_SELECT_ALL; 116 } 117 118 123 public final Class getSelectDependentQuery () 124 { 125 return null; 126 } 127 128 133 public final Class getInsertDependentQuery () 134 { 135 return null; 136 } 137 138 } 139 | Popular Tags |