|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.recordstorage.util.RecordDao
public class RecordDao
A JPA Entity to store Records.
| Field Summary | |
|---|---|
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. |
| Constructor Summary | |
|---|---|
protected |
RecordDao()
Default Constructor, used by JPA. |
|
RecordDao(Record record)
Conversion Constructor. |
| Method Summary | |
|---|---|
static java.lang.String |
getIdHash(java.lang.String id)
calculate the id hash from source and id value used to identify the record. |
Record |
toRecord()
Converts this RecordDao into a Record object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public RecordDao(Record record)
throws java.io.IOException
record - a Record
java.io.IOException - if any exception occursprotected RecordDao()
| Method Detail |
|---|
public static java.lang.String getIdHash(java.lang.String id)
id - record id
public Record toRecord()
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException - if any exception occurs
java.lang.ClassNotFoundException - if any exception occurs
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||