Search in sources :

Example 1 with SchedBlockHolder

use of alma.demo.SchedBlockHolder in project ACS by ACS-Community.

the class XmlComponentClient method testXmlInOutMethod.

public void testXmlInOutMethod() {
    ObsProposal obsProp = m_xmlCompJ.createObsProposal();
    assertNotNull(obsProp);
    SchedBlockHolder sbh = new SchedBlockHolder();
    m_xmlCompJ.xmlInOutMethod(obsProp, sbh);
    SchedBlock schedBlock = sbh.value;
    assertNotNull(schedBlock);
    EntityT ent = schedBlock.getSchedBlockEntity();
    assertNotNull(ent);
    String id = ent.getEntityId();
    assertNotNull(id);
    System.out.println("received out-param SchedBlock with id " + id);
}
Also used : EntityT(alma.entities.commonentity.EntityT) ObsProposal(alma.xmljbind.test.obsproposal.ObsProposal) SchedBlock(alma.xmljbind.test.schedblock.SchedBlock) SchedBlockHolder(alma.demo.SchedBlockHolder)

Aggregations

SchedBlockHolder (alma.demo.SchedBlockHolder)1 EntityT (alma.entities.commonentity.EntityT)1 ObsProposal (alma.xmljbind.test.obsproposal.ObsProposal)1 SchedBlock (alma.xmljbind.test.schedblock.SchedBlock)1