Package no.ugland.utransprod.model

Examples of no.ugland.utransprod.model.OrdchgrLineVPK


    public OrdchgrHeadV getHead(Integer ordNo) {
        return ordNo != null ? ordchgrHeadVDAO.getObject(ordNo) : null;
    }

    public OrdchgrLineV getLine(Integer ordNo, Integer lnNo) {
        return ordchgrLineVDAO.getObject(new OrdchgrLineVPK(ordNo, lnNo));
    }
View Full Code Here


    final List<Integer> lnNos = new ArrayList<Integer>();
    lnNos.add(2);
    final List<OrdchgrLineV> ordlns = new ArrayList<OrdchgrLineV>();
    OrdchgrLineV ordchgrLineV = new OrdchgrLineV();
    ordchgrLineV.setOrdchgrLineVPK(new OrdchgrLineVPK(1, 2));
    ordchgrLineV.setLineStatus(10);
    ordlns.add(ordchgrLineV);
    when(ordchgrHeadVManager.getLines(1, lnNos)).thenReturn(ordlns);
    when(applicationParamManager.findByName("visma_out_dir")).thenReturn(
        "visma");
View Full Code Here

  @Test
  public void testWriteFile() throws Exception {
    final OrdchgrHeadV ordchgrHead = new OrdchgrHeadV();
    ordchgrHead.setOrdNo(1);
    final OrdchgrLineV ordchgrLine = new OrdchgrLineV();
    ordchgrLine.setOrdchgrLineVPK(new OrdchgrLineVPK(1, 10));
    ordchgrLine.setLineStatus(20);
    final List<OrdchgrLineV> lines = new ArrayList<OrdchgrLineV>();
    lines.add(ordchgrLine);

    VismaFileCreatorImpl vismaFileCreator = new VismaFileCreatorImpl(null,
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.model.OrdchgrLineVPK

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.