mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
23 lines
362 B
Java
23 lines
362 B
Java
package io.ebeaninternal.api;
|
|
|
|
class NaturalKeyEntrySimple implements NaturalKeyEntry {
|
|
|
|
private final String key;
|
|
private final Object val;
|
|
|
|
NaturalKeyEntrySimple(Object val) {
|
|
this.key = val.toString();
|
|
this.val = val;
|
|
}
|
|
|
|
@Override
|
|
public String key() {
|
|
return key;
|
|
}
|
|
|
|
@Override
|
|
public Object getInValue() {
|
|
return val;
|
|
}
|
|
}
|