KIE Remote Services :: JAXB classes 6.1.0.Final

org.kie.services.client.serialization.jaxb.impl
Class AbstractJaxbCommandResponse<T>

java.lang.Object
  extended by org.kie.services.client.serialization.jaxb.rest.AbstractJaxbResponse
      extended by org.kie.services.client.serialization.jaxb.impl.AbstractJaxbCommandResponse<T>
All Implemented Interfaces:
JaxbCommandResponse<T>
Direct Known Subclasses:
JaxbExceptionResponse, JaxbLongListResponse, JaxbOtherResponse, JaxbPrimitiveResponse, JaxbProcessInstanceListResponse, JaxbProcessInstanceResponse, JaxbStringListResponse, JaxbTaskSummaryListResponse, JaxbVariablesResponse, JaxbWorkItem

public abstract class AbstractJaxbCommandResponse<T>
extends AbstractJaxbResponse
implements JaxbCommandResponse<T>


Field Summary
protected  String commandName
           
 
Fields inherited from class org.kie.services.client.serialization.jaxb.rest.AbstractJaxbResponse
status, url
 
Constructor Summary
AbstractJaxbCommandResponse()
           
AbstractJaxbCommandResponse(Integer i, org.kie.api.command.Command<?> cmd)
           
 
Method Summary
 String getCommandName()
           
 Integer getIndex()
           
 void setCommandName(String cmdName)
          This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.
 void setIndex(Integer index)
          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.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
 
Methods inherited from interface org.kie.services.client.serialization.jaxb.impl.JaxbCommandResponse
getResult, setResult
 

Field Detail

commandName

protected String commandName
Constructor Detail

AbstractJaxbCommandResponse

public AbstractJaxbCommandResponse()

AbstractJaxbCommandResponse

public AbstractJaxbCommandResponse(Integer i,
                                   org.kie.api.command.Command<?> cmd)
Method Detail

getIndex

public Integer getIndex()
Specified by:
getIndex in interface JaxbCommandResponse<T>
Returns:
The index of the command in the JaxbCommandsRequest.getCommands() list.

setIndex

public void setIndex(Integer index)
Description copied from interface: JaxbCommandResponse
This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.

Specified by:
setIndex in interface JaxbCommandResponse<T>

getCommandName

public String getCommandName()
Specified by:
getCommandName in interface JaxbCommandResponse<T>
Returns:
The (simple) name of the command class that generated this response.

setCommandName

public void setCommandName(String cmdName)
Description copied from interface: JaxbCommandResponse
This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.

Specified by:
setCommandName in interface JaxbCommandResponse<T>

KIE Remote Services :: JAXB classes 6.1.0.Final

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