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

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

public class ProcessImpl
extends java.lang.Object
implements Process, java.io.Serializable

Default implementation of a Process

Author:
Kris Verlaenen
See Also:
Serialized Form

Constructor Summary
ProcessImpl()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getId()
          Returns the id of this process.
 java.lang.String getName()
          Returns the name of this process.
 java.lang.String getPackageName()
          Returns the package name of this RuleFlow process
 java.lang.String getType()
          Returns the type of this process.
 java.lang.String getVersion()
          Returns the version of this process.
 int hashCode()
           
 void setId(java.lang.String id)
          Sets the id of this process.
 void setName(java.lang.String name)
          Sets the name of this process.
 void setPackageName(java.lang.String packageName)
          Sets the package name of this RuleFlow process
 void setType(java.lang.String type)
          Sets the type of this process.
 void setVersion(java.lang.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

ProcessImpl

public ProcessImpl()
Method Detail

setId

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

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

getId

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

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

setName

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

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

getName

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

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

setVersion

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

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

getVersion

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

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

getType

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

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

setType

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

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

getPackageName

public java.lang.String getPackageName()
Description copied from interface: Process
Returns the package name of this RuleFlow process

Specified by:
getPackageName in interface Process
Returns:
the package name of this RuleFlow process

setPackageName

public void setPackageName(java.lang.String packageName)
Description copied from interface: Process
Sets the package name of this RuleFlow process

Specified by:
setPackageName in interface Process
Parameters:
packageName - the package name of this RuleFlow process

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object