org.yawlfoundation.yawl.resourcing.resource
Class Capability

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.resource.AbstractResourceAttribute
      extended by org.yawlfoundation.yawl.resourcing.resource.Capability
All Implemented Interfaces:
Comparable

public class Capability
extends AbstractResourceAttribute
implements Comparable

Represents a capability that may be held by a resource.

Author:
Michael Adams v0.1, 03/08/2007

Field Summary
 
Fields inherited from class org.yawlfoundation.yawl.resourcing.resource.AbstractResourceAttribute
_description, _id, _notes, _persisting, _resources
 
Constructor Summary
Capability()
           
Capability(org.jdom.Element e)
           
Capability(String capability, String description)
           
Capability(String capability, String description, boolean persisting)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object o)
           
 String getCapability()
           
 String getName()
           
 void reconstitute(org.jdom.Element e)
           
 void setCapability(String capability)
           
 String toXML()
           
 
Methods inherited from class org.yawlfoundation.yawl.resourcing.resource.AbstractResourceAttribute
addResource, fromXML, get_resources, getDescription, getID, getNotes, getOrgDataSet, getResources, hashCode, hasResource, isPersisting, removeResource, save, set_resources, setDescription, setID, setNotes, setPersisting, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Capability

public Capability()

Capability

public Capability(String capability,
                  String description)

Capability

public Capability(String capability,
                  String description,
                  boolean persisting)

Capability

public Capability(org.jdom.Element e)
Method Detail

getCapability

public String getCapability()

setCapability

public void setCapability(String capability)

equals

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

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

getName

public String getName()
Specified by:
getName in class AbstractResourceAttribute

toXML

public String toXML()

reconstitute

public void reconstitute(org.jdom.Element e)
Overrides:
reconstitute in class AbstractResourceAttribute


Copyright © 2004-2012 The YAWL Foundation.