org.obe.xpdl.model.participant
Class Participant

java.lang.Object
  extended byorg.obe.util.AbstractBean
      extended byorg.obe.xpdl.model.misc.AbstractWFElement
          extended byorg.obe.xpdl.model.participant.Participant
All Implemented Interfaces:
java.beans.beancontext.BeanContextChild, CalendarRef, java.io.Serializable

public final class Participant
extends AbstractWFElement
implements CalendarRef

Representation of the XPDL Participant element.

Author:
Adrian Price
See Also:
Serialized Form

Constructor Summary
Participant()
           
Participant(java.lang.String id, java.lang.String name, ParticipantType pType, ExternalReference extRef)
          Construct a new Participant.
 
Method Summary
 void accept(PackageVisitor visitor)
           
 java.lang.String getCalendar()
           
 ExternalReference getExternalReference()
           
 ParticipantType getParticipantType()
           
 void setCalendar(java.lang.String calendar)
           
 void setExternalReference(ExternalReference externalReference)
           
 void setParticipantType(ParticipantType participantType)
           
 java.lang.String toString()
           
 
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 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
 

Constructor Detail

Participant

public Participant()

Participant

public Participant(java.lang.String id,
                   java.lang.String name,
                   ParticipantType pType,
                   ExternalReference extRef)
Construct a new Participant.

Parameters:
id - The participant id
name - The participant name
pType - The participant type
extRef -
Method Detail

accept

public void accept(PackageVisitor visitor)

getParticipantType

public ParticipantType getParticipantType()

setParticipantType

public void setParticipantType(ParticipantType participantType)

getExternalReference

public ExternalReference getExternalReference()

setExternalReference

public void setExternalReference(ExternalReference externalReference)

getCalendar

public java.lang.String getCalendar()
Specified by:
getCalendar in interface CalendarRef

setCalendar

public void setCalendar(java.lang.String calendar)
Specified by:
setCalendar in interface CalendarRef

toString

public java.lang.String toString()
Overrides:
toString in class AbstractWFElement


SourceForge.net Logo OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.