|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.cm.ds.db.DBObject
oracle.jdeveloper.cm.ds.db.SchemaObject
oracle.jdeveloper.cm.ds.db.Trigger
| Field Summary | |
static int |
AFTER_TIMING
|
static java.lang.String |
ALTER_EVENT
|
static java.lang.String |
ANALYZE_EVENT
|
static java.lang.String |
ASSOCIATE_STATISTICS_EVENT
|
static java.lang.String |
AUDIT_EVENT
|
static int |
BEFORE_TIMING
|
static java.lang.String |
COMMENT_EVENT
|
static java.lang.String |
CREATE_EVENT
|
static int |
DATABASE_BASE_TYPE
|
static java.lang.String |
DDL_EVENT
|
static java.lang.String |
DELETE_EVENT
|
static java.lang.String |
DISASSOCIATE_STATISTICS_EVENT
|
static java.lang.String |
DROP_EVENT
|
static java.lang.String |
GRANT_EVENT
|
static java.lang.String |
INSERT_EVENT
|
static java.lang.String |
LOGOFF_EVENT
|
static java.lang.String |
LOGON_EVENT
|
static java.lang.String |
NOAUDIT_EVENT
|
static java.lang.String |
RENAME_EVENT
|
static java.lang.String |
REVOKE_EVENT
|
static int |
SCHEMA_BASE_TYPE
|
static java.lang.String |
SERVERERROR_EVENT
|
static java.lang.String |
SHUTDOWN_EVENT
|
static java.lang.String |
STARTUP_EVENT
|
static java.lang.String |
SUSPEND_EVENT
|
static int |
TABLE_BASE_TYPE
|
static java.lang.String |
TRIGGER_TYPE
|
static java.lang.String[] |
TRIGGER_TYPES
|
static java.lang.String |
TRUNCATE_EVENT
|
static java.lang.String |
UPDATE_EVENT
|
static int |
VIEW_BASE_TYPE
|
| Fields inherited from class oracle.jdeveloper.cm.ds.db.DBObject |
ANONYMOUS_BLOCK, COLUMN, CONSTRAINT, FUNCTION, INDEX, PACKAGE_BODY, PACKAGE_SPEC, PROCEDURE, SEQUENCE, SYNONYM, TABLE, WORKAREA |
| Constructor Summary | |
Trigger()
|
|
Trigger(java.lang.String schema,
java.lang.String name)
|
|
| Method Summary | |
java.lang.Object |
copyTo(java.lang.Object target)
Copies the internal state of this object to the
specified copy. |
protected void |
copyToImpl(Trigger copy)
|
boolean |
equals(java.lang.Object target)
|
protected boolean |
equalsImpl(Trigger target)
|
java.lang.String |
generateSQL(boolean replace)
|
int |
getBaseType()
|
java.util.Iterator |
getChildren()
If this object has subobjects (i.e. |
java.lang.String |
getCode()
|
java.util.List |
getColumns()
|
java.util.List |
getEvents()
|
static java.util.List |
getEvents(int timing,
int type)
|
java.lang.String[] |
getReferenceNames()
|
java.lang.String |
getTableName()
|
java.lang.String |
getTableOwner()
|
int |
getTiming()
|
java.lang.String |
getType()
Returns the type of object this is. |
java.lang.String |
getWhenClause()
|
boolean |
isDirty()
True if the data in the object has been modified. |
boolean |
isStatementLevel()
|
void |
markDirty(boolean dirty)
Marks the data with the specified dirty state. |
void |
setBaseType(int type)
|
void |
setCode(java.lang.String code)
|
void |
setColumns(java.util.List l)
|
void |
setEvents(java.util.List l)
|
void |
setName(java.lang.String name)
Sets the name of this object |
void |
setOwner(Dirtyable owner)
This method should be called to set the document in which a SubDirtyable implementation will be persisted. |
void |
setReferenceNames(java.lang.String[] names)
|
void |
setSchema(java.lang.String schema)
Sets the Schema of this table |
void |
setStatementLevel(boolean stmtLevel)
|
void |
setTableName(java.lang.String table)
|
void |
setTableOwner(java.lang.String owner)
|
void |
setTiming(int timing)
|
void |
setWhenClause(java.lang.String clause)
|
| Methods inherited from class oracle.jdeveloper.cm.ds.db.SchemaObject |
copyToImpl, equalsImpl, getCatalog, getSchema, setCatalog |
| Methods inherited from class oracle.jdeveloper.cm.ds.db.DBObject |
copyToImpl, equalsImpl, getName, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String TRIGGER_TYPE
public static final int BEFORE_TIMING
public static final int AFTER_TIMING
public static final int TABLE_BASE_TYPE
public static final int VIEW_BASE_TYPE
public static final int SCHEMA_BASE_TYPE
public static final int DATABASE_BASE_TYPE
public static final java.lang.String[] TRIGGER_TYPES
public static final java.lang.String INSERT_EVENT
public static final java.lang.String DELETE_EVENT
public static final java.lang.String UPDATE_EVENT
public static final java.lang.String ALTER_EVENT
public static final java.lang.String ANALYZE_EVENT
public static final java.lang.String ASSOCIATE_STATISTICS_EVENT
public static final java.lang.String AUDIT_EVENT
public static final java.lang.String COMMENT_EVENT
public static final java.lang.String CREATE_EVENT
public static final java.lang.String DISASSOCIATE_STATISTICS_EVENT
public static final java.lang.String DROP_EVENT
public static final java.lang.String GRANT_EVENT
public static final java.lang.String NOAUDIT_EVENT
public static final java.lang.String RENAME_EVENT
public static final java.lang.String REVOKE_EVENT
public static final java.lang.String TRUNCATE_EVENT
public static final java.lang.String DDL_EVENT
public static final java.lang.String SERVERERROR_EVENT
public static final java.lang.String LOGON_EVENT
public static final java.lang.String LOGOFF_EVENT
public static final java.lang.String STARTUP_EVENT
public static final java.lang.String SHUTDOWN_EVENT
public static final java.lang.String SUSPEND_EVENT
| Constructor Detail |
public Trigger()
public Trigger(java.lang.String schema,
java.lang.String name)
| Method Detail |
public static java.util.List getEvents(int timing,
int type)
public java.lang.Object copyTo(java.lang.Object target)
Copyablethis object to the
specified copy. If copy is
null, then this method should create a new instance
of this class and proceed to copy the internal state
to the newly created object. Generally, only the persistent
state of the object should be copied, but whether or not it is
appropriate to copy transient properties is at the discretion
of the individual implementor.
Regardless of whether the copy occurs to an existing object or to
a newly created object, the return value is object to which
this object's state was copied.
There is a standard implementation pattern for the
copyTo method that helps avoid problems that arise
when a Copyable object is subclassed. The pattern
is:
public Object copyTo( Object target )
{
final <this_class> copy =
target != null ? (<this_class>) target : new <this_class>();
copyToImpl( copy );
return copy;
}
protected final void copyToImpl( <this_class> copy )
{
super.copyToImpl( copy ); // if necessary
// put code here for copying the properties of <this_class>
}
The parameter passed into the copyToImpl method is
the same type of this class. The responsibility of
copyToImpl is to copy the state of this
class through direct access of the fields. The
copyToImpl method should not use getters and setters
since these may be overridden, causing the state of
this class to be incompletely copied.
copyTo in interface CopyablecopyTo in class DBObjectprotected void copyToImpl(Trigger copy)
public boolean equals(java.lang.Object target)
equals in class DBObjectprotected boolean equalsImpl(Trigger target)
public java.lang.String getType()
DBObject
getType in class DBObjectDBObject.TABLE,
DBObject.WORKAREA,
DBObject.COLUMNpublic void setSchema(java.lang.String schema)
SchemaObject
setSchema in class SchemaObjectpublic void setName(java.lang.String name)
DBObject
setName in class DBObjectpublic int getTiming()
public void setTiming(int timing)
public boolean isStatementLevel()
public void setStatementLevel(boolean stmtLevel)
public java.util.List getEvents()
public void setEvents(java.util.List l)
public java.lang.String getTableOwner()
public void setTableOwner(java.lang.String owner)
public java.lang.String getTableName()
public void setTableName(java.lang.String table)
public int getBaseType()
public void setBaseType(int type)
public java.lang.String[] getReferenceNames()
public void setReferenceNames(java.lang.String[] names)
public java.lang.String getWhenClause()
public void setWhenClause(java.lang.String clause)
public java.util.List getColumns()
public void setColumns(java.util.List l)
public java.lang.String getCode()
public void setCode(java.lang.String code)
public void setOwner(Dirtyable owner)
SubDirtyableSubDirtyable implementation will be persisted.
setOwner in interface SubDirtyableowner - The Dirtyable object in which this
SubDirtyable will be saved.public boolean isDirty()
Dirtyable
isDirty in interface Dirtyabletrue if the data in the object has been modified.public void markDirty(boolean dirty)
DirtyablemarkDirty(...) instead of
setDirty(...) so that the JavaBeans
Introspector will not
mistakenly identify "dirty" as a JavaBean property.
markDirty in interface Dirtyabledirty - If true, sets the object as being
dirty; if false, sets the object as being up-to-date.public java.lang.String generateSQL(boolean replace)
public java.util.Iterator getChildren()
DBObjectIterator on that list of children,
otherwise it will return null.
getChildren in class DBObject
|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright ©1997, 2003, Oracle. All rights reserved.