public class PersistedData extends java.lang.Object implements java.io.Serializable, IPersistedData
Modifier and Type | Field and Description |
---|---|
private long |
id |
private static long |
serialVersionUID |
private PersistedDataType |
type |
private java.lang.String |
url |
Constructor and Description |
---|
PersistedData(java.lang.String url,
PersistedDataType type) |
Modifier and Type | Method and Description |
---|---|
long |
getId() |
PersistedDataType |
getType() |
java.lang.String |
getUrl() |
void |
setId(long id) |
void |
setType(PersistedDataType type) |
void |
setURL(java.lang.String url) |
private static final long serialVersionUID
private long id
private java.lang.String url
private PersistedDataType type
public PersistedData(java.lang.String url, PersistedDataType type)
public long getId()
getId
in interface IDataEntity
public java.lang.String getUrl()
getUrl
in interface IPersistedData
public PersistedDataType getType()
getType
in interface IPersistedData
public void setType(PersistedDataType type)
public void setId(long id)
setId
in interface IDataEntity
public void setURL(java.lang.String url)
setURL
in interface IPersistedData