Package no.ugland.utransprod.service

Examples of no.ugland.utransprod.service.ITransportCostAddition


        BigDecimal additionValue = BigDecimal.valueOf(0);
        Map<ITransportCostAddition, BigDecimal> additionMap =
            new Hashtable<ITransportCostAddition, BigDecimal>();

        for (TransportCostAddition addition : additions) {
            ITransportCostAddition additionImpl = TransportCostAdditionImplFacory
                    .getTransportCostAdditionImpl(addition);
            additionValue = calculateTmpAddition(transportable, transportCost,
                    period, additionImpl, false);
            if (additionValue.intValue() != 0) {
                additionMap.put(additionImpl, additionValue);
View Full Code Here


            final Set<ITransportCostAddition> ignoreAddtions)
            throws ProTransException {
        Map<ITransportCostAddition, BigDecimal> maxAdditionMap =
            new Hashtable<ITransportCostAddition, BigDecimal>();
        for (TransportCostAddition addition : additions) {
            ITransportCostAddition additionImpl = TransportCostAdditionImplFacory
                    .getTransportCostAdditionImpl(addition);
            if (ignoreAddtions == null
                    || !ignoreAddtions.contains(additionImpl)) {
                BigDecimal tmpAdditionValue = calculateTmpAddition(
                        transportable, transportCost, period, additionImpl,
View Full Code Here

  }

  public static ITransportCostAddition getTransportCostAdditionImpl(
      final TransportCostAddition addition) throws ProTransException {
    ITransportCostAddition transportCostAdditionImpl = transportCostAdditionImplInstances
        .get(addition.getDescription());
    if (transportCostAdditionImpl == null) {
      transportCostAdditionImpl = createTransportCostAdditionImpl(
          addition.getDescription(), addition);
      transportCostAdditionImplInstances.put(addition.getDescription(),
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.service.ITransportCostAddition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.