D
- the kind of data this BackupFactoryData
stores.public class BackupFactoryData<D>
extends java.lang.Object
Constructor and Description |
---|
BackupFactoryData(java.lang.String identifier,
D data)
Creates a new
BackupFactoryData |
Modifier and Type | Method and Description |
---|---|
D |
getData()
Gets the data that is wrapped up by this
BackupFactoryData . |
java.lang.String |
getIdentifier()
Gets the identifier of this data.
|
public BackupFactoryData(java.lang.String identifier, D data)
BackupFactoryData
identifier
- the identifier of this piece of data, can be null
data
- the client specified data, might be null
public java.lang.String getIdentifier()
null
public D getData()
BackupFactoryData
.null