org.yawlfoundation.yawl.resourcing.calendar.utilisation
Class UtilisationResource

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.calendar.utilisation.UtilisationResource

public class UtilisationResource
extends Object

Author:
Michael Adams
Created/Last Date:
6/10/2010

Constructor Summary
UtilisationResource()
           
UtilisationResource(String id, String role, String capability, String category, String subcategory)
           
UtilisationResource(XNode node)
           
 
Method Summary
 boolean equals(Object o)
           
 void fromXNode(XNode node)
           
 String getCapability()
           
 String getCategory()
           
 String getID()
           
 String getRole()
           
 String getSubcategory()
           
 boolean hasError(StringWithMessage strMsg)
           
 boolean hasErrors()
           
 int hashCode()
           
 boolean hasIDOnly()
           
 void setCapability(String s)
           
 void setCategory(String s)
           
 void setID(String s)
           
 void setRole(String s)
           
 void setSubcategory(String s)
           
 String toXML()
           
 XNode toXNode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtilisationResource

public UtilisationResource()

UtilisationResource

public UtilisationResource(String id,
                           String role,
                           String capability,
                           String category,
                           String subcategory)

UtilisationResource

public UtilisationResource(XNode node)
Method Detail

getID

public String getID()

setID

public void setID(String s)

hasIDOnly

public boolean hasIDOnly()

getRole

public String getRole()

setRole

public void setRole(String s)

getCapability

public String getCapability()

setCapability

public void setCapability(String s)

getCategory

public String getCategory()

setCategory

public void setCategory(String s)

getSubcategory

public String getSubcategory()

setSubcategory

public void setSubcategory(String s)

hasErrors

public boolean hasErrors()

hasError

public boolean hasError(StringWithMessage strMsg)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toXML

public String toXML()

toXNode

public XNode toXNode()

fromXNode

public void fromXNode(XNode node)


Copyright © 2004-2012 The YAWL Foundation.