org.apache.airavata.persistance.registry.jpa.resources
Class Utils

java.lang.Object
  extended by org.apache.airavata.persistance.registry.jpa.resources.Utils

public class Utils
extends Object


Constructor Summary
Utils()
           
 
Method Summary
static String getDBType()
           
static String getHost()
           
static String getJDBCDriver()
           
static String getJDBCFullURL()
           
static String getJDBCPassword()
           
static String getJDBCURL()
           
static String getJDBCUser()
           
static String getJPAConnectionProperties()
           
static int getPort()
           
static Resource getResource(ResourceType type, Object o)
           
static String getValidationQuery()
           
static boolean isDerbyStartEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

getJDBCFullURL

public static String getJDBCFullURL()

getJDBCURL

public static String getJDBCURL()

getHost

public static String getHost()

getPort

public static int getPort()

getDBType

public static String getDBType()

isDerbyStartEnabled

public static boolean isDerbyStartEnabled()

getJDBCUser

public static String getJDBCUser()

getValidationQuery

public static String getValidationQuery()

getJPAConnectionProperties

public static String getJPAConnectionProperties()

getJDBCPassword

public static String getJDBCPassword()

getJDBCDriver

public static String getJDBCDriver()

getResource

public static Resource getResource(ResourceType type,
                                   Object o)
Parameters:
type - model type
o - model type instance
Returns:
corresponding resource object


Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.