1 9 package org.jboss.portal.setup.impl.dl.dbloader.hibernate; 10 11 import org.jboss.portal.setup.dl.HibernateDataLoaderConfig; 12 import org.jboss.portal.setup.config.HibernateConfig; 13 import org.jboss.portal.setup.PortalSetupException; 14 import org.jboss.portal.setup.impl.config.ConfigurationImpl; 15 16 import java.util.List ; 17 18 26 public class HibernateDataLoaderConfigImpl extends ConfigurationImpl implements HibernateDataLoaderConfig 27 { 28 29 private HibernateConfig m_hibernateConfig; 30 private String m_dataQueryStr; 31 private String m_dataLoaderClassname; 32 33 34 39 public String getDataQueryString() 40 { 41 return m_dataQueryStr; 42 } 43 44 49 public void setDataQueryString(String queryString) 50 { 51 m_dataQueryStr = queryString; 52 } 53 54 55 60 public String getDataLoaderClass() 61 { 62 return m_dataLoaderClassname; 63 } 64 65 70 public void setDataLoaderClass(String className) 71 { 72 m_dataLoaderClassname = className; 73 } 74 75 80 public HibernateConfig getHibernateConfig() 81 { 82 return m_hibernateConfig; 83 } 84 85 90 public void setHibernateConfig(HibernateConfig hbConfig) 91 { 92 m_hibernateConfig = (HibernateConfig)hbConfig.getConfiguration(); 93 } 94 95 96 103 104 public String getActionType() 105 { 106 return "Hibernate"; 107 } 108 109 110 } 111 | Popular Tags |