oracle.javatools.db.plsql
Class PlSqlVariable
java.lang.Object
  
oracle.javatools.db.AbstractDBObject
      
oracle.javatools.db.AbstractBuildableObject
          
oracle.javatools.db.plsql.DBObjectPlSqlFragment
              
oracle.javatools.db.plsql.PlSqlVariable
- All Implemented Interfaces: 
 - ChildDBObject, DBObject, Copyable, DynamicPropertySet
 
- Direct Known Subclasses: 
 - PlSqlAttribute
 
public class PlSqlVariable
- extends DBObjectPlSqlFragment
 
A representation of a PL/SQL variable (or constant) defined at any scope
 in a PL/SQL object.
 
 
| 
Field Summary | 
static java.lang.String | 
TYPE
 
            | 
 
 
 
 
 
 
| Methods inherited from class oracle.javatools.db.AbstractDBObject | 
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, toString | 
 
| 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 | 
 
 
TYPE
public static final java.lang.String TYPE
- See Also:
 - Constant Field Values
 
PlSqlVariable
public PlSqlVariable()
getType
public java.lang.String getType()
- Description copied from interface: 
DBObject 
- Returns the type of this object. Valid types include things like
 tables, views, synonyms, and columns.
- Returns:
 - a string describing the type of object.
 
 
 
getDataTypeReference
public PlSqlReference getDataTypeReference()
- Get method for the DataTypeReference property
- Returns:
 - a PlSqlReference to the data type of the variable.
 - Since:
 
  - 11.1.2.0.0
 
 
 
setDataTypeReference
public void setDataTypeReference(PlSqlReference dataTypeRef)
- Set method for the DataTypeReference property
- Parameters:
 dataTypeRef - a PlSqlReference to the data type of the variable.- Since:
 
  - 11.1.2.0.0
 
 
 
getDataTypeUsage
public DataTypeUsage getDataTypeUsage()
- Helper method to return the DataTypeUsage for the variable
- Returns:
 - Since:
 
  - 11.1.2.0.0
 
 
 
Copyright © 1997, 2013, Oracle. All rights reserved.