public final class IdSourceKey extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static IdSourceKey |
forSequence(IdSourceKeyMetadata metadata) |
static IdSourceKey |
forTable(IdSourceKeyMetadata metadata,
String segmentName) |
String |
getColumnName()
Get the segment column name if this is a table-based generator,
null otherwise. |
String |
getColumnValue()
Get the segment name if this is a table-based generator,
null otherwise. |
IdSourceKeyMetadata |
getMetadata() |
String |
getTable()
Get the table name if this is a table-based generator, the sequence name otherwise.
|
int |
hashCode() |
String |
toString() |
public static IdSourceKey forTable(IdSourceKeyMetadata metadata, String segmentName)
public static IdSourceKey forSequence(IdSourceKeyMetadata metadata)
public IdSourceKeyMetadata getMetadata()
public String getTable()
public String getColumnName()
null otherwise.null otherwisepublic String getColumnValue()
null otherwise.null otherwiseCopyright © 2010-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.