Java Code Examples for com.fasterxml.jackson.annotation.ObjectIdGenerator#IdKey

The following examples show how to use com.fasterxml.jackson.annotation.ObjectIdGenerator#IdKey . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
public ReadableObjectId(ObjectIdGenerator.IdKey key) {
    _key = key;
}
 
Example 2
public ObjectIdGenerator.IdKey getKey() {
    return _key;
}
 
Example 3
Source Project: requery   File: EntityStoreResolver.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public void bindItem(ObjectIdGenerator.IdKey id, Object pojo) {
}
 
Example 4
Source Project: requery   File: EntityStoreResolver.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public Object resolveId(ObjectIdGenerator.IdKey id) {
    return store == null ? null : store.findByKey(id.scope, id.key);
}
 
Example 5
/**
 * <p>addObjectId.</p>
 *
 * @param id a {@link com.fasterxml.jackson.annotation.ObjectIdGenerator.IdKey} object.
 * @param instance a {@link java.lang.Object} object.
 */
void addObjectId(ObjectIdGenerator.IdKey id, Object instance);
 
Example 6
/**
 * <p>getObjectWithId.</p>
 *
 * @param id a {@link com.fasterxml.jackson.annotation.ObjectIdGenerator.IdKey} object.
 * @return a {@link java.lang.Object} object.
 */
Object getObjectWithId(ObjectIdGenerator.IdKey id);