org.ow2.orchestra.facade.def.impl
Class ProcessDefinitionImpl

java.lang.Object
  extended by org.ow2.orchestra.facade.def.impl.DefinitionRecordImpl
      extended by org.ow2.orchestra.facade.def.impl.ActivityDefinitionImpl
          extended by org.ow2.orchestra.facade.def.impl.BpelActivityDefinitionImpl
              extended by org.ow2.orchestra.facade.def.impl.BpelActivityWithSingleChildDefinitionImpl
                  extended by org.ow2.orchestra.facade.def.impl.ScopeActivityDefinitionImpl
                      extended by org.ow2.orchestra.facade.def.impl.ProcessDefinitionImpl
All Implemented Interfaces:
java.io.Serializable, ActivityDefinition, BpelActivityDefinition, BpelActivityWithSingleChildDefinition, DefinitionRecord, ProcessDefinition, ScopeActivityDefinition, Record

public class ProcessDefinitionImpl
extends ScopeActivityDefinitionImpl
implements ProcessDefinition

Author:
Gael Lalire
See Also:
Serialized Form

Field Summary
protected  java.lang.String nameSpace
           
 
Fields inherited from class org.ow2.orchestra.facade.def.impl.ScopeActivityDefinitionImpl
compensationHandlerUUID, faultHandlerUUIDs, terminationHandlerUUID
 
Fields inherited from class org.ow2.orchestra.facade.def.impl.BpelActivityWithSingleChildDefinitionImpl
enclosedActivityUUID
 
Fields inherited from class org.ow2.orchestra.facade.def.impl.BpelActivityDefinitionImpl
sourceList, suppressJoinFailure, targetList, targetsJoinConditionBooleanExpression, targetsJoinConditionExpressionLanguage
 
Fields inherited from class org.ow2.orchestra.facade.def.impl.ActivityDefinitionImpl
uuid
 
Fields inherited from class org.ow2.orchestra.facade.def.impl.DefinitionRecordImpl
name, processDefinitionUUID
 
Constructor Summary
ProcessDefinitionImpl(ProcessDefinition src)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Date getDeployedDate()
           
 ActivityDefinitionUUID getEnclosedActivityUUID()
           
 java.lang.String getExpressionLanguage()
           
 java.lang.String getNameSpace()
           
 javax.xml.namespace.QName getQName()
           
 java.lang.String getQueryLanguage()
           
 ProcessState getState()
           
 ActivityType getType()
          Get the type of the activity definition.
 java.util.Date getUndeployedDate()
           
 ProcessDefinitionUUID getUUID()
          Returns the UUID for the ProcessDefinition.
 int hashCode()
           
 void setEnclosedActivityUUID(ActivityDefinitionUUID enclosedActivityUUID)
           
 
Methods inherited from class org.ow2.orchestra.facade.def.impl.ScopeActivityDefinitionImpl
getCompensationHandlerDefinitionUUID, getCorrelationSets, getExitOnStandardFault, getFaultHandlerUUIDs, getMessageExchanges, getPartnerLinks, getTerminationHandlerDefinitionUUID, getVariables
 
Methods inherited from class org.ow2.orchestra.facade.def.impl.BpelActivityDefinitionImpl
getSourceList, getTargetList, getTargetsJoinConditionBooleanExpression, getTargetsJoinConditionExpressionLanguage, isSuppressJoinFailure
 
Methods inherited from class org.ow2.orchestra.facade.def.impl.DefinitionRecordImpl
getName, getProcessDefinitionUUID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.orchestra.facade.def.ScopeActivityDefinition
getCompensationHandlerDefinitionUUID, getCorrelationSets, getExitOnStandardFault, getFaultHandlerUUIDs, getMessageExchanges, getPartnerLinks, getTerminationHandlerDefinitionUUID, getVariables
 
Methods inherited from interface org.ow2.orchestra.facade.def.BpelActivityDefinition
getSourceList, getTargetList, getTargetsJoinConditionBooleanExpression, getTargetsJoinConditionExpressionLanguage, isSuppressJoinFailure
 
Methods inherited from interface org.ow2.orchestra.facade.def.DefinitionRecord
getName, getProcessDefinitionUUID
 

Field Detail

nameSpace

protected java.lang.String nameSpace
Constructor Detail

ProcessDefinitionImpl

public ProcessDefinitionImpl(ProcessDefinition src)
Method Detail

equals

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

getUUID

public ProcessDefinitionUUID getUUID()
Description copied from interface: ProcessDefinition
Returns the UUID for the ProcessDefinition.

Specified by:
getUUID in interface ActivityDefinition
Specified by:
getUUID in interface ProcessDefinition
Overrides:
getUUID in class ActivityDefinitionImpl
Returns:
uuid of this activity definition.

hashCode

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

getEnclosedActivityUUID

public ActivityDefinitionUUID getEnclosedActivityUUID()
Specified by:
getEnclosedActivityUUID in interface BpelActivityWithSingleChildDefinition
Overrides:
getEnclosedActivityUUID in class BpelActivityWithSingleChildDefinitionImpl
Returns:
the enclosedActivityUUID

setEnclosedActivityUUID

public void setEnclosedActivityUUID(ActivityDefinitionUUID enclosedActivityUUID)
Parameters:
enclosedActivityUUID - the enclosedActivityUUID to set

getNameSpace

public java.lang.String getNameSpace()
Specified by:
getNameSpace in interface ProcessDefinition
Returns:
name space of the process

getExpressionLanguage

public java.lang.String getExpressionLanguage()
Specified by:
getExpressionLanguage in interface ProcessDefinition
Returns:
the URI of expression language

getQueryLanguage

public java.lang.String getQueryLanguage()
Specified by:
getQueryLanguage in interface ProcessDefinition
Returns:
the URI of query language

getDeployedDate

public java.util.Date getDeployedDate()
Specified by:
getDeployedDate in interface ProcessDefinition
Returns:
the date recorded when the definition is deployed

getUndeployedDate

public java.util.Date getUndeployedDate()
Specified by:
getUndeployedDate in interface ProcessDefinition
Returns:
the date recorded when the definition is undeployed

getType

public ActivityType getType()
Description copied from interface: ActivityDefinition
Get the type of the activity definition. Types are defined in ActivityType.class.

Specified by:
getType in interface ActivityDefinition
Overrides:
getType in class ScopeActivityDefinitionImpl
Returns:
the type of the activity (corresponding to ActivityType.class)

getQName

public javax.xml.namespace.QName getQName()
Specified by:
getQName in interface ProcessDefinition
Returns:
the qualified name of the process

getState

public ProcessState getState()
Specified by:
getState in interface ProcessDefinition
Returns:
the state of the process


Copyright © 2009 OW2 Consortium. All Rights Reserved.