@Test public void testFindAllPartnerships() throws DAOException{ SFRMPartnershipDSDAO dao = super.getTestingTarget(); List partnerships = dao.findAllPartnerships(); Assert.assertEquals("Number of partnership no[t match", 3, partnerships.size()); SFRMPartnershipDVO dvo = (SFRMPartnershipDVO) partnerships.get(0); Assert.assertEquals("Partnership Seq didn't matched", 8, dvo.getPartnershipSeq()); Assert.assertEquals("Partnership Id didn't matched", "test1", dvo.getPartnershipId()); Assert.assertEquals("Transport Endpoint didn't matched", "test1/corvus/httpd/sfrm/inbound", dvo.getPartnerEndpoint()); dvo = (SFRMPartnershipDVO) partnerships.get(1); Assert.assertEquals("Partnership Seq didn't matched", 9, dvo.getPartnershipSeq()); Assert.assertEquals("Partnership Id didn't matched", "test2", dvo.getPartnershipId()); Assert.assertEquals("Transport Endpoint didn't matched", "test2/corvus/httpd/sfrm/inbound", dvo.getPartnerEndpoint()); dvo = (SFRMPartnershipDVO) partnerships.get(2); Assert.assertEquals("Partnership Seq didn't matched", 10, dvo.getPartnershipSeq()); Assert.assertEquals("Partnership Id didn't matched", "test3", dvo.getPartnershipId()); Assert.assertEquals("Transport Endpoint didn't matched", "test3/corvus/httpd/sfrm/inbound", dvo.getPartnerEndpoint()); }
public List findAllPartnerships() throws DAOException{ return super.find("find_all_partnerships", null); }
SFRMPartnershipDSDAO extends DataSourceDAO implements
		SFRMPartnershipDAO { public List findAllPartnerships() throws DAOException{ return super.find("find_all_partnerships", null); } }
SFRMPartnershipDSDAO extends DataSourceDAO implements
		SFRMPartnershipDAO { public List findAllPartnerships() throws DAOException{ return super.find("find_all_partnerships", null); } SFRMPartnershipDSDAO(); }
SFRMPartnershipDSDAO extends DataSourceDAO implements
		SFRMPartnershipDAO { public List findAllPartnerships() throws DAOException{ return super.find("find_all_partnerships", null); } SFRMPartnershipDSDAO(); DVO createDVO(); SFRMPartnershipDVO findPartnershipBySeq(SFRMPartnershipDVO partnershipDVO); SFRMPartnershipDVO findPartnershipBySeq(int partnershipId); SFRMPartnershipDVO findPartnershipById(SFRMPartnershipDVO partnershipDVO); SFRMPartnershipDVO findPartnershipById(String partnershipId); List findAllPartnerships(); }
SFRMPartnershipDSDAO extends DataSourceDAO implements
		SFRMPartnershipDAO { public List findAllPartnerships() throws DAOException{ return super.find("find_all_partnerships", null); } SFRMPartnershipDSDAO(); DVO createDVO(); SFRMPartnershipDVO findPartnershipBySeq(SFRMPartnershipDVO partnershipDVO); SFRMPartnershipDVO findPartnershipBySeq(int partnershipId); SFRMPartnershipDVO findPartnershipById(SFRMPartnershipDVO partnershipDVO); SFRMPartnershipDVO findPartnershipById(String partnershipId); List findAllPartnerships();  }