org.kie.services.client.serialization.jaxb.impl
Class JaxbPrimitiveResponse
java.lang.Object
org.kie.services.client.serialization.jaxb.rest.AbstractJaxbResponse
org.kie.services.client.serialization.jaxb.impl.AbstractJaxbCommandResponse<Object>
org.kie.services.client.serialization.jaxb.impl.JaxbPrimitiveResponse
- All Implemented Interfaces:
- JaxbCommandResponse<Object>
public class JaxbPrimitiveResponse
- extends AbstractJaxbCommandResponse<Object>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaxbPrimitiveResponse
public JaxbPrimitiveResponse()
JaxbPrimitiveResponse
public JaxbPrimitiveResponse(Object result,
int i,
org.kie.api.command.Command<?> cmd)
getType
public Class<?> getType()
getResult
public Object getResult()
- Returns:
- The result object generated by the command. If the command does not return an object, null.
setResult
public void setResult(Object result)
- Description copied from interface:
JaxbCommandResponse
- This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.