org.yawlfoundation.yawl.resourcing.resource.nonhuman
Class NonHumanSubCategory

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.resource.nonhuman.NonHumanSubCategory

public class NonHumanSubCategory
extends Object

Author:
Michael Adams
Created/Last Date:
26/11/2010

Constructor Summary
NonHumanSubCategory()
           
NonHumanSubCategory(String name)
           
NonHumanSubCategory(XNode node)
           
 
Method Summary
 boolean addResource(NonHumanResource resource)
           
 void fromXML(String xml)
           
 void fromXNode(XNode node)
           
 long getID()
           
 String getName()
           
 Set<NonHumanResource> getResources()
           
 boolean hasResource(NonHumanResource resourceToFind)
           
 boolean hasResources()
           
 boolean removeResource(NonHumanResource resource)
           
 void setID(long id)
           
 void setName(String name)
           
 void setResources(Set<NonHumanResource> resources)
           
 String toString()
           
 String toXML()
           
 XNode toXNode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NonHumanSubCategory

public NonHumanSubCategory()

NonHumanSubCategory

public NonHumanSubCategory(String name)

NonHumanSubCategory

public NonHumanSubCategory(XNode node)
Method Detail

getID

public long getID()

setID

public void setID(long id)

getName

public String getName()

setName

public void setName(String name)

getResources

public Set<NonHumanResource> getResources()

setResources

public void setResources(Set<NonHumanResource> resources)

addResource

public boolean addResource(NonHumanResource resource)

removeResource

public boolean removeResource(NonHumanResource resource)

hasResource

public boolean hasResource(NonHumanResource resourceToFind)

hasResources

public boolean hasResources()

toString

public String toString()
Overrides:
toString in class Object

toXNode

public XNode toXNode()

toXML

public String toXML()

fromXML

public void fromXML(String xml)

fromXNode

public void fromXNode(XNode node)


Copyright © 2004-2012 The YAWL Foundation.