org.neodatis.odb.impl.core.server.trigger
Class ChangedValueNotification

java.lang.Object
  extended by org.neodatis.odb.impl.core.server.trigger.ChangedValueNotification
All Implemented Interfaces:
java.io.Serializable, ReturnValue

public class ChangedValueNotification
extends java.lang.Object
implements java.io.Serializable, ReturnValue

Author:
olivier
See Also:
Serialized Form

Constructor Summary
ChangedValueNotification(NonNativeObjectInfo nnoi, OID oid, java.lang.String attributeName, java.lang.Object value)
           
 
Method Summary
 java.lang.String getAttributeName()
           
 OID getOid()
           
 int getType()
           
 java.lang.Object getValue()
           
 void setAttributeName(java.lang.String attributeName)
           
 void setOid(NonNativeObjectInfo nnoi, OID oid)
          The server tells us that the nnoi has been stored with the given oid
 void setOid(OID oid)
           
 void setValue(java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangedValueNotification

public ChangedValueNotification(NonNativeObjectInfo nnoi,
                                OID oid,
                                java.lang.String attributeName,
                                java.lang.Object value)
Parameters:
oid -
attributeName -
value -
Method Detail

getOid

public OID getOid()
Specified by:
getOid in interface ReturnValue
Returns:
The OID of the object being changed. Depending of the return type, it can be null

setOid

public void setOid(OID oid)

getAttributeName

public java.lang.String getAttributeName()

setAttributeName

public void setAttributeName(java.lang.String attributeName)

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object value)

getType

public int getType()

setOid

public void setOid(NonNativeObjectInfo nnoi,
                   OID oid)
The server tells us that the nnoi has been stored with the given oid

Specified by:
setOid in interface ReturnValue

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object