public class EntityManagerInvocationProviderResponse extends Object
EntityManagerInvocationProvider
.Constructor and Description |
---|
EntityManagerInvocationProviderResponse() |
Modifier and Type | Method and Description |
---|---|
Object |
getResponseItem()
The artifact resulting from the persistence operation, if any
|
EntityManagerInvocationProviderResponseType |
getResponseType()
The type describing how the
EntityManagerInvocationProvider
handled the operation. |
void |
setResponseItem(Object responseItem)
The artifact resulting from the persistence operation, if any
|
void |
setResponseType(EntityManagerInvocationProviderResponseType responseType)
The type describing how the
EntityManagerInvocationProvider
handled the operation. |
EntityManagerInvocationProviderResponse |
withResponseItem(Object responseItem)
Associate the artifact for the persistence result
|
EntityManagerInvocationProviderResponse |
withResponseType(EntityManagerInvocationProviderResponseType responseType)
Associate the type describing hwo the operation was handled
|
public EntityManagerInvocationProviderResponse()
public Object getResponseItem()
public void setResponseItem(Object responseItem)
responseItem
- the persisted artifactpublic EntityManagerInvocationProviderResponseType getResponseType()
EntityManagerInvocationProvider
handled the operation.public void setResponseType(EntityManagerInvocationProviderResponseType responseType)
EntityManagerInvocationProvider
handled the operation.responseType
- type describing how the operation was handledpublic EntityManagerInvocationProviderResponse withResponseItem(Object responseItem)
responseItem
- the persisted artifactpublic EntityManagerInvocationProviderResponse withResponseType(EntityManagerInvocationProviderResponseType responseType)
responseType
- type describing how the operation was handledCopyright © 2020. All rights reserved.