Examples of addMetaData()


Examples of org.sonatype.aether.deployment.DeployResult.addMetadata()

                if ( upload.getException() != null )
                {
                    throw new DeploymentException( "Failed to deploy metadata: " + upload.getException().getMessage(),
                                                   upload.getException() );
                }
                result.addMetadata( upload.getMetadata() );
            }
        }
        finally
        {
            connector.close();
View Full Code Here

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

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

        try
        {
View Full Code Here

Examples of org.sonatype.aether.installation.InstallResult.addMetadata()

        for ( Metadata metadata : metadatas )
        {
            install( session, trace, metadata );
            processedMetadata.put( metadata, null );
            result.addMetadata( metadata );
        }

        for ( int i = 0; i < artifacts.size(); i++ )
        {
            Artifact artifact = artifacts.get( i );
View Full Code Here

Examples of rocket.generator.rebind.method.NewMethod.addMetaData()

      setterValueParameter.setType(field.getType());

      final Type fieldType = field.getType();

      if (fieldType.equals(context.getLong())) {
        setter.addMetaData("com.google.gwt.core.client.UnsafeNativeLong", "");
      }

      context.debug("Created setter for field " + field + " setter method " + setter);

      // simple type ?
View Full Code Here

Examples of rocket.generator.rebind.type.NewConcreteType.addMetaData()

    newConcreteType.setSuperType(objectReaderSuperType);
    context.debug("extends " + objectReaderSuperType);

    // add an annotation that marks the type being handled by this
    // ObjectReader
    newConcreteType.addMetaData(SerializationConstants.SERIALIZABLE_TYPE, type.getName());

    // create a public no arguments constructor.
    final NewConstructor constructor = newConcreteType.newConstructor();
    constructor.setBody(EmptyCodeBlock.INSTANCE);
    constructor.setVisibility(Visibility.PUBLIC);
View Full Code Here

Examples of rocket.generator.rebind.type.NewNestedType.addMetaData()

    factoryBean.setNestedName(this.escapeBeanIdToBeClassNameSafe(beanName) + Constants.FACTORY_BEAN_SUFFIX);
    factoryBean.setSuperType(superType);
    factoryBean.setVisibility(Visibility.PRIVATE);

    // add an annotation that declares the actual bean type.
    factoryBean.addMetaData(Constants.FACTORY_BEAN_OBJECT_TYPE, bean.getType().getName());

    bean.setFactoryBean(factoryBean);
    context.debug("FactoryBean: " + factoryBean.getName());

    this.addBean(bean);
View Full Code Here

Examples of thredds.cataloggen.DatasetEnhancer1.addMetadata()

    // Add metadata to all datasets.
    for ( Iterator it = this.getDatasetEnhancerList().iterator(); it.hasNext(); )
    {
      DatasetEnhancer1 dsE = (DatasetEnhancer1) it.next();
      dsE.addMetadata( topDs);
    }

    // Name all datasets.
    logger.debug( "fullExpand(): naming the datasets.");
    this.nameDatasets( (InvDatasetImpl) topDs );
View Full Code Here

Examples of ugh.dl.DocStruct.addMetadata()

     */
    DocStruct structBand = inTopStruct.getAllChildren().get(0);
    if (structBand != null) {

      try {
        structBand.addMetadata(mdVerlag);
        structBand.addMetadata(mdOrt);
        structBand.addMetadata(mdPPNBand);
        structBand.addMetadata(mdSorting);
      } catch (MetadataTypeNotAllowedException e) {

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.