Class AffinityDomain

java.lang.Object
org.projecthusky.common.communication.AffinityDomain

public class AffinityDomain extends Object
The Class AffinityDomain represents the configuration of an IHE Affinity Domain.
  • Constructor Details

    • AffinityDomain

      public AffinityDomain()
      Instantiates a new affinity domain.
    • AffinityDomain

      public AffinityDomain(Destination destPidSource, Destination destRegistry, Destination destRepository)
      Instantiates a new affinity domain.
      Parameters:
      destPidSource - the dest pid source
      destRegistry - the dest registry
      destRepository - the dest repository
    • AffinityDomain

      public AffinityDomain(Destination destPidSource, Destination destRegistry, List<Destination> destRepositories)
      Instantiates a new affinity domain.
      Parameters:
      destPidSource - the dest pid source
      destRegistry - the dest registry
      destRepositories - the dest repositories
  • Method Details

    • addOtherId

      public void addOtherId(String oid)
      Adds an other Identificator (like a SSN) ot the affinity Domain.
      Parameters:
      oid - the oid
    • addRepository

      public void addRepository(Destination destRepository)
      Adds the repository.
      Parameters:
      destRepository - the dest repository
    • clearRepositories

      public void clearRepositories()
      Clear repositories.
    • getAtnaConfig

      public AtnaConfig getAtnaConfig()
      Gets the atna config.
      Returns:
      the atna config
    • getMpiPid

      public String getMpiPid()
      Gets the mpi pid.
      Returns:
      the mpi pid
    • getOtherIdsOidSet

      public Set<String> getOtherIdsOidSet()
      Gets the other ids oid set.
      Returns:
      the other ids oid set
    • getPdqDestination

      public Destination getPdqDestination()
      Gets the pdq destination.
      Returns:
      the pdq destination
    • getPixDestination

      public Destination getPixDestination()
      Gets the pid source.
      Returns:
      the pid source
    • getRegistryDestination

      public Destination getRegistryDestination()
      Gets the registry.
      Returns:
      the registry
    • getRepositoryDestination

      public Destination getRepositoryDestination()
      Gets the repository.
      Returns:
      the repository
    • getRepositoryDestination

      public Destination getRepositoryDestination(int index)
      Gets the repository.
      Parameters:
      index - the index
      Returns:
      the repository
    • setAtnaConfig

      public void setAtnaConfig(AtnaConfig atnaConfig)
      Sets the atna config.
      Parameters:
      atnaConfig - the new atna config
    • setMpiPid

      public void setMpiPid(String mpiPid)
      Sets the mpi pid.
      Parameters:
      mpiPid - the new mpi pid
    • setOtherIdsOidSet

      public void setOtherIdsOidSet(Set<String> otherIdsOidSet)
      Sets the other ids oid set.
      Parameters:
      otherIdsOidSet - the new other ids oid set
    • setPdqDestination

      public void setPdqDestination(Destination pdqDestination)
      Sets the pdq destination.
      Parameters:
      pdqDestination - the new pdq destination
    • setPixDestination

      public void setPixDestination(Destination destPidSource)
      Sets the pix source.
      Parameters:
      destPidSource - the new pid source
    • setRegistryDestination

      public void setRegistryDestination(Destination destRegistry)
      Sets the registry.
      Parameters:
      destRegistry - the new registry
    • setRepositoryDestination

      public void setRepositoryDestination(Destination destRepository)
      Sets the repository.
      Parameters:
      destRepository - the new repository