org.deckfour.xes.extension.std.cost
Class XCostAmount

java.lang.Object
  extended by org.deckfour.xes.extension.std.XAbstractNestedAttributeSupport<Double>
      extended by org.deckfour.xes.extension.std.cost.XCostAmount

public class XCostAmount
extends XAbstractNestedAttributeSupport<Double>

Author:
Eric Verbeek (h.m.w.verbeek@tue.nl)

Method Summary
 void assignValue(XAttribute attribute, Double value)
          Abstract method to assign a value to an element.
 Double extractValue(XAttribute attribute)
          Abstract method to extract a value from an element.
static XCostAmount instance()
           
 
Methods inherited from class org.deckfour.xes.extension.std.XAbstractNestedAttributeSupport
assignNestedValues, assignValues, extractNestedValues, extractValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static XCostAmount instance()

extractValue

public Double extractValue(XAttribute attribute)
Description copied from class: XAbstractNestedAttributeSupport
Abstract method to extract a value from an element.

Specified by:
extractValue in class XAbstractNestedAttributeSupport<Double>
Parameters:
attribute - The element to extract the value from.
Returns:
The extracted value.

assignValue

public void assignValue(XAttribute attribute,
                        Double value)
Description copied from class: XAbstractNestedAttributeSupport
Abstract method to assign a value to an element.

Specified by:
assignValue in class XAbstractNestedAttributeSupport<Double>
Parameters:
attribute - The element to assign the value to.
value - The value to be assigned.