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);
}
Aggregations