org.openinvoice.ubl4j.util
Class UBL4JConfigurationBeanBuilder

java.lang.Object
  extended by org.openinvoice.ubl4j.util.UBL4JConfigurationBeanBuilder

public class UBL4JConfigurationBeanBuilder
extends Object

Creates an in instance of UBL4JConfigurationBean based on the content of ubl4j.properties file.

Since:
\$Date: 2012/11/17 23:00:40 $
Version:
\$Revision: 269823a876f3 $
Author:
\$Author: javad $
See Also:
ubl4j.properties

Field Summary
static String DEFAULT_ENCODING
           
static String FIELD_SEP
           
static String LINE_SEP
           
static String REC_SEP
           
static String UBL4J_CFG_FILE_NAME
           
 
Method Summary
static String getDefaultCountryCode()
           
static String getDefaultLanguageCode()
           
static Locale getDefaultLocale()
           
static WorkTimeUnit getDisplayWorkTimeUnit()
           
static UBL4JConfigurationBean getInstance()
           
static String getInvoiceTermsFileName()
           
static List getInvoiceTypeConstraintClassNames()
           
static List getInvoiceTypeProcessUnitClassNames()
           
static List getOrderTypeConstraintClassNames()
           
static List getOrderTypeProcessUnitClassNames()
           
static WorkTimeUnit getPersistenceWorkTimeUnit()
           
static BigDecimal getWorkHourPerDay()
           
static boolean isIncludeQuantityUnitInInvoiceLine()
           
static boolean isIncludeVatRateInInvoiceLine()
           
static boolean isWorkTimeUnitConversionEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ENCODING

public static final String DEFAULT_ENCODING
See Also:
Constant Field Values

LINE_SEP

public static final String LINE_SEP

UBL4J_CFG_FILE_NAME

public static final String UBL4J_CFG_FILE_NAME
See Also:
Constant Field Values

REC_SEP

public static final String REC_SEP

FIELD_SEP

public static final String FIELD_SEP
See Also:
Constant Field Values
Method Detail

getInstance

public static UBL4JConfigurationBean getInstance()

getDefaultLocale

public static Locale getDefaultLocale()

getDefaultCountryCode

public static String getDefaultCountryCode()

getDefaultLanguageCode

public static String getDefaultLanguageCode()

getInvoiceTermsFileName

public static String getInvoiceTermsFileName()

getWorkHourPerDay

public static BigDecimal getWorkHourPerDay()

isWorkTimeUnitConversionEnabled

public static boolean isWorkTimeUnitConversionEnabled()

getPersistenceWorkTimeUnit

public static WorkTimeUnit getPersistenceWorkTimeUnit()

getDisplayWorkTimeUnit

public static WorkTimeUnit getDisplayWorkTimeUnit()

isIncludeQuantityUnitInInvoiceLine

public static boolean isIncludeQuantityUnitInInvoiceLine()

isIncludeVatRateInInvoiceLine

public static boolean isIncludeVatRateInInvoiceLine()

getInvoiceTypeProcessUnitClassNames

public static List getInvoiceTypeProcessUnitClassNames()

getInvoiceTypeConstraintClassNames

public static List getInvoiceTypeConstraintClassNames()

getOrderTypeProcessUnitClassNames

public static List getOrderTypeProcessUnitClassNames()

getOrderTypeConstraintClassNames

public static List getOrderTypeConstraintClassNames()


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