public class SecondaryResources.SecResDataSet
extends java.lang.Object
Constructor and Description |
---|
SecResDataSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
addNonHumanCategory(NonHumanCategory category) |
boolean |
addNonHumanCategory(NonHumanCategory category,
java.lang.String subcat) |
boolean |
addNonHumanCategory(java.lang.String id) |
boolean |
addNonHumanCategory(java.lang.String id,
java.lang.String subcat) |
boolean |
addNonHumanCategoryUnchecked(java.lang.String id) |
boolean |
addNonHumanCategoryUnchecked(java.lang.String id,
java.lang.String subcat) |
void |
addNonHumanResource(NonHumanResource resource) |
void |
addNonHumanResource(java.lang.String id) |
void |
addNonHumanResourceUnchecked(java.lang.String id) |
void |
addParticipant(Participant p) |
void |
addParticipant(java.lang.String id) |
void |
addParticipantUnchecked(java.lang.String id) |
void |
addRole(Role role) |
void |
addRole(java.lang.String id) |
void |
addRoleUnchecked(java.lang.String id) |
boolean |
available(WorkItemRecord wir) |
java.util.List<java.lang.String> |
checkAvailability() |
void |
clear() |
SecondaryResources.SecResDataSet |
copy() |
protected void |
disengage(WorkItemRecord wir) |
protected void |
engage(WorkItemRecord wir) |
java.util.List<java.lang.String> |
getCategoryLabelList(java.lang.String id) |
java.util.Map<java.lang.String,org.yawlfoundation.yawl.resourcing.resource.SecondaryResources.CategoryStack> |
getNonHumanCategories() |
java.lang.String |
getNonHumanCategoryDisplayLabel(java.lang.String id) |
java.util.Set<NonHumanResource> |
getNonHumanResources() |
java.util.Set<Participant> |
getParticipants() |
int |
getResourcesCount() |
java.util.List<Role> |
getRoles() |
boolean |
hasResources() |
protected void |
parse(Element e,
Namespace nsYawl) |
boolean |
remove(java.lang.String id) |
protected java.util.List<AbstractResource> |
selectResources(WorkItemRecord wir) |
protected java.lang.String |
toXML() |
public void addParticipant(java.lang.String id)
public void addParticipant(Participant p)
public void addParticipantUnchecked(java.lang.String id)
public void addRole(java.lang.String id)
public void addRole(Role role)
public void addRoleUnchecked(java.lang.String id)
public void addNonHumanResource(java.lang.String id)
public void addNonHumanResource(NonHumanResource resource)
public void addNonHumanResourceUnchecked(java.lang.String id)
public boolean addNonHumanCategory(java.lang.String id)
public boolean addNonHumanCategory(NonHumanCategory category)
public boolean addNonHumanCategoryUnchecked(java.lang.String id)
public boolean addNonHumanCategory(java.lang.String id, java.lang.String subcat)
public boolean addNonHumanCategory(NonHumanCategory category, java.lang.String subcat)
public boolean addNonHumanCategoryUnchecked(java.lang.String id, java.lang.String subcat)
public boolean remove(java.lang.String id)
public java.util.Set<Participant> getParticipants()
public java.util.List<Role> getRoles()
public java.util.Set<NonHumanResource> getNonHumanResources()
public java.util.Map<java.lang.String,org.yawlfoundation.yawl.resourcing.resource.SecondaryResources.CategoryStack> getNonHumanCategories()
public SecondaryResources.SecResDataSet copy()
public boolean hasResources()
public int getResourcesCount()
public boolean available(WorkItemRecord wir)
public java.util.List<java.lang.String> checkAvailability()
public java.lang.String getNonHumanCategoryDisplayLabel(java.lang.String id)
public java.util.List<java.lang.String> getCategoryLabelList(java.lang.String id)
public void clear()
protected java.lang.String toXML()
protected void parse(Element e, Namespace nsYawl) throws ResourceParseException
ResourceParseException
protected void engage(WorkItemRecord wir)
protected void disengage(WorkItemRecord wir)
protected java.util.List<AbstractResource> selectResources(WorkItemRecord wir)
Copyright © 2004-2014 The YAWL Foundation.