|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.obe.util.AbstractBean org.obe.xpdl.model.misc.AbstractWFElement org.obe.xpdl.model.misc.ResourceContainer org.obe.xpdl.model.pkg.XPDLPackage
A XPDLPackage is the top-level element in an XPDL document.
Field Summary | |
static java.lang.String |
COMPLETION_STRATEGY
|
static java.lang.String |
CONFORMANCE_CLASS
|
static java.lang.String |
EXTERNAL_PACKAGE
|
static java.lang.String |
NAMESPACES
|
static java.lang.String |
PACKAGE_HEADER
|
static java.lang.String |
PACKAGE_ID
|
static java.lang.String |
SCRIPT
|
static java.lang.String |
TYPE_DECLARATION
|
static java.lang.String |
WORKFLOW_PROCESS
|
Fields inherited from class org.obe.xpdl.model.misc.ResourceContainer |
APPLICATION, ASSIGNMENT_STRATEGY, CALENDAR, DATA_FIELD, EMPTY_APPLICATION, EMPTY_DATA_FIELD, EMPTY_PARTICIPANT, PARTICIPANT, REDEFINABLE_HEADER |
Constructor Summary | |
XPDLPackage()
|
|
XPDLPackage(java.lang.String id,
java.lang.String name,
PackageHeader packageHeader)
Construct a new XPDLPackage. |
Method Summary | |
void |
accept(PackageVisitor visitor)
|
void |
add(ExternalPackage extPkg)
|
void |
add(TypeDeclaration typeDecl)
|
void |
add(WorkflowProcess workflowProcess)
|
java.lang.String |
getCompletionStrategy()
|
ConformanceClass |
getConformanceClass()
Get the ConformanceClass. |
ExternalPackage[] |
getExternalPackage()
|
ExternalPackage |
getExternalPackage(int i)
|
ExternalPackage |
getExternalPackage(java.lang.String id)
|
java.util.Map |
getNamespaces()
Returns all XML namespace prefix:URI mappings declared on the Package element of the XPDL document. |
PackageHeader |
getPackageHeader()
Get the PackageHeader. |
java.lang.String |
getPackageId()
Synonym for AbstractWFElement.getId() . |
Script |
getScript()
Get an object defining the scripting language to use for expressions. |
TypeDeclaration[] |
getTypeDeclaration()
|
TypeDeclaration |
getTypeDeclaration(int i)
|
TypeDeclaration |
getTypeDeclaration(java.lang.String id)
|
WorkflowProcess[] |
getWorkflowProcess()
|
WorkflowProcess |
getWorkflowProcess(int i)
|
WorkflowProcess |
getWorkflowProcess(java.lang.String id)
|
void |
remove(ExternalPackage extPkg)
|
void |
remove(TypeDeclaration typeDecl)
|
void |
remove(WorkflowProcess workflowProcess)
|
void |
setCompletionStrategy(java.lang.String completionStrategy)
|
void |
setConformanceClass(ConformanceClass conformanceClass)
Set the ConformanceClass. |
void |
setExternalPackage(ExternalPackage[] externalPackages)
|
void |
setExternalPackage(int i,
ExternalPackage externalPackage)
|
void |
setPackageHeader(PackageHeader packageHeader)
Set the PackageHeader. |
void |
setScript(Script script)
Set the script language for expressions. |
void |
setTypeDeclaration(int i,
TypeDeclaration typeDeclaration)
|
void |
setTypeDeclaration(TypeDeclaration[] typeDeclarations)
|
void |
setWorkflowProcess(int i,
WorkflowProcess workflowProcess)
|
void |
setWorkflowProcess(WorkflowProcess[] workflowProcesses)
|
java.lang.String |
toString()
|
Methods inherited from class org.obe.xpdl.model.misc.ResourceContainer |
add, add, add, getApplication, getApplication, getApplication, getAssignmentStrategy, getCalendar, getDataField, getDataField, getDataField, getParticipant, getParticipant, getParticipant, getRedefinableHeader, remove, remove, remove, setApplication, setApplication, setAssignmentStrategy, setCalendar, setDataField, setDataField, setParticipant, setParticipant, setRedefinableHeader |
Methods inherited from class org.obe.xpdl.model.misc.AbstractWFElement |
createExtendedAttributes, equals, getDescription, getExtendedAttributes, getId, getName, hashCode, setDescription, setExtendedAttributes, setId, setName |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COMPLETION_STRATEGY
public static final java.lang.String CONFORMANCE_CLASS
public static final java.lang.String EXTERNAL_PACKAGE
public static final java.lang.String NAMESPACES
public static final java.lang.String PACKAGE_HEADER
public static final java.lang.String PACKAGE_ID
public static final java.lang.String SCRIPT
public static final java.lang.String TYPE_DECLARATION
public static final java.lang.String WORKFLOW_PROCESS
Constructor Detail |
public XPDLPackage()
public XPDLPackage(java.lang.String id, java.lang.String name, PackageHeader packageHeader)
id
- The package IDname
- The package namepackageHeader
- The PackageHeader objectMethod Detail |
public void accept(PackageVisitor visitor)
accept
in class ResourceContainer
public java.util.Map getNamespaces()
public java.lang.String getPackageId()
AbstractWFElement.getId()
. Required for compatibility between
in-memory and EJB process repositories.
public java.lang.String getCompletionStrategy()
public void setCompletionStrategy(java.lang.String completionStrategy)
public ConformanceClass getConformanceClass()
public void setConformanceClass(ConformanceClass conformanceClass)
conformanceClass
- public void add(ExternalPackage extPkg) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public void remove(ExternalPackage extPkg) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public ExternalPackage[] getExternalPackage()
public ExternalPackage getExternalPackage(int i)
public ExternalPackage getExternalPackage(java.lang.String id)
public void setExternalPackage(ExternalPackage[] externalPackages) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public void setExternalPackage(int i, ExternalPackage externalPackage) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public PackageHeader getPackageHeader()
public void setPackageHeader(PackageHeader packageHeader)
packageHeader
- The new package headerpublic Script getScript()
public void setScript(Script script)
script
- The new script languagepublic void add(TypeDeclaration typeDecl) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public void remove(TypeDeclaration typeDecl) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public TypeDeclaration[] getTypeDeclaration()
public TypeDeclaration getTypeDeclaration(int i)
public TypeDeclaration getTypeDeclaration(java.lang.String id)
public void setTypeDeclaration(TypeDeclaration[] typeDeclarations) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public void setTypeDeclaration(int i, TypeDeclaration typeDeclaration) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public void add(WorkflowProcess workflowProcess) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public void remove(WorkflowProcess workflowProcess) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public WorkflowProcess[] getWorkflowProcess()
public WorkflowProcess getWorkflowProcess(int i)
public WorkflowProcess getWorkflowProcess(java.lang.String id)
public void setWorkflowProcess(WorkflowProcess[] workflowProcesses) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public void setWorkflowProcess(int i, WorkflowProcess workflowProcess) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public java.lang.String toString()
toString
in class AbstractWFElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |