| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.slice.SliceInfo
public class SliceInfo
Holder of slice names where a persistent instance is stored. This structure is held in StateManagers to track the origin of a persistent instance.
| Constructor Summary | |
|---|---|
| SliceInfo(boolean replicated,
          List<String> slices)Generic constructor given one or more slice names. | |
| SliceInfo(boolean replicated,
          String[] slices)Generic constructor given one or more slice names. | |
| SliceInfo(List<String> slices) | |
| SliceInfo(String slice)Constructor for non-replicated instance that is stored in a single slice. | |
| SliceInfo(String[] slices)Constructor for replicated instance that is stored in one or more slices. | |
| Method Summary | |
|---|---|
|  String[] | getSlices()Gets the name of the slice(s) held by this receiver. | 
|  boolean | isReplicated()Affirms if this receiver designates replicated instances. | 
|  SliceInfo | setInto(OpenJPAStateManager sm)Sets this receiver as the given StateManager's internal instance-level data. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SliceInfo(boolean replicated,
                 String[] slices)
public SliceInfo(boolean replicated,
                 List<String> slices)
public SliceInfo(String slice)
public SliceInfo(String[] slices)
public SliceInfo(List<String> slices)
| Method Detail | 
|---|
public boolean isReplicated()
public String[] getSlices()
public SliceInfo setInto(OpenJPAStateManager sm)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||