public class Role extends AbstractResourceAttribute implements java.lang.Comparable
_description, _id, _notes, _persisting, _resources
Constructor and Description |
---|
Role() |
Role(Element e) |
Role(java.lang.String role) |
Modifier and Type | Method and Description |
---|---|
boolean |
belongsTo(Role owner) |
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
get_belongsToID() |
java.lang.String |
getName() |
Role |
getOwnerRole() |
void |
reconstitute(Element e) |
void |
set_belongsToID(java.lang.String belongsToID) |
void |
setLabel(java.lang.String label) |
void |
setName(java.lang.String role) |
void |
setOwnerRole(Role owner) |
boolean |
setOwnerRole(java.lang.String ownerRoleID) |
java.lang.String |
toXML() |
boolean |
ultimatelyBelongsTo(Role owner) |
addResource, fromXML, get_resources, getDescription, getID, getNotes, getOrgDataSet, getResources, hashCode, hasResource, isPersisting, removeResource, save, set_resources, setDescription, setID, setNotes, setPersisting, toString
public Role()
public Role(java.lang.String role)
public Role(Element e)
public void setLabel(java.lang.String label)
setLabel
in class AbstractResourceAttribute
public java.lang.String getName()
getName
in class AbstractResourceAttribute
public void setName(java.lang.String role)
public Role getOwnerRole()
public void setOwnerRole(Role owner)
public boolean setOwnerRole(java.lang.String ownerRoleID)
public boolean belongsTo(Role owner)
public boolean ultimatelyBelongsTo(Role owner)
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_belongsToID()
public void set_belongsToID(java.lang.String belongsToID)
Copyright © 2004-2014 The YAWL Foundation.