Package org.apache.openjpa.slice
Class Slice
java.lang.Object
org.apache.openjpa.slice.Slice
- All Implemented Interfaces:
Serializable
,Comparable<Slice>
Represents a database slice of immutable logical name, a configuration and
status. A Slice is uniquely identified by its logical name.
- Author:
- Pinaki Poddar
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSlice
(String name, OpenJPAConfiguration conf) Supply the logical name and configuration. -
Method Summary
-
Constructor Details
-
Slice
Supply the logical name and configuration.
-
-
Method Details
-
getName
Gets the immutable logical name. -
getConfiguration
-
getStatus
-
setStatus
-
isActive
public boolean isActive() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Slice>
-
equals
Equals by name. -
hashCode
public int hashCode()
-