public class RecordDao
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ENTITY_MEMBER_ATTRIBUTES
Constant for the entity attribute _attributes.
|
static java.lang.String |
NAMED_QUERY_FIND_BY_SOURCE
Constant for the named query RecordDao.findBySource.
|
static java.lang.String |
NAMED_QUERY_PARAM_SOURCE
Constant for the entity attribute _source.
|
| Modifier | Constructor and Description |
|---|---|
protected |
RecordDao()
Default Constructor, used by JPA.
|
|
RecordDao(Record record)
Conversion Constructor.
|
public static final java.lang.String NAMED_QUERY_FIND_BY_SOURCE
public static final java.lang.String NAMED_QUERY_PARAM_SOURCE
public static final java.lang.String ENTITY_MEMBER_ATTRIBUTES
public RecordDao(Record record) throws java.io.IOException
record - a Recordjava.io.IOException - if any exception occursprotected RecordDao()
public static java.lang.String getIdHash(java.lang.String id)
id - record idpublic Record toRecord() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException - if any exception occursjava.lang.ClassNotFoundException - if any exception occurs