站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

Process (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.ruleflow.common.core.impl
Class Process

java.lang.Object
  extended by org.drools.ruleflow.common.core.impl.Process
All Implemented Interfaces:
Serializable, IProcess
Direct Known Subclasses:
RuleFlowProcess

public class Process
extends Object
implements IProcess, Serializable

Default implementation of a Process

Author:
Kris Verlaenen
See Also:
Serialized Form

Constructor Summary
Process()
           
 
Method Summary
 boolean equals(Object o)
           
 String getId()
          Returns the id of this process.
 String getName()
          Returns the name of this process.
 String getType()
          Returns the type of this process.
 String getVersion()
          Returns the version of this process.
 int hashCode()
           
 void setId(String id)
          Sets the id of this process.
 void setName(String name)
          Sets the name of this process.
 void setType(String type)
          Sets the type of this process.
 void setVersion(String version)
          Sets the version of this process.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Process

public Process()
Method Detail

setId

public void setId(String id)
Description copied from interface: IProcess
Sets the id of this process. The id should uniquely identify this process.

Specified by:
setId in interface IProcess
Parameters:
id - the id of the process

getId

public String getId()
Description copied from interface: IProcess
Returns the id of this process.

Specified by:
getId in interface IProcess
Returns:
the id of this process

setName

public void setName(String name)
Description copied from interface: IProcess
Sets the name of this process.

Specified by:
setName in interface IProcess
Parameters:
name - the name of this process

getName

public String getName()
Description copied from interface: IProcess
Returns the name of this process. If no name is specified, null is returned.

Specified by:
getName in interface IProcess
Returns:
the name of this process

setVersion

public void setVersion(String version)
Description copied from interface: IProcess
Sets the version of this process.

Specified by:
setVersion in interface IProcess
Parameters:
version - the version of this process

getVersion

public String getVersion()
Description copied from interface: IProcess
Returns the version of this process. If no version is specified, null is returned.

Specified by:
getVersion in interface IProcess
Returns:
the version of this process

getType

public String getType()
Description copied from interface: IProcess
Returns the type of this process.

Specified by:
getType in interface IProcess
Returns:
the type of this process

setType

public void setType(String type)
Description copied from interface: IProcess
Sets the type of this process.

Specified by:
setType in interface IProcess
Parameters:
type - the type of this process

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.