org.kie.services.client.serialization.jaxb.impl
Class AbstractJaxbCommandResponse<T>
java.lang.Object
org.kie.services.client.serialization.jaxb.rest.AbstractJaxbResponse
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>
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
commandName
protected String commandName
AbstractJaxbCommandResponse
public AbstractJaxbCommandResponse()
AbstractJaxbCommandResponse
public AbstractJaxbCommandResponse(Integer i,
org.kie.api.command.Command<?> cmd)
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>
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.