@Entity(value="EuropeanaID") public class EuropeanaId extends Object implements eu.europeana.publication.common.IDocument
| Constructor and Description |
|---|
EuropeanaId() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
long |
getLastAccess()
The date the records was last accessed
|
String |
getNewId()
Get the newID field
|
org.bson.types.ObjectId |
getObjectId()
Get the record ID
|
String |
getOldId()
Get the oldID field
|
eu.europeana.publication.common.State |
getState() |
long |
getTimestamp()
Get a long representing the date the record was imported
|
void |
setId(org.bson.types.ObjectId id)
Set the recordID
|
void |
setId(String string) |
void |
setLastAccess(long lastAccess)
Set the date the record was last accessed
|
void |
setNewId(String newId)
Set the newId field
|
void |
setOldId(String oldId)
Set the oldID field
|
void |
setState(eu.europeana.publication.common.State state) |
void |
setTimestamp(long timestamp)
Set the date the record was imported
|
public org.bson.types.ObjectId getObjectId()
public String getId()
getId in interface eu.europeana.publication.common.IDocumentpublic void setId(org.bson.types.ObjectId id)
id - The id to setpublic String getOldId()
public void setOldId(String oldId)
oldId - public String getNewId()
public long getTimestamp()
public void setTimestamp(long timestamp)
timestamp - The date the record was importedpublic long getLastAccess()
public void setLastAccess(long lastAccess)
lastAccess - public void setNewId(String newId)
newId - public void setState(eu.europeana.publication.common.State state)
setState in interface eu.europeana.publication.common.IDocumentpublic eu.europeana.publication.common.State getState()
getState in interface eu.europeana.publication.common.IDocumentpublic void setId(String string)
setId in interface eu.europeana.publication.common.IDocumentCopyright © 2015 Europeana Foundation. All rights reserved.