org.yawlfoundation.yawl.cost.data
Class CostType

java.lang.Object
  extended by org.yawlfoundation.yawl.cost.data.CostType
All Implemented Interfaces:
XNodeIO

public class CostType
extends Object
implements XNodeIO

A classification of cost drawers. Examples include labour, rent, electricity.

Author:
Michael Adams
Created/Last Date:
3/10/11

Constructor Summary
CostType()
           
CostType(String unit)
           
CostType(XNode node)
           
 
Method Summary
 void fromXML(String xml)
           
 void fromXNode(XNode node)
           
 long getCostTypeID()
           
 String getType()
           
 XNodeIO newInstance(XNode node)
           
 void setCostTypeID(long id)
           
 void setType(String u)
           
 String toXML()
           
 XNode toXNode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CostType

public CostType()

CostType

public CostType(String unit)

CostType

public CostType(XNode node)
Method Detail

getCostTypeID

public long getCostTypeID()

setCostTypeID

public void setCostTypeID(long id)

getType

public String getType()

setType

public void setType(String u)

toXNode

public XNode toXNode()
Specified by:
toXNode in interface XNodeIO

toXML

public String toXML()

fromXNode

public void fromXNode(XNode node)
Specified by:
fromXNode in interface XNodeIO

fromXML

public void fromXML(String xml)

newInstance

public XNodeIO newInstance(XNode node)
Specified by:
newInstance in interface XNodeIO


Copyright © 2004-2012 The YAWL Foundation.