public interface ITKAddress
urn:nhs-uk:addressing:ods:RHM:department:workgroup
where the first part (urn:nhs-uk:addressing:ods
) is
fixed the next part (RHM
in this example) is the ODS
code for the NHS organisation and the latter structures of the address (department:workgroup
) can
be locally defined.
From a messaging standpoint the exact structures on the right hand side are not important, however enough information
must be provided to unambiguously resolve the ITKTransportRoute
of the recipient system (or potentially the next hop in the case of a routed message)
via the DirectoryOfServices
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ADDRESS_TYPE
The OID representing the default (ITK) address type.
|
Modifier and Type | Method and Description |
---|---|
String |
getType()
Obtains the address type
|
String |
getURI()
Obtain the URI associated with this address -
e.g.
|
void |
setType(String type)
Allows the address type to be specified if it is not the
DEFAULT_ADDRESS_TYPE |
void |
setURI(String uRI)
Set the URI for this address
|
static final String DEFAULT_ADDRESS_TYPE
void setType(String type)
DEFAULT_ADDRESS_TYPE
type
- The OID representing the address typeString getType()
void setURI(String uRI)
uRI
- the URI to setString getURI()
urn:nhs-uk:addressing:ods:RHM:department:workgroup
All content is available under the Open Government Licence, except where otherwise stated
All example source code is available under Apache 2.0, except where otherwise stated