fr.cnes.sitools.datasource.jdbc.business
Class Wrapper

java.lang.Object
  extended by fr.cnes.sitools.datasource.jdbc.business.Wrapper

public final class Wrapper
extends java.lang.Object

Utility class for JDBC Structure querying

Author:
jp.boignard (AKKA Technologies)

Method Summary
static java.lang.String getFROMReference(Structure structure)
          Gets reference of the structure
static java.lang.String getReference(Structure structure)
          Gets reference of the structure
static java.lang.String getReference(Structure structure, java.lang.String attributeName)
          Gets the reference string of the attribute in the SQL structure
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getReference

public static java.lang.String getReference(Structure structure,
                                            java.lang.String attributeName)
Gets the reference string of the attribute in the SQL structure

Parameters:
structure - the referenced Structure
attributeName - the given attribute name
Returns:
String reference

getReference

public static java.lang.String getReference(Structure structure)
Gets reference of the structure

Parameters:
structure - the referenced Structure
Returns:
String reference

getFROMReference

public static java.lang.String getFROMReference(Structure structure)
Gets reference of the structure

Parameters:
structure - the referenced Structure
Returns:
String reference


Copyright © 2010-2013 CNES. All Rights Reserved.