org.obe.xpdl.model.misc
Class ResourceContainer
java.lang.Object
org.obe.util.AbstractBean
org.obe.xpdl.model.misc.AbstractWFElement
org.obe.xpdl.model.misc.ResourceContainer
- All Implemented Interfaces:
- java.beans.beancontext.BeanContextChild, CalendarRef, java.io.Serializable
- Direct Known Subclasses:
- WorkflowProcess, XPDLPackage
- public abstract class ResourceContainer
- extends AbstractWFElement
- implements CalendarRef
Abstract container for resources common to XPDLPackage and WorkflowProcess.
- Author:
- Adrian Price
- See Also:
- Serialized Form
Constructor Summary |
protected |
ResourceContainer(java.lang.String[] propertyNames,
java.lang.Object[] initalValues)
|
protected |
ResourceContainer(java.lang.String[] propertyNames,
java.lang.Object[] initalValues,
java.lang.String id,
java.lang.String name)
|
Methods inherited from class org.obe.xpdl.model.misc.AbstractWFElement |
createExtendedAttributes, equals, getDescription, getExtendedAttributes, getId, getName, hashCode, setDescription, setExtendedAttributes, setId, setName, toString |
Methods inherited from class org.obe.util.AbstractBean |
add, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clear, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, get, get, getBeanContext, getListModel, hasChangeListeners, hasVetoListeners, remove, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, set, set, setBeanContext |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
APPLICATION
public static final java.lang.String APPLICATION
- See Also:
- Constant Field Values
ASSIGNMENT_STRATEGY
public static final java.lang.String ASSIGNMENT_STRATEGY
- See Also:
- Constant Field Values
CALENDAR
public static final java.lang.String CALENDAR
- See Also:
- Constant Field Values
DATA_FIELD
public static final java.lang.String DATA_FIELD
- See Also:
- Constant Field Values
PARTICIPANT
public static final java.lang.String PARTICIPANT
- See Also:
- Constant Field Values
REDEFINABLE_HEADER
public static final java.lang.String REDEFINABLE_HEADER
- See Also:
- Constant Field Values
EMPTY_APPLICATION
protected static final Application[] EMPTY_APPLICATION
EMPTY_DATA_FIELD
protected static final DataField[] EMPTY_DATA_FIELD
EMPTY_PARTICIPANT
protected static final Participant[] EMPTY_PARTICIPANT
ResourceContainer
protected ResourceContainer(java.lang.String[] propertyNames,
java.lang.Object[] initalValues)
ResourceContainer
protected ResourceContainer(java.lang.String[] propertyNames,
java.lang.Object[] initalValues,
java.lang.String id,
java.lang.String name)
accept
protected void accept(PackageVisitor visitor)
add
public final void add(Application application)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
remove
public final void remove(Application application)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
getApplication
public final Application[] getApplication()
getApplication
public final Application getApplication(int i)
getApplication
public final Application getApplication(java.lang.String id)
setApplication
public final void setApplication(Application[] applications)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
setApplication
public final void setApplication(int i,
Application application)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
getAssignmentStrategy
public final AssignmentStrategyDef getAssignmentStrategy()
- Returns the work item assignment strategy.
- Returns:
- Assignment strategy definition, which must have a matching
implementation registered in the AssignmentStrategyRepository.
setAssignmentStrategy
public final void setAssignmentStrategy(AssignmentStrategyDef strategy)
- Sets the work item assignment strategy. This is an OBE XPDL-1.0 extension.
- Parameters:
strategy
- Assignment strategy definition, which must have a
matching implementation registered in the AssignmentStrategyRepository.
getCalendar
public final java.lang.String getCalendar()
- Specified by:
getCalendar
in interface CalendarRef
setCalendar
public final void setCalendar(java.lang.String calendar)
- Specified by:
setCalendar
in interface CalendarRef
add
public final void add(DataField dataField)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
remove
public final void remove(DataField dataField)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
getDataField
public final DataField[] getDataField()
getDataField
public final DataField getDataField(int i)
getDataField
public final DataField getDataField(java.lang.String id)
setDataField
public final void setDataField(DataField[] dataFields)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
setDataField
public final void setDataField(int i,
DataField dataField)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
add
public final void add(Participant participant)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
remove
public final void remove(Participant participant)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
getParticipant
public final Participant[] getParticipant()
getParticipant
public final Participant getParticipant(int i)
getParticipant
public final Participant getParticipant(java.lang.String id)
setParticipant
public final void setParticipant(Participant[] participants)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
setParticipant
public final void setParticipant(int i,
Participant participant)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
getRedefinableHeader
public final RedefinableHeader getRedefinableHeader()
- Get the RedefinableHeader.
- Returns:
- The RedefinableHeader
setRedefinableHeader
public final void setRedefinableHeader(RedefinableHeader header)
- Set the RedefinableHeader.
- Parameters:
header
- The RedefinableHeader
OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.