com.sap.mdm.workflow
Class WorkflowProperties

java.lang.Object
  extended bycom.sap.mdm.workflow.WorkflowProperties

public class WorkflowProperties
extends Object

The class represents Workflow properties


Nested Class Summary
static interface WorkflowProperties.LaunchType
           
static interface WorkflowProperties.TriggerAction
           
 
Constructor Summary
WorkflowProperties(WorkflowId id, String name, String code, String description, TableId tableId, String owner, boolean isActive, int launchType, int[] triggerActions, int maxRecords, MeasurementValue maxTime, String createdBy, DateTimeValue creationDate, String modifiedBy, DateTimeValue modificationDate)
          Creates an instance with the specified parameters.
 
Method Summary
 boolean equals(Object obj)
           
 String getCode()
          Returns the workflow code
 String getCreatedBy()
          Returns the name of user who created this workflow
 DateTimeValue getCreationDate()
          Return the creation date
 String getDescription()
          Returns the workflow description.
 WorkflowId getId()
          Returns the workflow ID.
 int getLaunchType()
          Returns the launch type of the workflow.
 int getMaxRecords()
          Returns the maximum number of records that can be handled by the workflow.
 MeasurementValue getMaxTime()
          Returns the maximum delay time after which the workflow will be launched.
 DateTimeValue getModificationDate()
          Returns the last modification date
 String getModifiedBy()
          Returns the user name who makes the last modification in workflow
 String getName()
          Returns the workflow name.
 TableId getTableId()
          Returns the ID of table the current workflow belongs to.
 int[] getTriggerActions()
          Returns the set of trigger actions launching the workflow.
 String getWorkflowOwner()
          Returns the name of workflow owner.
 int hashCode()
           
 boolean isActive()
          Returns if the workflow is active.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowProperties

public WorkflowProperties(WorkflowId id,
                          String name,
                          String code,
                          String description,
                          TableId tableId,
                          String owner,
                          boolean isActive,
                          int launchType,
                          int[] triggerActions,
                          int maxRecords,
                          MeasurementValue maxTime,
                          String createdBy,
                          DateTimeValue creationDate,
                          String modifiedBy,
                          DateTimeValue modificationDate)
Creates an instance with the specified parameters.

Parameters:
id - the workflow ID
name - the workflow name
description - the workflow description
tableId - ID of table the workflow belongs to
owner - owner of workflow
Method Detail

getId

public WorkflowId getId()
Returns the workflow ID.

Returns:
the workflow ID.

getName

public String getName()
Returns the workflow name.

Returns:
the workflow name.

getCode

public String getCode()
Returns the workflow code

Returns:
the workflow code

getDescription

public String getDescription()
Returns the workflow description.

Returns:
the workflow description.

getTableId

public TableId getTableId()
Returns the ID of table the current workflow belongs to.

Returns:
the table ID.

getWorkflowOwner

public String getWorkflowOwner()
Returns the name of workflow owner.

Returns:
the workflow owner.

isActive

public boolean isActive()
Returns if the workflow is active.

Returns:
true if the workflow is active, false otherwise

getLaunchType

public int getLaunchType()
Returns the launch type of the workflow.

Returns:
the launch type.

getMaxRecords

public int getMaxRecords()
Returns the maximum number of records that can be handled by the workflow.

Returns:
the maximum number of records.

getMaxTime

public MeasurementValue getMaxTime()
Returns the maximum delay time after which the workflow will be launched.

Returns:
the maximum delay time.

getTriggerActions

public int[] getTriggerActions()
Returns the set of trigger actions launching the workflow.

Returns:
the array trigger actions.

getCreatedBy

public String getCreatedBy()
Returns the name of user who created this workflow

Returns:
the user name who created the workflow

getCreationDate

public DateTimeValue getCreationDate()
Return the creation date

Returns:
the creation date

getModifiedBy

public String getModifiedBy()
Returns the user name who makes the last modification in workflow

Returns:
the user name who makes the last modification in workflow

getModificationDate

public DateTimeValue getModificationDate()
Returns the last modification date

Returns:
the last modification date

toString

public String toString()

hashCode

public int hashCode()

equals

public boolean equals(Object obj)


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.