public class NonHumanResource extends AbstractResource implements java.lang.Comparable, java.lang.Cloneable
AbstractResource.BlockType
_blockedDuration, _blockType, _description, _isAvailable, _notes, _resourceID
Constructor and Description |
---|
NonHumanResource() |
NonHumanResource(Element e) |
NonHumanResource(java.lang.String id) |
NonHumanResource(java.lang.String name,
NonHumanCategory category,
java.lang.String subCategoryName) |
Modifier and Type | Method and Description |
---|---|
void |
clearCategory() |
NonHumanResource |
clone() |
int |
compareTo(java.lang.Object o) |
void |
detachSubCategory() |
void |
fromXML(Element e) |
NonHumanCategory |
getCategory() |
java.lang.String |
getName() |
NonHumanSubCategory |
getSubCategory() |
java.lang.String |
getSubCategoryName() |
boolean |
hasCategory(java.lang.String category,
java.lang.String subCategory) |
void |
merge(NonHumanResource resource) |
void |
setCategory(NonHumanCategory newCategory) |
void |
setName(java.lang.String name) |
void |
setSubCategory(java.lang.String subCategory) |
java.lang.String |
toXML() |
equals, getBlockedDuration, getBlockType, getDescription, getID, getNotes, hashCode, isAvailable, isAvailable, merge, setBlockedDuration, setBlockedDuration, setBlockType, setDescription, setID, setNotes, toString
public NonHumanResource()
public NonHumanResource(java.lang.String id)
public NonHumanResource(java.lang.String name, NonHumanCategory category, java.lang.String subCategoryName)
public NonHumanResource(Element e)
public java.lang.String getName()
getName
in class AbstractResource
public void setName(java.lang.String name)
public NonHumanCategory getCategory()
public void setCategory(NonHumanCategory newCategory)
public void clearCategory()
public NonHumanSubCategory getSubCategory()
public java.lang.String getSubCategoryName()
public void setSubCategory(java.lang.String subCategory)
public void detachSubCategory()
public boolean hasCategory(java.lang.String category, java.lang.String subCategory)
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public NonHumanResource clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractResource
java.lang.CloneNotSupportedException
public void merge(NonHumanResource resource)
public java.lang.String toXML()
public void fromXML(Element e)
Copyright © 2004-2014 The YAWL Foundation.