public Element getPartnerEPR() { entering("PartnerLinkDAOImpl.getPartnerEPR"); if (_partnerEPR != null) return _partnerEPR; if (_self.getPartnerEPR() == null) return null; try { return _partnerEPR = DOMUtils.stringToDOM(_self.getPartnerEPR()); } catch (Exception e) { throw new RuntimeException(e); } }
public void setMyEPR(Element val) { entering("PartnerLinkDAOImpl.setMyEPR"); _myEPR = val; if (val == null) { _self.setMyEPR(null); } else { _self.setMyEPR(DOMUtils.domToBytes(val)); } getSession().update(_self); }
public PartnerLinkDAO createPartnerLink( int modelId, String pLinkName, String myRole, String partnerRole) { entering("ScopeDaoImpl.createPartnerLink"); HPartnerLink epr = new HPartnerLink(); epr.setModelId(modelId); epr.setLinkName(pLinkName); epr.setMyRole(myRole); epr.setPartnerRole(partnerRole); epr.setScope(_scope); // _scope.addPartnerLink(epr); getSession().save(epr); PartnerLinkDAOImpl eprDao = new PartnerLinkDAOImpl(_sm, epr); return eprDao; }
public void setMyRoleServiceName(QName svcName) { entering("PartnerLinkDAOImpl.setMyRoleServiceName"); _self.setServiceName(svcName == null ? null : svcName.toString()); update(); }
public QName getMyRoleServiceName() { return _self.getServiceName() == null ? null : QName.valueOf(_self.getServiceName()); }
public int getPartnerLinkModelId() { return _self.getModelId(); }
public String getMyRoleName() { return _self.getMyRole(); }
public String getPartnerRoleName() { return _self.getPartnerRole(); }
public String getPartnerLinkName() { return _self.getLinkName(); }
public void setMySessionId(String sessionId) { entering("PartnerLinkDAOImpl.setMySessionId"); _self.setMySessionId(sessionId); }
public String getPartnerSessionId() { return _self.getPartnerSessionId(); }
public String getMySessionId() { return _self.getMySessionId(); }