com.silverpeas.workflow.engine.model
Class TriggerImpl

java.lang.Object
  extended by com.silverpeas.workflow.engine.AbstractReferrableObject
      extended by com.silverpeas.workflow.engine.model.TriggerImpl
All Implemented Interfaces:
Trigger, ReferrableObjectIntf, Serializable

public class TriggerImpl
extends AbstractReferrableObject
implements Trigger, Serializable

Class implementing the representation of the <trigger> element of a Process Model.

See Also:
Serialized Form

Constructor Summary
TriggerImpl()
          Constructor
 
Method Summary
 void addParameter(Parameter parameter)
          Add a Parameter to the collection
 Parameter createParameter()
          Create an object implementing Parameter
 String getClassName()
          Get the value of the Parameter
 String getKey()
          This method has to be implemented by the referrable object it has to compute the unique key
 String getName()
          Get the name of the Parameter
 Parameter getParameter(String strName)
          Get the parameter specified by name
 Iterator<Parameter> iterateParameter()
          Return an Iterator over the parameters collection
 void setClassName(String className)
          Set the value of the Parameter
 void setName(String name)
          Set the name of the Parameter
 
Methods inherited from class com.silverpeas.workflow.engine.AbstractReferrableObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriggerImpl

public TriggerImpl()
Constructor

Method Detail

getName

public String getName()
Get the name of the Parameter

Specified by:
getName in interface Trigger
Returns:
parameter's name

setName

public void setName(String name)
Set the name of the Parameter

Specified by:
setName in interface Trigger
Parameters:
parameter - 's name

getClassName

public String getClassName()
Get the value of the Parameter

Specified by:
getClassName in interface Trigger
Returns:
parameter's value

setClassName

public void setClassName(String className)
Set the value of the Parameter

Specified by:
setClassName in interface Trigger
Parameters:
parameter - 's value

getKey

public String getKey()
Description copied from class: AbstractReferrableObject
This method has to be implemented by the referrable object it has to compute the unique key

Specified by:
getKey in interface ReferrableObjectIntf
Specified by:
getKey in class AbstractReferrableObject
Returns:
The unique key.
See Also:
equals, hashCode

getParameter

public Parameter getParameter(String strName)
Description copied from interface: Trigger
Get the parameter specified by name

Specified by:
getParameter in interface Trigger
Parameters:
strName - the parameter name
Returns:
the parameters

createParameter

public Parameter createParameter()
Description copied from interface: Trigger
Create an object implementing Parameter

Specified by:
createParameter in interface Trigger

addParameter

public void addParameter(Parameter parameter)
Description copied from interface: Trigger
Add a Parameter to the collection

Specified by:
addParameter in interface Trigger

iterateParameter

public Iterator<Parameter> iterateParameter()
Description copied from interface: Trigger
Return an Iterator over the parameters collection

Specified by:
iterateParameter in interface Trigger


Copyright © 2016 Silverpeas. All Rights Reserved.