Skip navigation links
oracle.javatools.db
Class AbstractSchemaObject
java.lang.Object
oracle.javatools.db.AbstractDBObject
oracle.javatools.db.AbstractBuildableObject
oracle.javatools.db.AbstractSystemObject
oracle.javatools.db.AbstractSchemaObject
- All Implemented Interfaces:
- DBObject, SchemaObject, SystemObject, Copyable, DynamicPropertySet
- Direct Known Subclasses:
- DatabaseLink, Directory, Index, Indextype, Java, MaterializedViewLog, PlSql, RecycledObject, Relation, Sequence, Synonym, XMLSchema
-
public abstract class AbstractSchemaObject
- extends AbstractSystemObject
- implements SchemaObject
Provides a base implementation of the SchemaObject
interface.
- Since:
- 9.0.5
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, getParent, getReferenceIDs, getType, replaceReferenceIDs, setID, setName |
AbstractSchemaObject
protected AbstractSchemaObject()
AbstractSchemaObject
protected AbstractSchemaObject(java.lang.String name,
Schema schema,
DBObjectID id)
- Constructs a new instance with the specified name and schema.
- Parameters:
name
- a string representing the name of the object
schema
- a string representing the schema containing the object
id
- the ID for this object
AbstractSchemaObject
protected AbstractSchemaObject(java.lang.String name,
Schema schema)
- Constructs a new instance with the specified name and schema.
- Parameters:
name
- a string representing the name of the object
schema
- a string representing the schema containing the object
copyToImpl
protected void copyToImpl(AbstractDBObject copy,
DBObject copyParent,
IDPolicy idPolicy)
- Description copied from class:
AbstractDBObject
- Implementation method for making a copy of this object. To add custom copyTo logic, a subclass must override this method (exactly), and must call back to the super implementation.
-
- Overrides:
copyToImpl
in class AbstractBuildableObject
-
- Parameters:
copy
- the copy being created of this object
copyParent
- 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.
equalsImpl
protected boolean equalsImpl(AbstractDBObject target)
- Description copied from class:
AbstractDBObject
- Equals implementation for testing equality with another AbstractDBObject. Override this method (with exact signature) to customise the equality comparison.
-
- Overrides:
equalsImpl
in class AbstractBuildableObject
setSchema
public void setSchema(Schema schema)
- Description copied from interface:
SchemaObject
- Sets the Schema of this object.
-
- Specified by:
setSchema
in interface SchemaObject
-
- Parameters:
schema
- the Schema containing this object
getSchema
public Schema getSchema()
- Description copied from interface:
SchemaObject
- Gets the Schema of this object.
-
- Specified by:
getSchema
in interface SchemaObject
-
- Returns:
- schema the Schema containing this object
getProperty
public java.lang.Object getProperty(java.lang.String key)
- Description copied from interface:
DynamicPropertySet
- Retrieves the value associated with a property.
-
- Specified by:
getProperty
in interface DynamicPropertySet
- Overrides:
getProperty
in class AbstractBuildableObject
-
- Parameters:
key
- the property key for which a value is desired. exists.
- Returns:
- the value of the requested property, or a
null
value if the property does not exist or is not set.
setProperty
public void setProperty(java.lang.String key,
java.lang.Object value)
- Description copied from interface:
DynamicPropertySet
- Sets the value for a property. Setting a value to
null
removes that property.
-
- Specified by:
setProperty
in interface DynamicPropertySet
- Overrides:
setProperty
in class AbstractBuildableObject
-
- Parameters:
key
- the property key to set
value
- the value to set
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.