public class Slice extends Object implements Comparable<Slice>, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Slice.Status |
Constructor and Description |
---|
Slice(String name,
OpenJPAConfiguration conf)
Supply the logical name and configuration.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Slice other) |
boolean |
equals(Object other)
Equals by name.
|
OpenJPAConfiguration |
getConfiguration() |
String |
getName()
Gets the immutable logical name.
|
Slice.Status |
getStatus() |
int |
hashCode() |
boolean |
isActive() |
void |
setStatus(Slice.Status status) |
String |
toString() |
public Slice(String name, OpenJPAConfiguration conf)
public String getName()
public OpenJPAConfiguration getConfiguration()
public Slice.Status getStatus()
public void setStatus(Slice.Status status)
public boolean isActive()
public int compareTo(Slice other)
compareTo
in interface Comparable<Slice>
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.