|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.sysman.dbTarget.db.changemgr.emo.cpapi.ChangeItemInfo
oracle.sysman.dbTarget.db.changemgr.emo.cpapi.ApplyChangeItemResult
public class ApplyChangeItemResult
Reports the result of applying a change item to the corresponding object in a database.
Field Summary | |
---|---|
static int |
CI_DIFF_CONFLICTS
Indicates that individual diff conflicts were found for an object to be modified. |
static int |
CI_EXISTS_DIFFERENT
Indicates that an object to be added already exists and has a different definition than the Change Item, or that an object to be dropped exists but has a different definition than the Change Item. |
static int |
CI_EXISTS_SAME
Indicates that an object to be added already exists and has the same definition as the Change Item. |
static int |
CI_NO_CONFLICT
Indicates that no conflict was detected. |
static int |
CI_NOT_EXIST
Indicates that an object to be modified or dropped does not exist. |
static int |
CI_NOT_PROCESSED
Indicates that the change item has not been processed. |
Fields inherited from class oracle.sysman.dbTarget.db.changemgr.emo.cpapi.ChangeItemInfo |
---|
CLUSTER, CP_ADD, CP_DROP, CP_MODIFY, CP_MONITOR, CP_NO_ACTION, DB_LINK, FUNCTION, INDEX, MATERIALIZED_VIEW, MATERIALIZED_VIEW_LOG, MAX_DESCRIPTION_LENGTH, PACKAGE, PACKAGE_BODY, PACKAGE_SPEC, PROCEDURE, PROFILE, ROLE, ROLLBACK_SEGMENT, SEQUENCE, SYNONYM, TABLE, TABLESPACE, TRIGGER, TYPE, USER, VIEW |
Constructor Summary | |
---|---|
ApplyChangeItemResult(int itemAction,
java.lang.String typeName,
java.lang.String objectName,
java.lang.String objectSchema,
java.lang.String description)
|
Method Summary | |
---|---|
oracle.xml.parser.v2.XMLDocument |
getDifferencesDoc()
Gets the differences document that represents differences between the change item definition and the target definition for ADD and DROP change items. |
ApplyOneDiffResult[] |
getDiffResults()
Returns the individual apply-diff results for this change item. |
int |
getResult()
Returns the result of applying the change item to a database object. |
boolean |
getSynchObjectAdded()
Indicates whether the change item resulted in addition of a synch object to the synchronization. |
void |
setDifferencesDoc(oracle.xml.parser.v2.XMLDocument diffDoc)
Sets the differences document that represents differences between the change item definition and the target definition for ADD and DROP change items. |
void |
setDiffResults(ApplyOneDiffResult[] results)
Sets the individual apply-diff results for this change item. |
void |
setResult(int code)
Sets the result code. |
void |
setSynchObjectAdded(boolean added)
Sets flag indicating whether the change item resulted in addition of a synch object to the synchronization. |
java.lang.String |
toString()
|
java.lang.String |
toString(boolean fullDetails)
|
Methods inherited from class oracle.sysman.dbTarget.db.changemgr.emo.cpapi.ChangeItemInfo |
---|
getClientSourceDatabase, getDescription, getEntMgrSourceDatabase, getGlobalSourceDatabase, getItemAction, getItemDisplayName, getObjectName, getObjectSchema, getObjectType, getObjectTypeCode, setClientSourceDatabase, setDescription, setEntMgrSourceDatabase, setGlobalSourceDatabase, setItemAction, setObjectName, setObjectSchema, setObjectType |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CI_NOT_PROCESSED
public static final int CI_NO_CONFLICT
public static final int CI_EXISTS_SAME
public static final int CI_EXISTS_DIFFERENT
public static final int CI_NOT_EXIST
public static final int CI_DIFF_CONFLICTS
Constructor Detail |
---|
public ApplyChangeItemResult(int itemAction, java.lang.String typeName, java.lang.String objectName, java.lang.String objectSchema, java.lang.String description) throws ChangePlanAccessException
ChangePlanAccessException
Method Detail |
---|
public void setResult(int code)
code
- One of:
public int getResult()
public void setDiffResults(ApplyOneDiffResult[] results)
results
- An array of ApplyOneDiffResult
objects, each of which represents
the result of applying a single
difference to the target definition.public ApplyOneDiffResult[] getDiffResults()
public void setDifferencesDoc(oracle.xml.parser.v2.XMLDocument diffDoc)
diffDoc
- The Diff SXML document.public oracle.xml.parser.v2.XMLDocument getDifferencesDoc()
public void setSynchObjectAdded(boolean added)
added
- True if a synch object was
added, false otherwise.public boolean getSynchObjectAdded()
public java.lang.String toString()
toString
in class ChangeItemInfo
public java.lang.String toString(boolean fullDetails)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |