public class ITKAddressImpl extends Object implements ITKAddress
DEFAULT_ADDRESS_TYPE| Constructor and Description |
|---|
ITKAddressImpl(String URI)
Instantiates a new iTK address impl.
|
ITKAddressImpl(String URI,
String type)
Instantiates a new iTK address impl.
|
| 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
ITKAddress.DEFAULT_ADDRESS_TYPE |
void |
setURI(String uRI)
Set the URI for this address
|
String |
toString() |
public ITKAddressImpl(String URI, String type)
URI - the uritype - the typepublic ITKAddressImpl(String URI)
URI - the uripublic String getURI()
ITKAddressurn:nhs-uk:addressing:ods:RHM:department:workgroupgetURI in interface ITKAddresspublic void setURI(String uRI)
ITKAddresssetURI in interface ITKAddressuRI - the URI to setpublic String getType()
ITKAddressgetType in interface ITKAddresspublic void setType(String type)
ITKAddressITKAddress.DEFAULT_ADDRESS_TYPEsetType in interface ITKAddresstype - The OID representing the address typeAll 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