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 XmlAdapter<DatabaseConnectionDto,org.pentaho.database.model.DatabaseConnection>
-
-
Constructor Summary
Constructors Constructor Description DatabaseConnectionAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseConnectionDto
marshal(org.pentaho.database.model.DatabaseConnection dbConn)
org.pentaho.database.model.DatabaseConnection
unmarshal(DatabaseConnectionDto dbConnDto)
-
-
-
Method Detail
-
marshal
public DatabaseConnectionDto marshal(org.pentaho.database.model.DatabaseConnection dbConn) throws Exception
- Specified by:
marshal
in classXmlAdapter<DatabaseConnectionDto,org.pentaho.database.model.DatabaseConnection>
- Throws:
Exception
-
unmarshal
public org.pentaho.database.model.DatabaseConnection unmarshal(DatabaseConnectionDto dbConnDto) throws Exception
- Specified by:
unmarshal
in classXmlAdapter<DatabaseConnectionDto,org.pentaho.database.model.DatabaseConnection>
- Throws:
Exception
-
-