|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.cm.ds.db.AbstractDBObjectBuilder
Constructor Summary | |
protected |
AbstractDBObjectBuilder(java.lang.String type)
|
Method Summary | |
SchemaObject |
buildObject(DBObjectID id)
Builds a new SchemaObject instance, using the specified ID. |
SchemaObject |
buildObject(Schema schema,
java.lang.String name)
Builds a new SchemaObject instance. |
java.lang.String |
getObjectType()
Retrieves the type of object that this DBObjectBuilder instance creates. |
java.lang.Long |
getTimestamp(Schema schema,
java.lang.String name)
Retrieves the the timestamp for this object. |
java.lang.String[] |
listObjects(Schema schema,
java.lang.String ref)
Lists the names of the objects that can be provided by this builder. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected AbstractDBObjectBuilder(java.lang.String type)
Method Detail |
public java.lang.String getObjectType()
DBObjectBuilder
getObjectType
in interface DBObjectBuilder
DBObject.getType()
public java.lang.String[] listObjects(Schema schema, java.lang.String ref) throws DBException
DBObjectBuilder
listObjects
in interface DBObjectBuilder
schema
- the schema to look for objects inref
- a string containing a pattern that can used to match names;
a ref of null
indicates that all objects should
be returned
DBException
- if an error is encountered getting the listpublic SchemaObject buildObject(Schema schema, java.lang.String name) throws DBException
DBObjectBuilder
buildObject
in interface DBObjectBuilder
schema
- the schema containing the objectname
- a string specifying the name of the new object
null
if no such object can be built
DBException
- if an error is encountered creating the objectpublic SchemaObject buildObject(DBObjectID id) throws DBException
DBObjectBuilder
buildObject
in interface DBObjectBuilder
id
- the ID associated with the new instance
null
if no such object can be built
DBException
- if an error is encountered creating the objectpublic java.lang.Long getTimestamp(Schema schema, java.lang.String name) throws DBException
DBObjectBuilder
null
should
be returned.
getTimestamp
in interface DBObjectBuilder
schema
- The Schema
containing the objectname
- The name of the object
null
if this
implementation does not support timestamps
DBException
- if an error is encountered retrieving the timestamp
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.