org.apache.oodt.cas.filemgr.util
Class DbStructFactory
java.lang.Object
org.apache.oodt.cas.filemgr.util.DbStructFactory
public final class DbStructFactory
- extends Object
- Version:
- $Revsion$
Object creation utilities to create File Manager objects from SQL
ResultSet
s.
- Author:
- mattmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbStructFactory
public DbStructFactory()
getProductType
public static ProductType getProductType(ResultSet rs)
throws SQLException
- Throws:
SQLException
getProduct
public static Product getProduct(ResultSet rs)
throws SQLException
- Throws:
SQLException
getProduct
public static Product getProduct(ResultSet rs,
boolean getType)
throws SQLException
- Throws:
SQLException
getReference
public static Reference getReference(ResultSet rs)
throws SQLException
- Throws:
SQLException
getElement
public static Element getElement(ResultSet rs)
throws SQLException
- Throws:
SQLException
getParent
public static String getParent(ResultSet rs)
throws SQLException
- Throws:
SQLException
toScienceDataElement
public static Element toScienceDataElement(ResultSet rs)
throws SQLException
- Throws:
SQLException
toScienceDataProduct
public static Product toScienceDataProduct(ResultSet rs)
throws SQLException
- Throws:
SQLException
toScienceDataProductType
public static ProductType toScienceDataProductType(ResultSet rs)
throws SQLException
- Throws:
SQLException
Copyright © 1999-2011 Apache OODT. All Rights Reserved.