org.openinvoice.ubl4j.text
Class QuantityConverter

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

public class QuantityConverter
extends Object

Since:
\$Date: 2012/11/17 23:00:40 $
Version:
\$Revision: 269823a876f3 $
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, BigDecimal numberOfHoursInDay)
           
 void convertFromDaysToHours(BigDecimal numberOfHoursInDay)
           
 void convertFromHoursToDays(BigDecimal numberOfHoursInDay)
           
 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,
                    BigDecimal numberOfHoursInDay)

convertFromHoursToDays

public void convertFromHoursToDays(BigDecimal numberOfHoursInDay)

convertFromDaysToHours

public void convertFromDaysToHours(BigDecimal numberOfHoursInDay)


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