public class ReadableObjectId extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ReadableObjectId.Referring |
Modifier and Type | Field and Description |
---|---|
Object |
id
Deprecated.
|
Object |
item
Deprecated.
Prefer using
resolve() , which is able to handle
external id resolving mechanism. |
Constructor and Description |
---|
ReadableObjectId(Object id)
Deprecated.
|
ReadableObjectId(ObjectIdGenerator.IdKey key) |
Modifier and Type | Method and Description |
---|---|
void |
appendReferring(ReadableObjectId.Referring currentReferring) |
void |
bindItem(Object ob)
Method called to assign actual POJO to which ObjectId refers to: will
also handle referring properties, if any, by assigning POJO.
|
ObjectIdGenerator.IdKey |
getKey() |
boolean |
hasReferringProperties() |
Iterator<ReadableObjectId.Referring> |
referringProperties() |
Object |
resolve() |
void |
setResolver(ObjectIdResolver resolver) |
@Deprecated public Object item
resolve()
, which is able to handle
external id resolving mechanism.@Deprecated public final Object id
@Deprecated public ReadableObjectId(Object id)
public ReadableObjectId(ObjectIdGenerator.IdKey key)
public void setResolver(ObjectIdResolver resolver)
public ObjectIdGenerator.IdKey getKey()
public void appendReferring(ReadableObjectId.Referring currentReferring)
public void bindItem(Object ob) throws IOException
IOException
public Object resolve()
public boolean hasReferringProperties()
public Iterator<ReadableObjectId.Referring> referringProperties()
Copyright © 2016 JBoss by Red Hat. All rights reserved.