public class ClientData extends Object
Custom storage implementations should be focused on how to manage the data wrapped by ClientData objects. The methods getData() and setData() can be used for this purpose; other setter methods should not be called.
getName() and getLastModified() functions are available to facilitate the development of optimized search functionality in custom storage implementations. The data itself should be treated opaquely. Its format is subject to change in future releases, however the data and this class will be forwards compatible.
Constructor and Description |
---|
ClientData() |
Modifier and Type | Method and Description |
---|---|
String |
getData()
Get the client data to be persisted by custom storage.
|
String |
getId()
Get the client ID of the wrapped client data.
|
Date |
getLastModified()
Get the last modified time of the client data.
|
String |
getName()
Get the client name of the wrapped client data.
|
void |
setData(String data)
Set the client data as it is read from custom storage.
|
void |
setId(String id)
Set the client ID.
|
void |
setLastModified(Date lastModified)
Set the last modified time.
|
void |
setName(String name)
Set the client name.
|
public String getData()
public void setData(String data)
data
- String representation of the client object.public String getId()
public void setId(String id)
id
- (client id)public Date getLastModified()
public void setLastModified(Date lastModified)
lastModified
- public String getName()
public void setName(String name)
name
- Copyright 2019 Ping Identity Corp. All rights reserved.