|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.cm.ds.db.AbstractDBObject oracle.jdeveloper.cm.ds.db.AbstractSchemaObject 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_TYPES
|
static java.lang.String |
TRUNCATE_EVENT
|
static java.lang.String |
TYPE
|
static java.lang.String |
UPDATE_EVENT
|
static int |
VIEW_BASE_TYPE
|
Fields inherited from interface oracle.jdeveloper.cm.ds.db.DBObject |
COMMENT |
Fields inherited from interface oracle.ide.addin.Subject |
OBJECT_MODIFIED |
Constructor Summary | |
Trigger()
|
|
Trigger(Schema schema,
java.lang.String name)
|
Method Summary | |
java.lang.Object |
copyTo(java.lang.Object target)
Copies the state of this DBObject to another instance. |
protected void |
copyToImpl(Trigger copy)
|
boolean |
equals(java.lang.Object target)
|
protected boolean |
equalsImpl(Trigger target)
|
int |
getBaseType()
|
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()
|
Schema |
getTableOwner()
|
int |
getTiming()
|
java.lang.String |
getType()
Returns the type of this object. |
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(Schema schema)
Sets the Schema of this object. |
void |
setStatementLevel(boolean stmtLevel)
|
void |
setTableName(java.lang.String table)
|
void |
setTableOwner(Schema owner)
|
void |
setTiming(int timing)
|
void |
setWhenClause(java.lang.String clause)
|
Methods inherited from class oracle.jdeveloper.cm.ds.db.AbstractSchemaObject |
copyToImpl, equalsImpl, getSchema |
Methods inherited from class oracle.jdeveloper.cm.ds.db.AbstractDBObject |
attach, compareToImpl, copyToImpl, detach, equalsImpl, getID, getName, getProperties, getProperty, hashCode, notifyObservers, setID, setProperties, setProperty, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.jdeveloper.cm.ds.db.DBObject |
getID, getName, getProperties, getProperty, setID, setProperties, setProperty |
Methods inherited from interface oracle.ide.addin.Subject |
attach, detach, notifyObservers |
Field Detail |
public static final java.lang.String 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(Schema 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)
DBObject
null
is specified for the target, a new instance will be created.
The entire state of the object will be copied, with a few exceptions. In particular, any observers registered will NOT be copied. In cases where this instance contains child DBObjects, new instances of those children will be created, and the state copied to them. The copy will thus contain its own unique state; after making the copy, changing one instance will not cause any changes to occur to the copy. The properties will be copied; however, copies will not be made of the values referenced by the properties - thus, the copy will refer to the same instance as the original. Child objects that are copied will still point to the original parent; it is the responsibility of a copied parent to update the parent of copies of its children point to the copy of itself.
The ID associated with this object will not be copied. If the copy is intended to be a temporary copy of this object (to be used in a dialog editing the object for example), then the caller should explicitly set the ID of the copy to be the same as on this object. However, if the new object is intended to exist separately from this object, the caller should ensure that the new object have a different ID from this object.
copyTo
in interface DBObject
target
- The object to copy to. If target is null
, a new
instance will be created, and the state will be copied to that object.
protected void copyToImpl(Trigger copy)
public boolean equals(java.lang.Object target)
equals
in class AbstractDBObject
protected boolean equalsImpl(Trigger target)
public java.lang.String getType()
DBObject
getType
in interface DBObject
public void setSchema(Schema schema)
SchemaObject
setSchema
in interface SchemaObject
setSchema
in class AbstractSchemaObject
public void setName(java.lang.String name)
DBObject
setName
in interface DBObject
setName
in class AbstractDBObject
public 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 Schema getTableOwner()
public void setTableOwner(Schema 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)
SubDirtyable
SubDirtyable
implementation will be persisted.
setOwner
in interface SubDirtyable
owner
- The Dirtyable
object in which this
SubDirtyable
will be saved.public boolean isDirty()
Dirtyable
isDirty
in interface Dirtyable
true
if the data in the object has been modified.public void markDirty(boolean dirty)
Dirtyable
markDirty(...)
instead of
setDirty(...)
so that the JavaBeans
Introspector
will not
mistakenly identify "dirty" as a JavaBean property.
markDirty
in interface Dirtyable
dirty
- If true
, sets the object as being
dirty; if false
, sets the object as being up-to-date.
|
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.