public class NonHumanSubCategory
extends java.lang.Object
Constructor and Description |
---|
NonHumanSubCategory() |
NonHumanSubCategory(java.lang.String name) |
NonHumanSubCategory(XNode node) |
Modifier and Type | Method and Description |
---|---|
boolean |
addResource(NonHumanResource resource) |
void |
fromXML(java.lang.String xml) |
void |
fromXNode(XNode node) |
long |
getID() |
java.lang.String |
getName() |
java.util.Set<NonHumanResource> |
getResources() |
boolean |
hasResource(NonHumanResource resourceToFind) |
boolean |
hasResources() |
boolean |
removeResource(NonHumanResource resource) |
void |
setID(long id) |
void |
setName(java.lang.String name) |
void |
setResources(java.util.Set<NonHumanResource> resources) |
java.lang.String |
toString() |
java.lang.String |
toXML() |
XNode |
toXNode() |
public NonHumanSubCategory()
public NonHumanSubCategory(java.lang.String name)
public NonHumanSubCategory(XNode node)
public long getID()
public void setID(long id)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.Set<NonHumanResource> getResources()
public void setResources(java.util.Set<NonHumanResource> resources)
public boolean addResource(NonHumanResource resource)
public boolean removeResource(NonHumanResource resource)
public boolean hasResource(NonHumanResource resourceToFind)
public boolean hasResources()
public java.lang.String toString()
toString
in class java.lang.Object
public XNode toXNode()
public java.lang.String toXML()
public void fromXML(java.lang.String xml)
public void fromXNode(XNode node)
Copyright © 2004-2014 The YAWL Foundation.