|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.svc.agent.environment.EnvironmentChangeDetail
public class EnvironmentChangeDetail
This class represents a detected change to an environment object. Environment change monitors generate these in response to requested changes to the agent's environment.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected boolean |
mCreateNewObject
|
protected java.lang.Object |
mNewObject
|
protected java.lang.String |
mNewObjectId
|
protected java.lang.String |
mObjectName
|
protected java.lang.Object |
mOldObject
|
protected java.lang.String |
mOldObjectId
|
Constructor Summary | |
---|---|
EnvironmentChangeDetail()
|
|
EnvironmentChangeDetail(java.lang.String pObjectName,
java.lang.Object pOldObject,
java.lang.String pOldObjectId,
java.lang.String pNewObjectId,
java.lang.Object pNewObject,
boolean pCreateNewObject)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Extends equality by comparing all property values. |
java.lang.Object |
getNewObject()
Returns the object that will replace the old object when the change is applied. |
java.lang.String |
getNewObjectId()
Returns the id of the new object represented by this change detail. |
java.lang.String |
getObjectName()
|
java.lang.Object |
getOldObject()
|
java.lang.String |
getOldObjectId()
|
int |
hashCode()
|
boolean |
isCreateNewObject()
|
void |
setCreateNewObject(boolean pCreateNewObject)
|
void |
setNewObject(java.lang.Object newObject)
|
void |
setNewObjectId(java.lang.String pNewObjectId)
|
void |
setObjectName(java.lang.String pObjectName)
|
void |
setOldObject(java.lang.Object pOldObject)
|
void |
setOldObjectId(java.lang.String pOldObjectId)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
protected java.lang.String mObjectName
protected java.lang.Object mOldObject
protected java.lang.String mOldObjectId
protected java.lang.String mNewObjectId
protected java.lang.Object mNewObject
protected boolean mCreateNewObject
Constructor Detail |
---|
public EnvironmentChangeDetail()
public EnvironmentChangeDetail(java.lang.String pObjectName, java.lang.Object pOldObject, java.lang.String pOldObjectId, java.lang.String pNewObjectId, java.lang.Object pNewObject, boolean pCreateNewObject)
Method Detail |
---|
public java.lang.String getObjectName()
public void setObjectName(java.lang.String pObjectName)
public java.lang.String getNewObjectId()
Note that this property can be valued when creating new objects, if the new object is to be instantiated with a specific id.
public void setNewObjectId(java.lang.String pNewObjectId)
public boolean isCreateNewObject()
public void setCreateNewObject(boolean pCreateNewObject)
public java.lang.Object getOldObject()
public void setOldObject(java.lang.Object pOldObject)
public java.lang.String getOldObjectId()
public void setOldObjectId(java.lang.String pOldObjectId)
public java.lang.Object getNewObject()
For changes that will create new objects (createNewObject = true), this property may return null.
public void setNewObject(java.lang.Object newObject)
public boolean equals(java.lang.Object obj)
This extension is necessary because this method is used to detect duplication and conflicts between two changes mapped to the same object name.
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
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 |