Examples of OrderLineAttribute


Examples of no.ugland.utransprod.model.OrderLineAttribute

    return wallHeight;
  }

  private void assignWallHeight() {
    if (getConstructionTypeOrderLine() != null) {
      OrderLineAttribute attribute = getConstructionTypeOrderLine()
          .getAttributeByName("Veggh�yde");
      if (attribute != null) {

        wallHeight = CraningValue.with(Util.convertStringToBigDecimal(attribute
            .getAttributeNumberValue())).build();
      }
    }
  }
View Full Code Here

Examples of no.ugland.utransprod.model.OrderLineAttribute

  }

  private void assignLongWalls() {
    if (getConstructionTypeOrderLine() != null) {
      OrderLineAttribute attribute = getConstructionTypeOrderLine()
          .getAttributeByName("Lange vegger");
      if (attribute != null) {

        longWalls = attribute.getAttributeValueBool();
      }
    }
  }
View Full Code Here

Examples of no.ugland.utransprod.model.OrderLineAttribute

  }

  private void assignDegrees() {
    if (getTrossOrderLine() != null) {
      OrderLineAttribute attribute = getTrossOrderLine()
          .getAttributeByName("Vinkel");
      if (attribute != null) {

        degrees = CraningValue.with(
            BigDecimal.valueOf(Double.valueOf(attribute
                .getAttributeNumberValue()))).build();
      }
    }
  }
View Full Code Here

Examples of no.ugland.utransprod.model.OrderLineAttribute

    return width;
  }

  private void assignWidth() {
    if (getTrossOrderLine() != null) {
      OrderLineAttribute attribute = getTrossOrderLine()
          .getAttributeByName("Bredde");
      if (attribute != null) {

        width = CraningValue.with(BigDecimal.valueOf(Double.valueOf(attribute
            .getAttributeNumberValue()))).build();
      }
    }
  }
View Full Code Here

Examples of no.ugland.utransprod.model.OrderLineAttribute

    return length;
  }

  private void assignLength() {
    if (getConstructionTypeOrderLine() != null) {
      OrderLineAttribute attribute = getConstructionTypeOrderLine()
          .getAttributeByName("Lengde");
      if (attribute != null) {

        length = CraningValue.with(BigDecimal.valueOf(Double.valueOf(attribute
            .getAttributeNumberValue()))).build();
      }
    }
  }
View Full Code Here

Examples of no.ugland.utransprod.model.OrderLineAttribute

        if (attributes != null) {
          orderLineAttributes = new HashSet<OrderLineAttribute>();

          for (ArticleTypeAttribute attribute : attributes) {
            orderLineAttributes.add(new OrderLineAttribute(null,
                orderLine, null, null, attribute, null, null,
                attribute.getAttribute().getName()));
          }

          openAttributeView(orderLine, orderLineAttributes);
View Full Code Here

Examples of no.ugland.utransprod.model.OrderLineAttribute

  private void createNewOrderLineAttribute(OrderLine orderLineMain,
      Set<OrderLineAttribute> orderLineAttributes,
      ArticleTypeAttribute articleTypeAttribute) {
    if (!articleTypeAttribute.getIsInactive()) {
      orderLineAttributes.add(new OrderLineAttribute(null, orderLineMain,
          null, null, articleTypeAttribute, null, null,
          articleTypeAttribute.getAttribute().getName()));
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.