Examples of addMetaData()


Examples of org.dspace.content.Item.addMetadata()

                        // "standard" relationpreference management
                        //
                        // cam.notifyReject(item.getID(), schema, element,
                        // qualifier, rpKey);
                    }
                    item.addMetadata(md.schema, md.element, md.qualifier,
                            md.language, md.value, md.authority, md.confidence);

                }
            }
            item.update();
View Full Code Here

Examples of org.dspace.content.Item.addMetadata()

                        {
                            // low confidence value
                            md.confidence = Choices.CF_ACCEPTED;
                        }
                    }
                    item.addMetadata(md.schema, md.element, md.qualifier,
                            md.language, md.value, md.authority, md.confidence);
                }
                item.update();
            }
            context.commit();
View Full Code Here

Examples of org.dspace.content.Item.addMetadata()

                            val.authority = ResearcherPageUtils
                                    .getPersistentIdentifier(rp);
                            val.confidence = Choices.CF_ACCEPTED;
                            found = true;
                        }
                        item.addMetadata(schema, element, qualifier,
                                val.language, val.value, val.authority,
                                val.confidence);
                    }
                }
                if (found)
View Full Code Here

Examples of org.eclipse.aether.deployment.DeployRequest.addMetadata()

        String versionKey = artifact.getGroupId() + ':' + artifact.getArtifactId();
        String snapshotKey = null;
        if ( artifact.isSnapshot() )
        {
            snapshotKey = versionKey + ':' + artifact.getBaseVersion();
            request.addMetadata( relatedMetadata.get( snapshotKey ) );
        }
        request.addMetadata( relatedMetadata.get( versionKey ) );

        for ( ArtifactMetadata metadata : artifact.getMetadataList() )
        {
View Full Code Here

Examples of org.eclipse.aether.installation.InstallRequest.addMetadata()

            {
                // eaten, handled by repo system
            }
            else
            {
                request.addMetadata( new MetadataBridge( metadata ) );
            }
        }

        try
        {
View Full Code Here

Examples of org.glassfish.hk2.utilities.DescriptorImpl.addMetadata()

                   
                    if (gbad.getName() != null) {
                        generatedDescriptor.setName(gbad.getName());
                    }
                   
                    generatedDescriptor.addMetadata(METHOD_ACTUAL, implName);
                    generatedDescriptor.addMetadata(METHOD_NAME, decorateData.getMethodName());
                    generatedDescriptor.addMetadata(PARENT_CONFIGURED, decorateData.getTargetType());
                   
                    if (verbose) {
                        System.out.println("Generated Descriptor for class-level GenerateServiceFromMethod annotation: " +
View Full Code Here

Examples of org.hornetq.api.core.client.ClientSession.addMetaData()

                                   ra.getTransactionBatchSize(),
                                   isDeliveryTransacted,
                                   spec.isUseLocalTx(),
                                   spec.getTransactionTimeout());

         result.addMetaData("resource-adapter", "inbound");
         result.addMetaData("jms-session", "");
         if (spec.getClientID() != null)
         {
            result.addMetaData("jms-client-id", spec.getClientID());
         }
View Full Code Here

Examples of org.hornetq.api.core.client.ClientSession.addMetaData()

                                   isDeliveryTransacted,
                                   spec.isUseLocalTx(),
                                   spec.getTransactionTimeout());

         result.addMetaData("resource-adapter", "inbound");
         result.addMetaData("jms-session", "");
         if (spec.getClientID() != null)
         {
            result.addMetaData("jms-client-id", spec.getClientID());
         }
View Full Code Here

Examples of org.hornetq.api.core.client.ClientSession.addMetaData()

         result.addMetaData("resource-adapter", "inbound");
         result.addMetaData("jms-session", "");
         if (spec.getClientID() != null)
         {
            result.addMetaData("jms-client-id", spec.getClientID());
         }

         HornetQActivation.log.debug("Using queue connection " + result);

         return result;
View Full Code Here

Examples of org.jboss.aop.metadata.SimpleMetaData.addMetaData()

   {
      ConnectionManager cm = new TestConnectionManager();
      ManagedConnectionFactory mcf = new TestManagedConnectionFactory();
      SimpleMetaData metadata = new SimpleMetaData();
     
      metadata.addMetaData(ConnectionFactoryInterceptor.CONNECTION_FACTORY, ConnectionFactoryInterceptor.CONNECTION_MANAGER, cm);
      metadata.addMetaData(ConnectionFactoryInterceptor.CONNECTION_MANAGER, ConnectionFactoryInterceptor.MANAGED_CONNECTION_FACTORY, mcf);
      DataSource ds = (DataSource) assertCreateHollowProxy(new Class[] { DataSource.class }, metadata, DataSource.class);
      Connection c = ds.getConnection();
      assertNotNull(c);
      assertTrue(c instanceof TestConnection);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.