org.openehr.rm.common.archetyped
Class FeederAudit

java.lang.Object
  extended by org.openehr.rm.RMObject
      extended by org.openehr.rm.common.archetyped.FeederAudit
All Implemented Interfaces:
java.io.Serializable

public final class FeederAudit
extends RMObject

Audit details for a feeder system. Instances of this class are immutalbe

Version:
1.0
Author:
Rong Chen
See Also:
Serialized Form

Constructor Summary
FeederAudit(java.lang.String systemID, java.lang.String committer, DvDateTime timeCommitted, DvCodedText changeType, DvText description, TerminologyService terminologyService)
          Constrcuts a FeederAudit
 
Method Summary
 boolean equals(java.lang.Object o)
          Equals if have same values
 DvCodedText getChangeType()
          Type of change, eg "creation", "correction", "modification", "synthesis" etc.
 java.lang.String getCommitter()
          Identity of party who committed the item
 DvText getDescription()
          Description of change from original system
 java.lang.String getSystemID()
          Identity of the system where the item was originally committed
 DvDateTime getTimeCommitted()
          Time of committal of the item
 int hashCode()
          Return a hashcode of this object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeederAudit

public FeederAudit(java.lang.String systemID,
                   java.lang.String committer,
                   DvDateTime timeCommitted,
                   DvCodedText changeType,
                   DvText description,
                   TerminologyService terminologyService)
Constrcuts a FeederAudit

Parameters:
systemID - not null or empty
committer - if not null then not empty
timeCommitted - null if not present
changeType - must be a valid type
description - null if not present
terminologyService - not null
Throws:
java.lang.IllegalArgumentException
Method Detail

getSystemID

public java.lang.String getSystemID()
Identity of the system where the item was originally committed

Returns:
systemID

getCommitter

public java.lang.String getCommitter()
Identity of party who committed the item

Returns:
committer null if not present

getTimeCommitted

public DvDateTime getTimeCommitted()
Time of committal of the item

Returns:
tiem of committal null if not present

getChangeType

public DvCodedText getChangeType()
Type of change, eg "creation", "correction", "modification", "synthesis" etc. Coded using the openEHR Terminology "audit change type" group.

Returns:
change type

getDescription

public DvText getDescription()
Description of change from original system

Returns:
description

equals

public boolean equals(java.lang.Object o)
Equals if have same values

Overrides:
equals in class java.lang.Object
Parameters:
o -
Returns:
true if equals

hashCode

public int hashCode()
Return a hashcode of this object

Overrides:
hashCode in class java.lang.Object
Returns:
hashcode


Copyright © 2004-2005 Acode HB. All Rights Reserved.