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()
ITKIdentity
getURI
in interface ITKIdentity
public void setURI(String uRI)
ITKIdentity
setURI
in interface ITKIdentity
uRI
- the URI to setpublic String getType()
ITKIdentity
getType
in interface ITKIdentity
public void setType(String type)
ITKIdentity
ITKIdentity.DEFAULT_IDENTITY_TYPE
setType
in interface ITKIdentity
type
- 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