@Override public void setElementOrderDetail(Element element, AOrderBoardDetail orderFurniture) { DimensionItem dimensionItem = element.getDimensionItem(); if (dimensionItem instanceof ElementDimensionItem) { ((ElementDimensionItem) dimensionItem).setFurniture(orderFurniture); } }
@Override public AOrderBoardDetail getElementOrderDetail(Element element) { DimensionItem dimensionItem = element.getDimensionItem(); if (dimensionItem instanceof ElementDimensionItem) { return ((ElementDimensionItem) dimensionItem).getFurniture(); } return null; }