public class ITKIdentityImpl extends Object implements ITKIdentity
DEFAULT_IDENTITY_TYPE| Constructor and Description |
|---|
ITKIdentityImpl(String URI)
Instantiates a new iTK identity impl.
|
ITKIdentityImpl(String URI,
String type)
Instantiates a new iTK identity impl.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
Obtains the identity type
|
String |
getURI()
Obtain the URI associated with this identity
|
void |
setType(String type)
Allows the identity type to be specified if it is not the
ITKIdentity.DEFAULT_IDENTITY_TYPE |
void |
setURI(String uRI)
Set the URI for this identity
|
String |
toString() |
public ITKIdentityImpl(String URI, String type)
URI - the uritype - the typepublic ITKIdentityImpl(String URI)
URI - the uripublic String getURI()
ITKIdentitygetURI in interface ITKIdentitypublic void setURI(String uRI)
ITKIdentitysetURI in interface ITKIdentityuRI - the URI to setpublic String getType()
ITKIdentitygetType in interface ITKIdentitypublic void setType(String type)
ITKIdentityITKIdentity.DEFAULT_IDENTITY_TYPEsetType in interface ITKIdentitytype - 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