org.apache.openjpa.slice
Class SlicePersistence
java.lang.Object
   org.apache.openjpa.slice.SlicePersistence
org.apache.openjpa.slice.SlicePersistence
- public class SlicePersistence 
- extends Object
A helper to determine the slice identifier of an instance.
- Author:
- Pinaki Poddar
 
| Method Summary | 
| static String | getSlice(Object obj)Get the slice identifier for the given instance if it is a managed
 instance and has been assigned to a slice.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SlicePersistence
public SlicePersistence()
getSlice
public static String getSlice(Object obj)
- Get the slice identifier for the given instance if it is a managed
 instance and has been assigned to a slice.
 
- 
- Returns:
- name of the slice, if any. null otherwise.
 
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.