|
|||||||||
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
public class ChangeItemInfo
ChangeItemInfo contains top-level information that identifies and describes a change item. It does not contain the detailed information about the change to be carried out by the change item. A change item specifies an action to be taken for a single database object at one or more destination databases.
Field Summary | |
---|---|
static java.lang.String |
CLUSTER
|
static int |
CP_ADD
Specifies that the change item is to add the object to the destination database. |
static int |
CP_DROP
Specifies that the change item is to drop the object from the destination database. |
static int |
CP_MODIFY
Specifies that the change item is to modify the object in the destination database. |
static int |
CP_MONITOR
Designates a change item that monitors potential development activity for a database object. |
static int |
CP_NO_ACTION
|
static java.lang.String |
DB_LINK
|
static java.lang.String |
FUNCTION
|
static java.lang.String |
INDEX
|
static java.lang.String |
MATERIALIZED_VIEW
|
static java.lang.String |
MATERIALIZED_VIEW_LOG
|
static int |
MAX_DESCRIPTION_LENGTH
Specifies the maximum length of a change item description. |
static java.lang.String |
PACKAGE
|
static java.lang.String |
PACKAGE_BODY
|
static java.lang.String |
PACKAGE_SPEC
|
static java.lang.String |
PROCEDURE
|
static java.lang.String |
PROFILE
|
static java.lang.String |
ROLE
|
static java.lang.String |
ROLLBACK_SEGMENT
|
static java.lang.String |
SEQUENCE
|
static java.lang.String |
SYNONYM
|
static java.lang.String |
TABLE
|
static java.lang.String |
TABLESPACE
|
static java.lang.String |
TRIGGER
|
static java.lang.String |
TYPE
|
static java.lang.String |
USER
|
static java.lang.String |
VIEW
|
Constructor Summary | |
---|---|
ChangeItemInfo()
Default constructor creates an unitialized ChangeItemInfo. |
|
ChangeItemInfo(int itemAction,
java.lang.String typeName,
java.lang.String objectName,
java.lang.String objectSchema,
java.lang.String description)
Creates a ChangeItemInfo for a database object. |
Method Summary | |
---|---|
java.lang.String |
getClientSourceDatabase()
Returns the client's name of the source database for this Change Item. |
java.lang.String |
getDescription()
Returns the description for the change item |
java.lang.String |
getEntMgrSourceDatabase()
Returns the Enterprise Manager name of the source database for this Change Item. |
java.lang.String |
getGlobalSourceDatabase()
Returns the global name of the source database for this Change Item. |
int |
getItemAction()
Returns the action for the change item. |
java.lang.String |
getItemDisplayName()
Returns the display name for the change item, including the object type |
java.lang.String |
getObjectName()
Returns the object name for the change item |
java.lang.String |
getObjectSchema()
Returns the object schema for the change item (Nonschema objects specify this as null.) |
java.lang.String |
getObjectType()
Returns the object type of the change item. |
int |
getObjectTypeCode()
Returns the object type code of the change item. |
void |
setClientSourceDatabase(java.lang.String db)
Sets the client's name of the source database for this Change Item. |
void |
setDescription(java.lang.String description)
Sets the description for the change item |
void |
setEntMgrSourceDatabase(java.lang.String db)
Sets the Enterprise Manager name of the source database for this Change Item. |
void |
setGlobalSourceDatabase(java.lang.String db)
Sets the global name of the source database for this Change Item. |
void |
setItemAction(int action)
Sets the action for the change item. |
void |
setObjectName(java.lang.String name)
Sets the object name for the change item. |
void |
setObjectSchema(java.lang.String schema)
Sets the object schema for the change item. |
void |
setObjectType(java.lang.String typeName)
Sets the object type of the change item. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CP_NO_ACTION
public static final int CP_ADD
public static final int CP_MODIFY
public static final int CP_DROP
public static final int CP_MONITOR
public static java.lang.String CLUSTER
public static java.lang.String DB_LINK
public static java.lang.String FUNCTION
public static java.lang.String INDEX
public static java.lang.String MATERIALIZED_VIEW
public static java.lang.String MATERIALIZED_VIEW_LOG
public static java.lang.String PACKAGE
public static java.lang.String PACKAGE_SPEC
public static java.lang.String PACKAGE_BODY
public static java.lang.String PROCEDURE
public static java.lang.String PROFILE
public static java.lang.String ROLE
public static java.lang.String ROLLBACK_SEGMENT
public static java.lang.String SEQUENCE
public static java.lang.String SYNONYM
public static java.lang.String TABLE
public static java.lang.String TABLESPACE
public static java.lang.String TRIGGER
public static java.lang.String TYPE
public static java.lang.String USER
public static java.lang.String VIEW
public static final int MAX_DESCRIPTION_LENGTH
Constructor Detail |
---|
public ChangeItemInfo()
public ChangeItemInfo(int itemAction, java.lang.String typeName, java.lang.String objectName, java.lang.String objectSchema, java.lang.String description) throws ChangePlanAccessException
itemAction
- Change item's action.
(See setItemAction
)typeName
- The object type name, one of:
objectName
- the object nameobjectSchema
- the object schemadescription
- description of the change item
(limited to MAX_DESCRIPTION_LENGTH characters)
ChangePlanAccessException
- if the typeName does not
specify one of the valid object
types or itemAction is not a
recognized action code.Method Detail |
---|
public void setItemAction(int action)
action
- One of:
public int getItemAction()
public void setObjectType(java.lang.String typeName)
typeName
- The object type name, one of:
public java.lang.String getObjectType()
setObjectType
public int getObjectTypeCode()
public void setObjectName(java.lang.String name)
name
- the object namepublic java.lang.String getObjectName()
public void setObjectSchema(java.lang.String schema)
schema
- the object schemapublic java.lang.String getObjectSchema()
public void setDescription(java.lang.String description) throws ChangePlanAccessException
description
- description of the change item
(limited to MAX_DESCRIPTION_LENGTH characters)
ChangePlanAccessException
- if the description exceeds
the maximum lengthpublic java.lang.String getDescription()
public java.lang.String getItemDisplayName()
public void setClientSourceDatabase(java.lang.String db)
db
- the name of the database or connection
that was the source of this Change Item,
meaningful to the CPAPI clientpublic java.lang.String getClientSourceDatabase()
public void setEntMgrSourceDatabase(java.lang.String db)
db
- the name of the database or connection
that was the source of this Change Item,
meaningful to Enterprise Managerpublic java.lang.String getEntMgrSourceDatabase()
public void setGlobalSourceDatabase(java.lang.String db)
db
- the global name of the database or connection
that was the source of this Change Itempublic java.lang.String getGlobalSourceDatabase()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |