@Test public void testFindPartnershipById() throws DAOException{ SFRMPartnershipDSDAO dao = super.getTestingTarget(); SFRMPartnershipDVO dvo = (SFRMPartnershipDVO)dao.findPartnershipById("test1"); 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()); dao = super.getTestingTarget(); dvo = (SFRMPartnershipDVO)dao.findPartnershipById("test2"); 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()); dao = super.getTestingTarget(); dvo = (SFRMPartnershipDVO)dao.findPartnershipById("test3"); 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 SFRMPartnershipDVO findPartnershipById (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipById(partnershipDVO.getPartnershipId()); }
SFRMPartnershipDSDAO extends DataSourceDAO implements
		SFRMPartnershipDAO { public SFRMPartnershipDVO findPartnershipById (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipById(partnershipDVO.getPartnershipId()); } }
SFRMPartnershipDSDAO extends DataSourceDAO implements
		SFRMPartnershipDAO { public SFRMPartnershipDVO findPartnershipById (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipById(partnershipDVO.getPartnershipId()); } SFRMPartnershipDSDAO(); }
SFRMPartnershipDSDAO extends DataSourceDAO implements
		SFRMPartnershipDAO { public SFRMPartnershipDVO findPartnershipById (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipById(partnershipDVO.getPartnershipId()); } 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 SFRMPartnershipDVO findPartnershipById (SFRMPartnershipDVO partnershipDVO) throws DAOException{ if (partnershipDVO == null) return null; return this.findPartnershipById(partnershipDVO.getPartnershipId()); } SFRMPartnershipDSDAO(); DVO createDVO(); SFRMPartnershipDVO findPartnershipBySeq(SFRMPartnershipDVO partnershipDVO); SFRMPartnershipDVO findPartnershipBySeq(int partnershipId); SFRMPartnershipDVO findPartnershipById(SFRMPartnershipDVO partnershipDVO); SFRMPartnershipDVO findPartnershipById(String partnershipId); List findAllPartnerships();  }