public class Position extends AbstractResourceAttribute implements java.lang.Comparable
_description, _id, _notes, _persisting, _resources
Constructor and Description |
---|
Position() |
Position(Element e) |
Position(java.lang.String title) |
Position(java.lang.String positionID,
java.lang.String title,
java.lang.String desription,
OrgGroup orgGroup,
Position reportsTo) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
get_orgGroupID() |
java.lang.String |
get_reportsToID() |
java.lang.String |
getName() |
OrgGroup |
getOrgGroup() |
java.lang.String |
getPositionID() |
Position |
getReportsTo() |
java.lang.String |
getTitle() |
void |
reconstitute(Element e) |
boolean |
reportsTo(Position boss) |
void |
set_orgGroupID(java.lang.String orgGroupID) |
void |
set_reportsToID(java.lang.String reportsToID) |
void |
setLabel(java.lang.String label) |
void |
setOrgGroup(OrgGroup orgGroup) |
boolean |
setOrgGroup(java.lang.String groupID) |
void |
setPositionID(java.lang.String positionID) |
void |
setReportsTo(Position reportsTo) |
boolean |
setReportsTo(java.lang.String reportsToID) |
void |
setTitle(java.lang.String title) |
java.lang.String |
toXML() |
boolean |
ultimatelyReportsTo(Position manager) |
addResource, fromXML, get_resources, getDescription, getID, getNotes, getOrgDataSet, getResources, hashCode, hasResource, isPersisting, removeResource, save, set_resources, setDescription, setID, setNotes, setPersisting, toString
public Position()
public Position(java.lang.String title)
public Position(java.lang.String positionID, java.lang.String title, java.lang.String desription, OrgGroup orgGroup, Position reportsTo)
public Position(Element e)
public void setLabel(java.lang.String label)
setLabel
in class AbstractResourceAttribute
public java.lang.String getPositionID()
public void setPositionID(java.lang.String positionID)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public java.lang.String getName()
getName
in class AbstractResourceAttribute
public Position getReportsTo()
public void setReportsTo(Position reportsTo)
public boolean setReportsTo(java.lang.String reportsToID)
public OrgGroup getOrgGroup()
public void setOrgGroup(OrgGroup orgGroup)
public boolean setOrgGroup(java.lang.String groupID)
public boolean reportsTo(Position boss)
public boolean ultimatelyReportsTo(Position manager)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public java.lang.String toXML()
public void reconstitute(Element e)
reconstitute
in class AbstractResourceAttribute
public java.lang.String get_orgGroupID()
public void set_orgGroupID(java.lang.String orgGroupID)
public java.lang.String get_reportsToID()
public void set_reportsToID(java.lang.String reportsToID)
Copyright © 2004-2014 The YAWL Foundation.