Skip navigation links 
 
oracle.javatools.db.sql
Class SimpleSQLFragment
java.lang.Object
  
oracle.javatools.db.AbstractDBObject
      
oracle.javatools.db.AbstractChildDBObject
          
oracle.javatools.db.sql.AbstractSQLFragment
              
oracle.javatools.db.sql.SimpleSQLFragment
- All Implemented Interfaces:
 
- ChildDBObject, DBObject, SQLFragment, Copyable, DynamicPropertySet
 
- 
public class SimpleSQLFragment
 
- extends AbstractSQLFragment
 
SQLFragment that we can't break down any more.
- Since:
 
- 10.1.3
 
 
 
  
 
 
 
 
  
 
  
 
| Method Summary | 
 java.lang.String | 
getSQLText() 
          Gets the SQL for this fragment. | 
static SimpleSQLFragment[] | 
newArray(java.lang.String... sql) 
          Convinience method for creating an array of fragments. | 
 void | 
setSQLText(java.lang.String sqlText) 
          Sets the SQL for this fragment. | 
 
 
 
| Methods inherited from class oracle.javatools.db.AbstractDBObject | 
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getOwnedObjectsImpl, getProperties, getProperty, getReferenceIDs, getReferenceIDsImpl, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties | 
 
| Methods inherited from class java.lang.Object | 
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
 
| Methods inherited from interface oracle.javatools.db.DBObject | 
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, replaceReferenceIDs, setID, setName | 
 
 
 
SimpleSQLFragment
public SimpleSQLFragment()
- Creates an empty fragment.
 
SimpleSQLFragment
public SimpleSQLFragment(java.lang.String sql)
- Creates a fragment with the given SQL string.
 
setSQLText
public void setSQLText(java.lang.String sqlText)
- Sets the SQL for this fragment.
 
getSQLText
public java.lang.String getSQLText()
- Gets the SQL for this fragment.
 
- 
- Returns:
 
- a string representing the SQL text for this object.
 
 
newArray
public static SimpleSQLFragment[] newArray(java.lang.String... sql)
- Convinience method for creating an array of fragments. Obviously won't be as quick as creating an array from scratch but useful for unit tests etc.
 
Skip navigation links 
 
Copyright © 1997, 2013, Oracle. All rights reserved.