org.yawlfoundation.yawl.resourcing.resource
Class Position

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.resource.AbstractResourceAttribute
      extended by org.yawlfoundation.yawl.resourcing.resource.Position
All Implemented Interfaces:
Comparable

public class Position
extends AbstractResourceAttribute
implements Comparable

Represents an organisational position that may be held by a participant.

Author:
Michael Adams v0.1, 09/08/2007

Field Summary
 
Fields inherited from class org.yawlfoundation.yawl.resourcing.resource.AbstractResourceAttribute
_description, _id, _notes, _persisting, _resources
 
Constructor Summary
Position()
           
Position(org.jdom.Element e)
           
Position(String title)
           
Position(String positionID, String title, String desription, OrgGroup orgGroup, Position reportsTo)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object o)
           
 String get_orgGroupID()
           
 String get_reportsToID()
           
 String getName()
           
 OrgGroup getOrgGroup()
           
 String getPositionID()
           
 Position getReportsTo()
           
 String getTitle()
           
 void reconstitute(org.jdom.Element e)
           
 boolean reportsTo(Position boss)
           
 void set_orgGroupID(String orgGroupID)
           
 void set_reportsToID(String reportsToID)
           
 void setOrgGroup(OrgGroup orgGroup)
           
 boolean setOrgGroup(String groupID)
           
 void setPositionID(String positionID)
           
 void setReportsTo(Position reportsTo)
           
 boolean setReportsTo(String reportsToID)
           
 void setTitle(String title)
           
 String toXML()
           
 boolean ultimatelyReportsTo(Position manager)
           
 
Methods inherited from class org.yawlfoundation.yawl.resourcing.resource.AbstractResourceAttribute
addResource, fromXML, get_resources, getDescription, getID, getNotes, getOrgDataSet, getResources, hashCode, hasResource, isPersisting, removeResource, save, set_resources, setDescription, setID, setNotes, setPersisting, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Position

public Position()

Position

public Position(String title)

Position

public Position(String positionID,
                String title,
                String desription,
                OrgGroup orgGroup,
                Position reportsTo)

Position

public Position(org.jdom.Element e)
Method Detail

getPositionID

public String getPositionID()

setPositionID

public void setPositionID(String positionID)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getName

public String getName()
Specified by:
getName in class AbstractResourceAttribute

getReportsTo

public Position getReportsTo()

setReportsTo

public void setReportsTo(Position reportsTo)

setReportsTo

public boolean setReportsTo(String reportsToID)

getOrgGroup

public OrgGroup getOrgGroup()

setOrgGroup

public void setOrgGroup(OrgGroup orgGroup)

setOrgGroup

public boolean setOrgGroup(String groupID)

reportsTo

public boolean reportsTo(Position boss)

ultimatelyReportsTo

public boolean ultimatelyReportsTo(Position manager)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

toXML

public String toXML()

reconstitute

public void reconstitute(org.jdom.Element e)
Overrides:
reconstitute in class AbstractResourceAttribute

get_orgGroupID

public String get_orgGroupID()

set_orgGroupID

public void set_orgGroupID(String orgGroupID)

get_reportsToID

public String get_reportsToID()

set_reportsToID

public void set_reportsToID(String reportsToID)


Copyright © 2004-2012 The YAWL Foundation.