1 29 30 package com.caucho.amber.cfg; 31 32 33 36 public class MappedSuperclassConfig extends AbstractEnhancedConfig { 37 38 private String _className; 40 private boolean _isMetadataComplete; 41 42 private String _description; 44 private IdClassConfig _idClass; 45 private boolean _excludeDefaultListeners; 46 private boolean _excludeSuperclassListeners; 47 private EntityListenersConfig _entityListeners; 48 private PrePersistConfig _prePersist; 49 private PostPersistConfig _postPersist; 50 private PreRemoveConfig _preRemove; 51 private PostRemoveConfig _postRemove; 52 private PreUpdateConfig _preUpdate; 53 private PostUpdateConfig _postUpdate; 54 private PostLoadConfig _postLoad; 55 private AttributesConfig _attributes; 56 57 60 public AttributesConfig getAttributes() 61 { 62 return _attributes; 63 } 64 65 68 public String getClassName() 69 { 70 return _className; 71 } 72 73 76 public boolean isMetaDataComplete() 77 { 78 return _isMetadataComplete; 79 } 80 81 84 public void setAttributes(AttributesConfig attributes) 85 { 86 _attributes = attributes; 87 } 88 89 92 public void addClass(String className) 93 { 94 _className = className; 95 } 96 97 100 public void setMetaDataComplete(boolean isMetaDataComplete) 101 { 102 _isMetadataComplete = isMetaDataComplete; 103 } 104 105 public String getDescription() 106 { 107 return _description; 108 } 109 110 public void setDescription(String description) 111 { 112 _description = description; 113 } 114 115 public IdClassConfig getIdClass() 116 { 117 return _idClass; 118 } 119 120 public void setIdClass(IdClassConfig idClass) 121 { 122 _idClass = idClass; 123 } 124 125 public boolean getExcludeDefaultListeners() 126 { 127 return _excludeDefaultListeners; 128 } 129 130 public void setExcludeDefaultListeners(boolean excludeDefaultListeners) 131 { 132 _excludeDefaultListeners = excludeDefaultListeners; 133 } 134 135 public boolean getExcludeSuperclassListeners() 136 { 137 return _excludeSuperclassListeners; 138 } 139 140 public void setExcludeSuperclassListeners(boolean excludeSuperclassListeners) 141 { 142 _excludeSuperclassListeners = excludeSuperclassListeners; 143 } 144 145 public EntityListenersConfig getEntityListeners() 146 { 147 return _entityListeners; 148 } 149 150 public void setEntityListeners(EntityListenersConfig entityListeners) 151 { 152 _entityListeners = entityListeners; 153 } 154 155 public PrePersistConfig getPrePersist() 156 { 157 return _prePersist; 158 } 159 160 public void setPrePersist(PrePersistConfig prePersist) 161 { 162 _prePersist = prePersist; 163 } 164 165 public PostPersistConfig getPostPersist() 166 { 167 return _postPersist; 168 } 169 170 public void setPostPersist(PostPersistConfig postPersist) 171 { 172 _postPersist = postPersist; 173 } 174 175 public PreRemoveConfig getPreRemove() 176 { 177 return _preRemove; 178 } 179 180 public void setPreRemove(PreRemoveConfig preRemove) 181 { 182 _preRemove = preRemove; 183 } 184 185 public PostRemoveConfig getPostRemove() 186 { 187 return _postRemove; 188 } 189 190 public void setPostRemove(PostRemoveConfig postRemove) 191 { 192 _postRemove = postRemove; 193 } 194 195 public PreUpdateConfig getPreUpdate() 196 { 197 return _preUpdate; 198 } 199 200 public void setPreUpdate(PreUpdateConfig preUpdate) 201 { 202 _preUpdate = preUpdate; 203 } 204 205 public PostUpdateConfig getPostUpdate() 206 { 207 return _postUpdate; 208 } 209 210 public void setPostUpdate(PostUpdateConfig postUpdate) 211 { 212 _postUpdate = postUpdate; 213 } 214 215 public PostLoadConfig getPostLoad() 216 { 217 return _postLoad; 218 } 219 220 public void setPostLoad(PostLoadConfig postLoad) 221 { 222 _postLoad = postLoad; 223 } 224 225 public String toString() 226 { 227 return "MappedSuperclassConfig[" + _className + "]"; 228 } 229 } 230 | Popular Tags |