gov.nih.nci.mageom.domain.AuditAndSecurity
Interface Audit

All Superinterfaces:
Describable, Extendable
All Known Implementing Classes:
AuditImpl

public interface Audit
extends Describable

Tracks information on the contact that creates or modifies an object.

Version:
%I%, %G%

Method Summary
 java.lang.String getAction()
          Returns the value of this Audit object's action attribute.
 java.util.Date getDate()
          Returns the value of this Audit object's date attribute.
 Contact getPerformer()
          Returns the value of this Audit object's performer attribute.
 void setAction(java.lang.String p_action)
          Sets the action attribute.
 void setDate(java.util.Date p_date)
          Sets the date attribute.
 void setPerformer(Contact p_performer)
          Sets the performer attribute.
 
Methods inherited from interface gov.nih.nci.mageom.domain.Describable
getAuditTrail, getDescriptions, getSecurity, setAuditTrail, setDescriptions, setSecurity
 
Methods inherited from interface gov.nih.nci.mageom.domain.Extendable
getPropertySets, setPropertySets
 

Method Detail

setDate

void setDate(java.util.Date p_date)
Sets the date attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a Audit object.

Parameters:
p_date - The new value for date.
See Also:
getDate()

getDate

java.util.Date getDate()
Returns the value of this Audit object's date attribute. Description of date: The date of a change.

Returns:
Date The value of date.

setAction

void setAction(java.lang.String p_action)
Sets the action attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a Audit object.

Parameters:
p_action - The new value for action.
See Also:
getAction()

getAction

java.lang.String getAction()
Returns the value of this Audit object's action attribute. Description of action: Indicates whether an action is a creation or a modification.

Returns:
enum {creation,modification} The value of action.

setPerformer

void setPerformer(Contact p_performer)
Sets the performer attribute. This API is currently read-only. So, calling this method does not affect the persistent state of a Audit object.

Parameters:
p_performer - The new value for performer.
See Also:
getPerformer()

getPerformer

Contact getPerformer()
Returns the value of this Audit object's performer attribute.

Returns:
gov.nih.nci.mageom.bean.AuditAndSecurity.Contact The value of performer.
See Also:
Contact