KIE Remote Services :: JAXB classes 6.1.0.Final

org.kie.services.client.serialization.jaxb.impl
Class JaxbPrimitiveResponse

java.lang.Object
  extended by org.kie.services.client.serialization.jaxb.rest.AbstractJaxbResponse
      extended by org.kie.services.client.serialization.jaxb.impl.AbstractJaxbCommandResponse<Object>
          extended by org.kie.services.client.serialization.jaxb.impl.JaxbPrimitiveResponse
All Implemented Interfaces:
JaxbCommandResponse<Object>

public class JaxbPrimitiveResponse
extends AbstractJaxbCommandResponse<Object>


Field Summary
 
Fields inherited from class org.kie.services.client.serialization.jaxb.impl.AbstractJaxbCommandResponse
commandName
 
Fields inherited from class org.kie.services.client.serialization.jaxb.rest.AbstractJaxbResponse
status, url
 
Constructor Summary
JaxbPrimitiveResponse()
           
JaxbPrimitiveResponse(Object result, int i, org.kie.api.command.Command<?> cmd)
           
 
Method Summary
 Object getResult()
           
 Class<?> getType()
           
 void setResult(Object result)
          This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.
 
Methods inherited from class org.kie.services.client.serialization.jaxb.impl.AbstractJaxbCommandResponse
getCommandName, getIndex, setCommandName, setIndex
 
Methods inherited from class org.kie.services.client.serialization.jaxb.rest.AbstractJaxbResponse
getStatus, getUrl, prettyPrint, setStatus, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxbPrimitiveResponse

public JaxbPrimitiveResponse()

JaxbPrimitiveResponse

public JaxbPrimitiveResponse(Object result,
                             int i,
                             org.kie.api.command.Command<?> cmd)
Method Detail

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.


KIE Remote Services :: JAXB classes 6.1.0.Final

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.