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
Source File: ReadableObjectId.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public ReadableObjectId(ObjectIdGenerator.IdKey key) {
    _key = key;
}
 
Example 2
Source File: ReadableObjectId.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public ObjectIdGenerator.IdKey getKey() {
    return _key;
}
 
Example 3
Source File: EntityStoreResolver.java    From requery with Apache License 2.0 4 votes vote down vote up
@Override
public void bindItem(ObjectIdGenerator.IdKey id, Object pojo) {
}
 
Example 4
Source File: EntityStoreResolver.java    From requery with 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
Source File: JsonDeserializationContext.java    From domino-jackson with Apache License 2.0 2 votes vote down vote up
/**
 * <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
Source File: JsonDeserializationContext.java    From domino-jackson with Apache License 2.0 2 votes vote down vote up
/**
 * <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);