KIE Remote Services :: JAXB classes 6.1.0.Final

org.kie.services.client.serialization.jaxb.impl.task
Class JaxbContentResponse

java.lang.Object
  extended by org.jbpm.services.task.impl.model.xml.JaxbContent
      extended by org.kie.services.client.serialization.jaxb.impl.task.JaxbContentResponse
All Implemented Interfaces:
Externalizable, Serializable, org.kie.api.task.model.Content, JaxbCommandResponse<org.kie.api.task.model.Content>

public class JaxbContentResponse
extends org.jbpm.services.task.impl.model.xml.JaxbContent
implements JaxbCommandResponse<org.kie.api.task.model.Content>

See Also:
Serialized Form

Constructor Summary
JaxbContentResponse()
           
JaxbContentResponse(int i, org.kie.api.command.Command<?> cmd)
           
JaxbContentResponse(org.jbpm.services.task.impl.model.xml.JaxbContent content, int i, org.kie.api.command.Command<?> cmd)
           
 
Method Summary
 String getCommandName()
           
 Integer getIndex()
           
 org.kie.api.task.model.Content getResult()
           
 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.
 void setResult(org.kie.api.task.model.Content result)
          This method is necessary for the YAML framework (which expects getters *and* setters) to work with these objects.
 
Methods inherited from class org.jbpm.services.task.impl.model.xml.JaxbContent
getContent, getContentMap, getId, getSerializedContent, initialize, readExternal, setContentMap, setId, setSerializedContent, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxbContentResponse

public JaxbContentResponse()

JaxbContentResponse

public JaxbContentResponse(int i,
                           org.kie.api.command.Command<?> cmd)

JaxbContentResponse

public JaxbContentResponse(org.jbpm.services.task.impl.model.xml.JaxbContent content,
                           int i,
                           org.kie.api.command.Command<?> cmd)
Method Detail

getIndex

public Integer getIndex()
Specified by:
getIndex in interface JaxbCommandResponse<org.kie.api.task.model.Content>
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<org.kie.api.task.model.Content>

getCommandName

public String getCommandName()
Specified by:
getCommandName in interface JaxbCommandResponse<org.kie.api.task.model.Content>
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<org.kie.api.task.model.Content>

getResult

public org.kie.api.task.model.Content getResult()
Specified by:
getResult in interface JaxbCommandResponse<org.kie.api.task.model.Content>
Returns:
The result object generated by the command. If the command does not return an object, null.

setResult

public void setResult(org.kie.api.task.model.Content result)
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:
setResult in interface JaxbCommandResponse<org.kie.api.task.model.Content>

KIE Remote Services :: JAXB classes 6.1.0.Final

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