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

java.lang.Object
  extended by java.util.Observable
      extended by org.neodatis.odb.impl.core.server.trigger.DefaultObjectRepresentation
All Implemented Interfaces:
ObjectRepresentation

public class DefaultObjectRepresentation
extends java.util.Observable
implements ObjectRepresentation


Constructor Summary
DefaultObjectRepresentation(NonNativeObjectInfo nnoi)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getChangedValues()
           
 NonNativeObjectInfo getNnoi()
           
 java.lang.String getObjectClassName()
          Retrieves the full object class name
 OID getOid()
          Retrieves the oid of the object
 java.lang.Object getValueOf(java.lang.String attributeName)
          Return the value of a specific attribute
 void setValueOf(java.lang.String attributeName, java.lang.Object value)
          Sets the value of a specific attribute
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultObjectRepresentation

public DefaultObjectRepresentation(NonNativeObjectInfo nnoi)
Method Detail

getValueOf

public java.lang.Object getValueOf(java.lang.String attributeName)
Description copied from interface: ObjectRepresentation
Return the value of a specific attribute

Specified by:
getValueOf in interface ObjectRepresentation
Returns:

setValueOf

public void setValueOf(java.lang.String attributeName,
                       java.lang.Object value)
Description copied from interface: ObjectRepresentation
Sets the value of a specific attribute

Specified by:
setValueOf in interface ObjectRepresentation

getOid

public OID getOid()
Description copied from interface: ObjectRepresentation
Retrieves the oid of the object

Specified by:
getOid in interface ObjectRepresentation
Returns:

getObjectClassName

public java.lang.String getObjectClassName()
Description copied from interface: ObjectRepresentation
Retrieves the full object class name

Specified by:
getObjectClassName in interface ObjectRepresentation
Returns:

getNnoi

public final NonNativeObjectInfo getNnoi()

getChangedValues

public java.util.Map<java.lang.String,java.lang.Object> getChangedValues()