|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tenduke.types.AbstractBindableObject
com.tenduke.diagnostics.AbstractReportEntry
public abstract class AbstractReportEntry
Base class for all report entries.
AbstractReportEntry and its subclasses use SerializableField to annotate fields that define a
contract for accessing serializable fields by the annotated field names.
By convention, the annotated names are same as names of respective member attributes,
for example a member attribute named "_entryTimestamp" (getEntryTimestamp() and setEntryTimestamp(java.util.Date))
has the respective SerializableField.name() set to "entryTimestamp".
| Field Summary |
|---|
| Fields inherited from class com.tenduke.types.AbstractBindableObject |
|---|
FIELD_LENGTH_SHORT_ID, FIELD_NAME_OBJECT_STATE_CHANGE, FIELD_NAME_REPLACES_OBJECT, FIELD_NAME_SHORT_ID, PERMISSION_ACTION_CREATE, PERMISSION_ACTION_DELETE, PERMISSION_ACTION_MODIFY, PERMISSION_ACTION_READ |
| Constructor Summary | |
|---|---|
protected |
AbstractReportEntry()
Creates a new instance of AbstractReportEntry. |
| Method Summary | |
|---|---|
java.lang.String |
getApplicationContext()
Gets a contextual name applicable in application's domain (application that produces report entries) |
java.util.Date |
getCreated()
Gets created time stamp of report entry. |
BindableObjectActor |
getCreatingActor()
Gets the creating actor of the report entry. |
java.util.Date |
getEntryTimestamp()
Gets report entry time stamp field value. |
java.util.UUID |
getId()
Gets unique id of report entry. |
boolean |
getIsSystemInternal()
Is the report entry about technical / system internal events. |
java.util.Date |
getModified()
Gets modified time stamp of report entry. |
BindableObjectActor |
getModifyingActor()
Gets the modifying actor of the report entry. |
void |
setApplicationContext(java.lang.String applicationContext)
Sets a contextual name applicable in application's domain (application that produces report entries) |
void |
setCreated(java.util.Date date)
Sets created time stamp of report entry. |
void |
setCreatingActor(BindableObjectActor rhs)
Sets the creating actor of the report entry. |
void |
setEntryTimestamp(java.util.Date rhs)
Sets report entry time stamp field value. |
void |
setId(java.lang.String id)
Sets unique id of report entry. |
void |
setId(java.util.UUID uuid)
Sets unique id of report entry. |
void |
setIsSystemInternal(boolean isSystemInternal)
Setting the report entry to be about technical / system internal events. |
void |
setModified(java.util.Date date)
Sets modified time stamp of report entry. |
void |
setModifyingActor(BindableObjectActor rhs)
Sets the modifying actor of the report entry. |
java.lang.String |
toString()
String serialization including base class and timestamp info from this class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractReportEntry()
| Method Detail |
|---|
public java.lang.String getApplicationContext()
public java.util.Date getCreated()
getCreated in class AbstractBindableObjectpublic BindableObjectActor getCreatingActor()
getCreatingActor in class AbstractBindableObjectpublic java.util.Date getEntryTimestamp()
public java.util.UUID getId()
getId in interface SerializableObjectgetId in class AbstractBindableObjectpublic boolean getIsSystemInternal()
public java.util.Date getModified()
getModified in class AbstractBindableObjectpublic BindableObjectActor getModifyingActor()
getModifyingActor in class AbstractBindableObjectpublic void setApplicationContext(java.lang.String applicationContext)
applicationContext - a contextual name applicable in application's domain (application that produces report entries)public void setCreated(java.util.Date date)
setCreated in class AbstractBindableObjectdate - Created date of report entry.public void setCreatingActor(BindableObjectActor rhs)
setCreatingActor in class AbstractBindableObjectrhs - Handle to creating actor to set for report entry.public void setEntryTimestamp(java.util.Date rhs)
rhs - Time stamp field value.public void setId(java.lang.String id)
id - Unique id of report entry.public void setId(java.util.UUID uuid)
setId in interface SerializableObjectsetId in class AbstractBindableObjectuuid - Unique id of report entry.public void setIsSystemInternal(boolean isSystemInternal)
isSystemInternal - Value for isSystemInternal flag.public void setModified(java.util.Date date)
setModified in class AbstractBindableObjectdate - Modified date of report entry.public void setModifyingActor(BindableObjectActor rhs)
setModifyingActor in class AbstractBindableObjectrhs - Handle to modifying actor to set for report entry.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 | ||||||||