org.obe.xpdl.model.misc
Class RedefinableHeader

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

public final class RedefinableHeader
extends AbstractBean

Header information which can be used for entities such as the package or individual workflow processes.

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
static java.lang.String AUTHOR
           
static java.lang.String CODE_PAGE
           
static java.lang.String COUNTRY_KEY
           
static java.lang.String PUBLICATION_STATUS
           
static java.lang.String RESPONSIBLE
           
static java.lang.String VERSION
           
 
Constructor Summary
RedefinableHeader()
          Construct a new RedefinableHeader.
 
Method Summary
 void add(java.lang.String responsible)
           
 java.lang.String getAuthor()
          Get the entity's author.
 java.lang.String getCodepage()
           
 java.lang.String getCountrykey()
           
 PublicationStatus getPublicationStatus()
          Get the publication status for this workflow definition.
 java.lang.String[] getResponsible()
          Returns the responsible participants' IDs.
 java.lang.String getResponsible(int i)
           
 java.lang.String getVersion()
          Get the entity's version.
 void remove(java.lang.String responsible)
           
 void setAuthor(java.lang.String author)
          Set the entity's author.
 void setCodepage(java.lang.String codepage)
           
 void setCountrykey(java.lang.String countrykey)
           
 void setPublicationStatus(PublicationStatus publicationStatus)
          Set the publication status for this workflow definition.
 void setResponsible(int i, java.lang.String responsible)
           
 void setResponsible(java.lang.String[] responsibles)
           
 void setVersion(java.lang.String version)
          Set the entity's version.
 java.lang.String 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTHOR

public static final java.lang.String AUTHOR
See Also:
Constant Field Values

CODE_PAGE

public static final java.lang.String CODE_PAGE
See Also:
Constant Field Values

COUNTRY_KEY

public static final java.lang.String COUNTRY_KEY
See Also:
Constant Field Values

PUBLICATION_STATUS

public static final java.lang.String PUBLICATION_STATUS
See Also:
Constant Field Values

RESPONSIBLE

public static final java.lang.String RESPONSIBLE
See Also:
Constant Field Values

VERSION

public static final java.lang.String VERSION
See Also:
Constant Field Values
Constructor Detail

RedefinableHeader

public RedefinableHeader()
Construct a new RedefinableHeader.

Method Detail

getAuthor

public java.lang.String getAuthor()
Get the entity's author.

Returns:
The entity's author

setAuthor

public void setAuthor(java.lang.String author)
Set the entity's author.

Parameters:
author - The entity's new author

getVersion

public java.lang.String getVersion()
Get the entity's version.

Returns:
The version

setVersion

public void setVersion(java.lang.String version)
Set the entity's version.

Parameters:
version - The version

getCodepage

public java.lang.String getCodepage()

setCodepage

public void setCodepage(java.lang.String codepage)

getCountrykey

public java.lang.String getCountrykey()

setCountrykey

public void setCountrykey(java.lang.String countrykey)

add

public void add(java.lang.String responsible)
         throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

remove

public void remove(java.lang.String responsible)
            throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

getResponsible

public java.lang.String[] getResponsible()
Returns the responsible participants' IDs.

Returns:
Array of participant IDs.

getResponsible

public java.lang.String getResponsible(int i)

setResponsible

public void setResponsible(java.lang.String[] responsibles)
                    throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

setResponsible

public void setResponsible(int i,
                           java.lang.String responsible)
                    throws java.beans.PropertyVetoException
Throws:
java.beans.PropertyVetoException

getPublicationStatus

public PublicationStatus getPublicationStatus()
Get the publication status for this workflow definition.

Returns:
The publication status

setPublicationStatus

public void setPublicationStatus(PublicationStatus publicationStatus)
Set the publication status for this workflow definition.

Parameters:
publicationStatus - The new publication status

toString

public java.lang.String toString()


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