Class DatabaseConnectionAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<DatabaseConnectionDto,org.pentaho.database.model.DatabaseConnection>
org.pentaho.platform.repository.webservices.DatabaseConnectionAdapter
public class DatabaseConnectionAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<DatabaseConnectionDto,org.pentaho.database.model.DatabaseConnection>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmarshal
(org.pentaho.database.model.DatabaseConnection dbConn) org.pentaho.database.model.DatabaseConnection
unmarshal
(DatabaseConnectionDto dbConnDto)
-
Constructor Details
-
DatabaseConnectionAdapter
public DatabaseConnectionAdapter()
-
-
Method Details
-
marshal
public DatabaseConnectionDto marshal(org.pentaho.database.model.DatabaseConnection dbConn) throws Exception - Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<DatabaseConnectionDto,
org.pentaho.database.model.DatabaseConnection> - Throws:
Exception
-
unmarshal
public org.pentaho.database.model.DatabaseConnection unmarshal(DatabaseConnectionDto dbConnDto) throws Exception - Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<DatabaseConnectionDto,
org.pentaho.database.model.DatabaseConnection> - Throws:
Exception
-