| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.1) E67661-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
oracle.javatools.db.AbstractDBObject
      
oracle.javatools.db.AbstractChildDBObject
          
oracle.javatools.db.PlSqlAttribute
public class PlSqlAttribute
Model of a PL/SQL attribute. For example a Type or Package can contain attributes as well as methods.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject | 
|---|
AbstractDBObject.ChildSupport | 
| Field Summary | |
|---|---|
static java.lang.String | 
TYPE | 
| Fields inherited from interface oracle.javatools.db.DBObject | 
|---|
COMMENT | 
| Constructor Summary | |
|---|---|
PlSqlAttribute()Constructs a new object type attribute.  | 
|
PlSqlAttribute(java.lang.String name)Constructs a new object type attribute with the specified name.  | 
|
PlSqlAttribute(java.lang.String name, DataType dataType)Deprecated. Constructs a new attribute with the specified name and default usage of the given datatype.  | 
|
PlSqlAttribute(java.lang.String name, DataTypeUsage dataTypeUsage)Constructs a new attribute with the specified name and datatype usage.  | 
|
| Method Summary | |
|---|---|
protected  void | 
copyToImpl(AbstractDBObject other, DBObject copyParent, IDPolicy idPolicy)Implementation method for making a copy of this object.  | 
protected  boolean | 
equalsImpl(AbstractDBObject other)Equals implementation for testing equality with another AbstractDBObject.  | 
 DataTypeUsage | 
getDataTypeUsage() | 
protected  void | 
getOwnedObjectsImpl(java.util.Collection<DBObject> objs, java.lang.String... types)Used by all the final children methods.  | 
 SpecPlSql | 
getSpecPlSql()Gets the ComplexType that owns this attribute. | 
 java.lang.String | 
getSqljExternalName() | 
 java.lang.String | 
getType()Returns the type of this object.  | 
 boolean | 
replaceReferenceIDs(java.util.Map<DBObjectID,DBObjectID> idMap)Override in subclasses to replace reference IDs as appropriate.  | 
 void | 
setDataTypeUsage(DataTypeUsage dataTypeUsage) | 
 void | 
setSpecPlSql(SpecPlSql plsql)Sets the ComplexType that owns this attribute. | 
 void | 
setSqljExternalName(java.lang.String sqljExternalName) | 
| Methods inherited from class oracle.javatools.db.AbstractChildDBObject | 
|---|
findParent, getParent, getProperty, setParent, setProperty | 
| Methods inherited from class oracle.javatools.db.AbstractDBObject | 
|---|
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getProperties, getProperty, getReferenceIDs, getReferenceIDsImpl, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, 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, setID, setName | 
| Methods inherited from interface oracle.javatools.util.DynamicPropertySet | 
|---|
getProperties, getProperty, setProperties | 
| Field Detail | 
|---|
public static final java.lang.String TYPE
| Constructor Detail | 
|---|
public PlSqlAttribute()
public PlSqlAttribute(java.lang.String name)
name - a string containing the attribute name
public PlSqlAttribute(java.lang.String name,
                      DataTypeUsage dataTypeUsage)
name - a string containing the attribute namedataType - the datatype of the attribute
@Deprecated
public PlSqlAttribute(java.lang.String name,
                                 DataType dataType)
name - a string containing the attribute namedataType - the datatype of the attribute| Method Detail | 
|---|
protected void copyToImpl(AbstractDBObject other,
                          DBObject copyParent,
                          IDPolicy idPolicy)
AbstractDBObjectcopyToImpl in class AbstractChildDBObjectother - the copy being created of this objectcopyParent - if this object is being copied underneath a parent, this parameter is the copy of the parent of this object, which will therefore need to be the parent of the copy of this object.idPolicy - the policy for copying the object's ID.protected boolean equalsImpl(AbstractDBObject other)
AbstractDBObjectequalsImpl in class AbstractDBObjectpublic SpecPlSql getSpecPlSql()
ComplexType that owns this attribute.public void setSpecPlSql(SpecPlSql plsql)
ComplexType that owns this attribute.relation - the object type that owns this attribute.public java.lang.String getType()
DBObjectpublic void setSqljExternalName(java.lang.String sqljExternalName)
public java.lang.String getSqljExternalName()
public void setDataTypeUsage(DataTypeUsage dataTypeUsage)
public DataTypeUsage getDataTypeUsage()
protected void getOwnedObjectsImpl(java.util.Collection<DBObject> objs,
                                   java.lang.String... types)
AbstractDBObjectincludesType to check the types vararg.getOwnedObjectsImpl in class AbstractDBObjectobjs - a Collection of the apppropriate children.types - a vararg of the type(s) to search forAbstractDBObject.includesType(java.lang.String, java.lang.String...)public boolean replaceReferenceIDs(java.util.Map<DBObjectID,DBObjectID> idMap)
AbstractDBObjectreplaceReferenceIDs in interface DBObjectreplaceReferenceIDs in class AbstractDBObjectidMap - key = old DBObjectID, value = new DBObjectID
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.1) E67661-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||