throw new ValueNotAllowedException(new ErrorMessage("errors.node.NoName")); if (node.getDescription() == null || node.getDescription().length() == 0 || node.getDescription().length() > 255) { throw new ValueNotAllowedException(new ErrorMessage("errors.node.NoDescription"));
throw new ValueNotAllowedException(new ErrorMessage("errors.node.NoName")); if (node.getDescription() == null || node.getDescription().length() == 0 || node.getDescription().length() > 255) { throw new ValueNotAllowedException(new ErrorMessage("errors.node.NoDescription"));
public UDDINode(Node node) { super(); name = node.getName(); clientName = node.getClientName(); description = node.getDescription(); custodyTransferUrl = node.getCustodyTransferUrl(); inquiryUrl = node.getInquiryUrl(); //TODO need juddi schema updat inquiryRESTUrl = node.getInquiryRESTUrl() publishUrl = node.getPublishUrl(); securityUrl = node.getSecurityUrl(); subscriptionUrl = node.getSubscriptionUrl(); subscriptionListenerUrl = node.getSubscriptionListenerUrl(); replicationUrl=node.getReplicationUrl(); juddiApiUrl = node.getJuddiApiUrl(); proxyTransport = node.getProxyTransport(); factoryInitial = node.getFactoryInitial(); factoryURLPkgs = node.getFactoryURLPkgs(); factoryNamingProvider = node.getFactoryNamingProvider(); }