Class AffinityDomain
java.lang.Object
org.projecthusky.common.communication.AffinityDomain
The Class AffinityDomain represents the configuration of an IHE Affinity
Domain.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new affinity domain.AffinityDomain
(Destination destPidSource, Destination destRegistry, List<Destination> destRepositories) Instantiates a new affinity domain.AffinityDomain
(Destination destPidSource, Destination destRegistry, Destination destRepository) Instantiates a new affinity domain. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addOtherId
(String oid) Adds an other Identificator (like a SSN) ot the affinity Domain.void
addRepository
(Destination destRepository) Adds the repository.void
Clear repositories.Gets the atna config.Gets the mpi pid.Gets the other ids oid set.Gets the pdq destination.Gets the pid source.Gets the registry.Gets the repository.getRepositoryDestination
(int index) Gets the repository.void
setAtnaConfig
(AtnaConfig atnaConfig) Sets the atna config.void
Sets the mpi pid.void
setOtherIdsOidSet
(Set<String> otherIdsOidSet) Sets the other ids oid set.void
setPdqDestination
(Destination pdqDestination) Sets the pdq destination.void
setPixDestination
(Destination destPidSource) Sets the pix source.void
setRegistryDestination
(Destination destRegistry) Sets the registry.void
setRepositoryDestination
(Destination destRepository) Sets the repository.
-
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 sourcedestRegistry
- the dest registrydestRepository
- the dest repository
-
AffinityDomain
public AffinityDomain(Destination destPidSource, Destination destRegistry, List<Destination> destRepositories) Instantiates a new affinity domain.- Parameters:
destPidSource
- the dest pid sourcedestRegistry
- the dest registrydestRepositories
- the dest repositories
-
-
Method Details
-
addOtherId
Adds an other Identificator (like a SSN) ot the affinity Domain.- Parameters:
oid
- the oid
-
addRepository
Adds the repository.- Parameters:
destRepository
- the dest repository
-
clearRepositories
public void clearRepositories()Clear repositories. -
getAtnaConfig
Gets the atna config.- Returns:
- the atna config
-
getMpiPid
Gets the mpi pid.- Returns:
- the mpi pid
-
getOtherIdsOidSet
Gets the other ids oid set.- Returns:
- the other ids oid set
-
getPdqDestination
Gets the pdq destination.- Returns:
- the pdq destination
-
getPixDestination
Gets the pid source.- Returns:
- the pid source
-
getRegistryDestination
Gets the registry.- Returns:
- the registry
-
getRepositoryDestination
Gets the repository.- Returns:
- the repository
-
getRepositoryDestination
Gets the repository.- Parameters:
index
- the index- Returns:
- the repository
-
setAtnaConfig
Sets the atna config.- Parameters:
atnaConfig
- the new atna config
-
setMpiPid
Sets the mpi pid.- Parameters:
mpiPid
- the new mpi pid
-
setOtherIdsOidSet
Sets the other ids oid set.- Parameters:
otherIdsOidSet
- the new other ids oid set
-
setPdqDestination
Sets the pdq destination.- Parameters:
pdqDestination
- the new pdq destination
-
setPixDestination
Sets the pix source.- Parameters:
destPidSource
- the new pid source
-
setRegistryDestination
Sets the registry.- Parameters:
destRegistry
- the new registry
-
setRepositoryDestination
Sets the repository.- Parameters:
destRepository
- the new repository
-