|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Nameable
An interface that helps the developer to define the name of the RecordStore
for each Persistable class. This interface is optional, the weaver will
implement it if the developer don't.
The value returned by the getRecordStoreName
method must be
the same to all instances created otherwise each instance will be saved
in a different RecordStore.
public class Order implements Persistable, Nameable {
...
public String getRecordStoreName() {
return "Order";
}
}
Method Summary | |
---|---|
String |
getRecordStoreName()
Deprecated. use the configuration file to set the RecordStore's name |
Method Detail |
---|
String getRecordStoreName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |