com.candle.roma.kxc
Class RomaWorkflowService

java.lang.Object
  |
  +--com.candle.roma.kxc.RomaWorkflowService

public class RomaWorkflowService
extends java.lang.Object
implements java.lang.Cloneable

This class defines the business service associated with the workflow.

See Also:
RomaWorkflow

Constructor Summary
RomaWorkflowService()
          Constructs the empty object.
 
Method Summary
 java.lang.Object clone()
          Returns a copy of the object.
 java.lang.String getAudit()
          Returns the name of the audit object associated with the business service received the message.
 java.lang.String getComponent()
          Returns the name of the business component received the message.
 java.lang.String getService()
          Returns the name of the business service received the message.
 java.lang.String getSourceFlow()
          Returns the name of the business flow that has updated the workflow.
 java.lang.String getSourceOperation()
          Returns the name of the operation that has updated the workflow.
 java.lang.String getSourceService()
          Returns the name of the business service that has created or updated the workflow.
 void setAudit(java.lang.String an)
          Sets the audit object name to be used by the business service sending the message.
 void setComponent(java.lang.String cn)
          Sets the name of the business component sending the message.
 void setService(java.lang.String sn)
          Sets the name of the business service sending the message.
 void setSourceFlow(java.lang.String flow)
          Sets the name of the business flow.
 void setSourceOperation(java.lang.String op)
          Sets the operation name.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RomaWorkflowService

public RomaWorkflowService()
Constructs the empty object.
Method Detail

getService

public java.lang.String getService()
Returns the name of the business service received the message.

setService

public void setService(java.lang.String sn)
Sets the name of the business service sending the message. This will be applied to the theme when calling RomaBusinessElement.buildTheme(RomaTheme,RomaThemeInfo,int,boolean) or RomaClient.buildTheme(RomaTheme,RomaThemeInfo,int,boolean) to change the workflow.
Parameters:
sn - Business Service name

getComponent

public java.lang.String getComponent()
Returns the name of the business component received the message.

setComponent

public void setComponent(java.lang.String cn)
Sets the name of the business component sending the message. This will be applied to the theme when calling RomaBusinessElement.buildTheme(RomaTheme,RomaThemeInfo,int,boolean) or RomaClient.buildTheme(RomaTheme,RomaThemeInfo,int,boolean) to change the workflow.
Parameters:
cn - Business Component name

getAudit

public java.lang.String getAudit()
Returns the name of the audit object associated with the business service received the message.

setAudit

public void setAudit(java.lang.String an)
Sets the audit object name to be used by the business service sending the message. This will be applied to the theme when calling RomaBusinessElement.buildTheme(RomaTheme,RomaThemeInfo,int,boolean) or RomaClient.buildTheme(RomaTheme,RomaThemeInfo,int,boolean) to change the workflow.
Parameters:
an - Audit object name

getSourceService

public java.lang.String getSourceService()
Returns the name of the business service that has created or updated the workflow. This is the business service specified on a message put call unless an application has changed it using RomaBusinessElement.buildTheme(RomaTheme,RomaThemeInfo,int,boolean) or RomaClient.buildTheme(RomaTheme,RomaThemeInfo,int,boolean) somewhere on the route, in which case this is the business service that has changed the workflow.

getSourceFlow

public java.lang.String getSourceFlow()
Returns the name of the business flow that has updated the workflow.

setSourceFlow

public void setSourceFlow(java.lang.String flow)
Sets the name of the business flow. This will be applied to the theme when calling RomaBusinessElement.buildTheme(RomaTheme,RomaThemeInfo,int,boolean) or RomaClient.buildTheme(RomaTheme,RomaThemeInfo,int,boolean) to change the workflow.
Parameters:
flow - Business Flow name

getSourceOperation

public java.lang.String getSourceOperation()
Returns the name of the operation that has updated the workflow.

setSourceOperation

public void setSourceOperation(java.lang.String op)
Sets the operation name. This will be applied to the theme when calling RomaBusinessElement.buildTheme(RomaTheme,RomaThemeInfo,int,boolean) or RomaClient.buildTheme(RomaTheme,RomaThemeInfo,int,boolean) to change the workflow.
Parameters:
op - Operation name

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Returns a copy of the object.
Overrides:
clone in class java.lang.Object