/** * Performs a deep copy of {@link ServiceLinkInfo} object. * * @param destServiceLinkInfo ServiceLinkInfo object to copy this object into. It cannot be null. * * @return UPA return value indicating success or failure of copy operation. */ public int copy(ServiceLinkInfo destServiceLinkInfo) { assert (destServiceLinkInfo != null) : "destServiceLinkInfo can not be null"; destServiceLinkInfo.clear(); destServiceLinkInfo.action(action()); int ret = CodecReturnCodes.SUCCESS; for (ServiceLink serviceLink : linkList()) { ServiceLink serviceLink2 = new ServiceLink(); ret = serviceLink.copy(serviceLink2); if (ret != CodecReturnCodes.SUCCESS) return ret; destServiceLinkInfo.linkList().add(serviceLink2); } return ret; }
case Directory.ServiceFilterIds.SEQ_MCAST: seqMcast.action(filterEntry.action()); applyHasLink(); if (filterEntry.action() != FilterEntryActions.CLEAR)