org.eclipse.ohf.ihe.atna.audit.messages
Class ActorStartMessage

java.lang.Object
  extended by org.eclipse.ohf.ihe.atna.audit.messages.AuditMessage
      extended by org.eclipse.ohf.ihe.atna.audit.messages.ActorStartMessage
All Implemented Interfaces:
java.io.Serializable

public class ActorStartMessage
extends AuditMessage
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static java.lang.String PROP_SAMPLE_PROPERTY
           
 
Fields inherited from class org.eclipse.ohf.ihe.atna.audit.messages.AuditMessage
DB_AuditMessage, VARCHAR_LENGTH
 
Constructor Summary
ActorStartMessage(java.lang.String eventDateTime, int eventOutcomeIndicator, java.lang.String applicationName)
          Constructor of the actor start audit message
ActorStartMessage(java.lang.String eventDateTime, int eventOutcomeIndicator, java.lang.String applicationName, java.lang.String userOrProcessName)
          Constructor of the actor start audit message
ActorStartMessage(java.lang.String eventDateTime, int eventOutcomeIndicator, java.lang.String applicationName, java.lang.String[] userOrProcessName)
          Constructor of the actor start audit message
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 java.lang.String getSampleProperty()
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void setSampleProperty(java.lang.String value)
           
 
Methods inherited from class org.eclipse.ohf.ihe.atna.audit.messages.AuditMessage
getAuditSourceIdentification, getEventIdentification, getParticipantObjectIdentification, IsValid, main, parse, setActiveParticipant, setAuditSourceId, setAuditSourceIdentification, setEventDateTime, setEventIdentification, setEventOutcomeIndicator, setParticipantObjectId, setParticipantObjectQuery, setParticipationObjectIdentification, setUserIDActiveParticipantConsumer, setUserIDActiveParticipantRegistry, toHtml, toXml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_SAMPLE_PROPERTY

public static final java.lang.String PROP_SAMPLE_PROPERTY
See Also:
Constant Field Values
Constructor Detail

ActorStartMessage

public ActorStartMessage(java.lang.String eventDateTime,
                         int eventOutcomeIndicator,
                         java.lang.String applicationName)
                  throws javax.xml.parsers.ParserConfigurationException,
                         javax.xml.parsers.FactoryConfigurationError,
                         ATNAException
Constructor of the actor start audit message

Parameters:
eventDateTime - Date of the message generation, it should have this format :
2006-07-05T19:28:00.140-04:00
eventOutcomeIndicator - The eventOutcomeIndicator should be :
0 : Success
4 : Minor failure
8 : Serious failure
12: Major failure; action made unavailable
applicationName - Identity of the application
Throws:
javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.FactoryConfigurationError
ATNAException

ActorStartMessage

public ActorStartMessage(java.lang.String eventDateTime,
                         int eventOutcomeIndicator,
                         java.lang.String applicationName,
                         java.lang.String userOrProcessName)
                  throws javax.xml.parsers.ParserConfigurationException,
                         javax.xml.parsers.FactoryConfigurationError,
                         ATNAException
Constructor of the actor start audit message

Parameters:
eventDateTime - Date of the message generation, it should have this format :
2006-07-05T19:28:00.140-04:00
eventOutcomeIndicator - The eventOutcomeIndicator should be :
0 : Success
4 : Minor failure
8 : Serious failure
12: Major failure; action made unavailable
applicationName - Identity of the consumer
userOrProcessName - user or process that stopped the application
Throws:
javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.FactoryConfigurationError
ATNAException

ActorStartMessage

public ActorStartMessage(java.lang.String eventDateTime,
                         int eventOutcomeIndicator,
                         java.lang.String applicationName,
                         java.lang.String[] userOrProcessName)
                  throws javax.xml.parsers.ParserConfigurationException,
                         javax.xml.parsers.FactoryConfigurationError,
                         ATNAException
Constructor of the actor start audit message

Parameters:
eventDateTime - Date of the message generation, it should have this format :
2006-07-05T19:28:00.140-04:00
eventOutcomeIndicator - The eventOutcomeIndicator should be :
0 : Success
4 : Minor failure
8 : Serious failure
12: Major failure; action made unavailable
applicationName - Identity of the consumer
userOrProcessName - array of user or process that start the application (optional) pass an empty array if none (e.g. new String[0])
Throws:
javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.FactoryConfigurationError
ATNAException
Method Detail

getSampleProperty

public java.lang.String getSampleProperty()

setSampleProperty

public void setSampleProperty(java.lang.String value)

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)