|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.wabit.dao.session.CubeConverter
public class CubeConverter
| Field Summary |
|---|
| Fields inherited from interface ca.sqlpower.wabit.dao.session.BidirectionalConverter |
|---|
DELIMITER |
| Constructor Summary | |
|---|---|
CubeConverter(OlapConnectionMapping con,
ca.sqlpower.sql.DataSourceCollection<ca.sqlpower.sql.SPDataSource> dsCollection)
|
|
| Method Summary | |
|---|---|
org.olap4j.metadata.Cube |
convertToComplexType(java.lang.String convertFrom)
Converts an object of type S to an object of type C. |
java.lang.String |
convertToSimpleType(org.olap4j.metadata.Cube convertFrom,
java.lang.Object... additionalInfo)
The additional information that must be provided for this method is the data source that the cube is contained in. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CubeConverter(OlapConnectionMapping con,
ca.sqlpower.sql.DataSourceCollection<ca.sqlpower.sql.SPDataSource> dsCollection)
| Method Detail |
|---|
public org.olap4j.metadata.Cube convertToComplexType(java.lang.String convertFrom)
throws org.apache.commons.beanutils.ConversionException
BidirectionalConverterIllegalArgumentException will be thrown.
convertToComplexType in interface BidirectionalConverter<java.lang.String,org.olap4j.metadata.Cube>convertFrom - The object to convert.
org.apache.commons.beanutils.ConversionException - Thrown if the object could not be converted to a complex type
even though the simple type is a correct representation.
public java.lang.String convertToSimpleType(org.olap4j.metadata.Cube convertFrom,
java.lang.Object... additionalInfo)
convertToSimpleType in interface BidirectionalConverter<java.lang.String,org.olap4j.metadata.Cube>convertFrom - The object to convert.additionalInfo - Some types of object require some kind of additional
information to be properly persisted which is passed through
here. One specific place is when converting Cubes to get their
data source. There is probably a better way of doing this.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||