|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.event.impl.EventPropertiesImpl
public class EventPropertiesImpl
| Constructor Summary | |
|---|---|
protected |
EventPropertiesImpl()
|
protected |
EventPropertiesImpl(byte[] propertyBytes)
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
Get a byte stream representation of the event header |
Object |
getLastModifier(Object propertyName)
Get the last modifier of a certain property. |
Object |
getProperty(Object propertyName)
Retrieve the value associated with a property. |
Enumeration |
getPropertyChanges(Object propertyName)
Get a list of the changes associated with a mutable property. |
Enumeration |
getPropertyModifiers(Object propertyName)
Gets a list of modifiers on a property. |
Enumeration |
getPropertyNames()
Retrieve the list of property names |
Enumeration |
getPropertyNamesWithChangeTracking()
Retrieve the list of property names with change tracking enabled. |
boolean |
hasProperties()
Check if there are any properties associated with the event |
boolean |
hasPropertyChangeTracking(Object propertyName)
Indicates if property change tracking has been enabled for the property in question. |
boolean |
isModified()
Indicates if the EventProperties has been modified since the last time that it was serialized. |
boolean |
isMutable(Object propertyName)
Check to see if this is a mutable property. |
void |
setImmutableProperty(Object propertyName,
Object property,
Object creator)
Set an immutable property. |
void |
setMutableProperty(Object propertyName,
Object property,
Object modifier)
Set a mutable property. |
String |
toString()
|
void |
trackPropertyChanges(Object propertyName)
Track the changes to a specific property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected EventPropertiesImpl()
protected EventPropertiesImpl(byte[] propertyBytes)
| Method Detail |
|---|
public boolean hasProperties()
hasProperties in interface EventPropertiespublic Enumeration getPropertyNames()
getPropertyNames in interface EventPropertiespublic Enumeration getPropertyNamesWithChangeTracking()
getPropertyNamesWithChangeTracking in interface EventProperties
public Object getProperty(Object propertyName)
throws NBEventException
getProperty in interface EventPropertiesNBEventException
public void setMutableProperty(Object propertyName,
Object property,
Object modifier)
throws NBEventException
setMutableProperty in interface EventPropertiesNBEventException
public void setImmutableProperty(Object propertyName,
Object property,
Object creator)
throws NBEventException
setImmutableProperty in interface EventPropertiesNBEventException
public boolean isMutable(Object propertyName)
throws NBEventException
isMutable in interface EventPropertiesNBEventException
public Object getLastModifier(Object propertyName)
throws NBEventException
getLastModifier in interface EventPropertiesNBEventException
public void trackPropertyChanges(Object propertyName)
throws NBEventException
trackPropertyChanges in interface EventPropertiesNBEventException
public boolean hasPropertyChangeTracking(Object propertyName)
throws NBEventException
hasPropertyChangeTracking in interface EventPropertiesNBEventException
public Enumeration getPropertyChanges(Object propertyName)
throws NBEventException
getPropertyChanges in interface EventPropertiesNBEventException
public Enumeration getPropertyModifiers(Object propertyName)
throws NBEventException
getPropertyModifiers in interface EventPropertiesNBEventExceptionpublic byte[] getBytes()
getBytes in interface EventPropertiespublic String toString()
toString in class Objectpublic boolean isModified()
EventProperties
isModified in interface EventProperties
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||