org.openhealthexchange.openpixpdq.ihe.configuration
Class ConfigurationLoader.ActorDescription

java.lang.Object
  extended by org.openhealthexchange.openpixpdq.ihe.configuration.ConfigurationLoader.ActorDescription
All Implemented Interfaces:
IheActorDescription
Direct Known Subclasses:
ConfigurationLoader.PixManagerActorDescription
Enclosing class:
ConfigurationLoader

public class ConfigurationLoader.ActorDescription
extends java.lang.Object
implements IheActorDescription

An implementation of the IheActorDescription class to be used by GUI elements and other things.

Version:
1.0 - Jan 11, 2006
Author:
Jim Firby

Field Summary
protected  java.lang.String actorType
           
protected  com.misyshealthcare.connect.net.IConnectionDescription consumerConnection
           
protected  java.lang.String description
           
protected  java.lang.String id
           
protected  boolean isInstalled
           
protected  java.util.Collection<com.misyshealthcare.connect.net.IConnectionDescription> logConnections
           
protected  com.misyshealthcare.connect.net.IConnectionDescription sourceConnection
           
protected  java.lang.String type
           
 
Constructor Summary
ConfigurationLoader.ActorDescription()
           
 
Method Summary
 java.lang.String getActorType()
          Gets the actor type of this actor (i.e.
 com.misyshealthcare.connect.net.IConnectionDescription getConnection()
          Gets the connection description of this actor.
 java.lang.String getDescription()
          Gets a human-readable description of this actor.
 java.lang.String getId()
          Gets a unique ID for this actor.
 java.util.Collection<com.misyshealthcare.connect.net.IConnectionDescription> getLogConnection()
          Gets a collection of audit trail log connections for this actor.
 java.lang.String getType()
          Gets a human-readable string naming the type of this actor (ie.
 boolean isInstalled()
          Returns true if this actor is believed to be installed into a broker.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected java.lang.String id

type

protected java.lang.String type

description

protected java.lang.String description

isInstalled

protected boolean isInstalled

actorType

protected java.lang.String actorType

sourceConnection

protected com.misyshealthcare.connect.net.IConnectionDescription sourceConnection

consumerConnection

protected com.misyshealthcare.connect.net.IConnectionDescription consumerConnection

logConnections

protected java.util.Collection<com.misyshealthcare.connect.net.IConnectionDescription> logConnections
Constructor Detail

ConfigurationLoader.ActorDescription

public ConfigurationLoader.ActorDescription()
Method Detail

getDescription

public java.lang.String getDescription()
Description copied from interface: IheActorDescription
Gets a human-readable description of this actor. This description can be used in a GUI to name this actor.

Specified by:
getDescription in interface IheActorDescription
Returns:
a human-readable description of this actor

getId

public java.lang.String getId()
Description copied from interface: IheActorDescription
Gets a unique ID for this actor. This ID can be used to look the actor up in the ConfigurationLoader. The ID is not intended for use in a GUI.

Specified by:
getId in interface IheActorDescription
Returns:
the id

getType

public java.lang.String getType()
Description copied from interface: IheActorDescription
Gets a human-readable string naming the type of this actor (ie. "PDQ Server", "PIX Manager", "Audit Repository"). All actors of the same type will return the same string. The type is designed to be used in a GUI.

Specified by:
getType in interface IheActorDescription
Returns:
the type

getActorType

public java.lang.String getActorType()
Description copied from interface: IheActorDescription
Gets the actor type of this actor (i.e. "PdSupplier", "PixManager", "SecureNode"). This type is for machine process, not meant to be used by GUI. It is also different from the above human-readable type.

Specified by:
getActorType in interface IheActorDescription
Returns:
the actor type

isInstalled

public boolean isInstalled()
Description copied from interface: IheActorDescription
Returns true if this actor is believed to be installed into a broker. False otherwise.

Specified by:
isInstalled in interface IheActorDescription
Returns:
true if this actor is believed to be installed

getConnection

public com.misyshealthcare.connect.net.IConnectionDescription getConnection()
Gets the connection description of this actor.

Returns:
the connection description

getLogConnection

public java.util.Collection<com.misyshealthcare.connect.net.IConnectionDescription> getLogConnection()
Gets a collection of audit trail log connections for this actor.

Returns:
a collection of audit trail log connections