org.openinvoice.ubl4j.text
Class QuantityConverter

java.lang.Object
  extended by org.openinvoice.ubl4j.text.QuantityConverter

public class QuantityConverter
extends Object

Since:
\$Date: 2011/08/11 20:57:32 $
Version:
\$Revision: 6017cf649e20 $
Author:
\$Author: javad $

Constructor Summary
QuantityConverter(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.InvoicedQuantityType invoicedQuantityType, oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.PriceType priceType)
           
 
Method Summary
 void convert(WorkTimeUnit targetWorkTimeUnit)
           
 void convertFromDaysToHours()
           
 void convertFromHoursToDays()
           
 oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.InvoicedQuantityType getInvoicedQuantityType()
           
 oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.PriceType getPriceType()
           
 void setInvoicedQuantityType(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.InvoicedQuantityType invoicedQuantityType)
           
 void setPriceType(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.PriceType priceType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuantityConverter

public QuantityConverter(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.InvoicedQuantityType invoicedQuantityType,
                         oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.PriceType priceType)
Method Detail

getInvoicedQuantityType

public oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.InvoicedQuantityType getInvoicedQuantityType()

setInvoicedQuantityType

public void setInvoicedQuantityType(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.InvoicedQuantityType invoicedQuantityType)

getPriceType

public oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.PriceType getPriceType()

setPriceType

public void setPriceType(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.PriceType priceType)

convert

public void convert(WorkTimeUnit targetWorkTimeUnit)

convertFromHoursToDays

public void convertFromHoursToDays()

convertFromDaysToHours

public void convertFromDaysToHours()


Copyright © 2011-2012 Plain Source. All Rights Reserved.