Examples of UpdateType


Examples of axis.com.ibm.www.xmlns.stdwip.web_services.WS_ResourceProperties.UpdateType

      block_size_ele.addTextNode( bsValue );
      String nobValue = "55";
      num_blocks_ele.addTextNode( nobValue );
      manu_ele.addTextNode( "Another XYZ Company" );

      set_components[0]    = new UpdateType(  );
      set_components[1]    = new UpdateType(  );
      set_components[2]    = new UpdateType(  );
      set_components[3]    = new DeleteType(  );
      ( (UpdateType) set_components[0] ).set_any( new MessageElement[]
                                                  {
                                                     block_size_ele
                                                  } );
View Full Code Here

Examples of axis.com.ibm.www.xmlns.stdwip.web_services.WS_ResourceProperties.UpdateType

      UpdateType[]           set_components = new UpdateType[1];
      MessageElement         bsElem         =
         new MessageElement( ExampleConstants.RESOURCE_PROP_QNAME_BLOCK_SIZE );
      final String           bsValue = "7777";
      bsElem.addTextNode( bsValue );
      set_components[0] = new UpdateType(  );
      set_components[0].set_any( new MessageElement[]
                                 {
                                    bsElem
                                 } );
      request.setSetRequestComponent( set_components );
View Full Code Here

Examples of axis.com.ibm.www.xmlns.stdwip.web_services.WS_ResourceProperties.UpdateType

      UpdateType[]           setComponents      = new UpdateType[1];
      MessageElement         activeTimePropElem =
         new MessageElement( ExampleConstants.RESOURCE_PROP_QNAME_ACTIVE_TIME );
      final String           activeTimeValue = "P7M2DT18H1M32S";
      activeTimePropElem.addTextNode( activeTimeValue );
      setComponents[0] = new UpdateType(  );
      setComponents[0].set_any( new MessageElement[]
                                {
                                   activeTimePropElem
                                } );
      request.setSetRequestComponent( setComponents );
View Full Code Here

Examples of net.opengis.wfs20.UpdateType

        TransactionType t = (TransactionType) parse();
        assertNotNull(t);
       
        assertEquals(1, t.getAbstractTransactionAction().size());
       
        UpdateType u = (UpdateType) t.getAbstractTransactionAction().get(0);
        assertEquals(1, u.getProperty().size());
       
        PropertyType p = u.getProperty().get(0);
        assertEquals("population", p.getValueReference().getValue().getLocalPart());
        assertEquals("4070000", p.getValue());
       
        Id id = (Id) u.getFilter();
        assertNotNull(id);
        assertTrue(id.getIDs().contains("BuiltUpA_1M.10131"));
    }
View Full Code Here

Examples of org.fluxtream.core.connectors.updaters.UpdateInfo.UpdateType

        getUpdateWorkerTask(apiKey, objectTypes);
        // if forcing an update (sync now), we actually want to flush the update requests
        // that have stacked up in the queue
        if (force)
            flushUpdateWorkerTasks(apiKey, objectTypes, historyUpdate);
        UpdateType updateType = isHistoryUpdateCompleted(apiKey, objectTypes)
                ? UpdateType.INCREMENTAL_UPDATE
                : UpdateType.INITIAL_HISTORY_UPDATE;
        scheduleObjectTypeUpdate(apiKey, objectTypes, scheduleResults, updateType, updateTime);
        return scheduleResults;
    }
View Full Code Here

Examples of org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01.UpdateType

    public static boolean invokeSetResourceProperty(String prop, String value, String filesystemEPRUrl)
    {
        SetResourcePropertiesDocument setResourcePropertiesDocument = SetResourcePropertiesDocument.Factory.newInstance();
        SetResourcePropertiesDocument.SetResourceProperties setResourceProperties = setResourcePropertiesDocument.addNewSetResourceProperties();
        UpdateType updateType = UpdateType.Factory.newInstance();

        XmlObject simpleType = XmlBeanUtils.addChildElement(updateType, QName.valueOf(prop));
        XmlBeanUtils.setValue(simpleType, value);
        setResourceProperties.setUpdateArray(new UpdateType[]{updateType});
View Full Code Here

Examples of org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01.UpdateType

    protected void updateResourceProperty( XmlObject[] propElems )
    {
        SetResourcePropertiesPortTypeImpl setProvider = new SetResourcePropertiesPortTypeImpl( m_resourceContext );
        SetResourcePropertiesDocument setDocument = SetResourcePropertiesDocument.Factory.newInstance();
        SetResourcePropertiesDocument.SetResourceProperties setType = setDocument.addNewSetResourceProperties();
        UpdateType updateType = setType.addNewUpdate();
        for ( int i = 0; i < propElems.length; i++ )
        {
            XmlBeanUtils.addChildElement( updateType, propElems[i] );
        }
        setProvider.setResourceProperties( setDocument ).getSetResourcePropertiesResponse();
View Full Code Here

Examples of org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01.UpdateType

        ResourceProperty resourceProp = resource.getResourcePropertySet().get( SushiPropertyQNames.EBI );
        resourceProp.setCallback( callback );

        SetResourcePropertiesProvider set_provider = new SetResourcePropertiesProvider( m_resourceContext );
        UpdateDocument updateDoc = UpdateDocument.Factory.newInstance();
        UpdateType update = updateDoc.addNewUpdate();

        XmlObject xmlObject =
                XmlObject.Factory.parse( "<foo:Ebi xmlns:foo=\"http://ws.apache.org/resource/properties/test/sushi\">"
                + newValue + "</foo:Ebi>" );
        XmlBeanUtils.addChildElement( update, xmlObject );
View Full Code Here

Examples of org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01.UpdateType

        m_resourceContext = new SushiResourceContext( true );
        insertXsdAnyPropElem();
        assertPropHasOneElemWithGivenValue( SushiPropertyQNames.FUGU, INITIAL_PROP_VALUE_FUGU );
        SetResourcePropertiesProvider set_provider = new SetResourcePropertiesProvider( m_resourceContext );
        UpdateDocument updateDoc = UpdateDocument.Factory.newInstance();
        UpdateType update = updateDoc.addNewUpdate();
        XmlObject anyXBean = createXsdAnyPropElem();
        final String newValue = "yummy!";
        XmlBeanUtils.setValue( anyXBean, newValue );
        XmlBeanUtils.addChildElement( update, anyXBean );
        set_provider.updateResourceProperty( updateDoc.getUpdate() );
View Full Code Here

Examples of org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01.UpdateType

    {
        final String newValue = "99";
        m_resourceContext = new SushiResourceContext();
        SetResourcePropertiesProvider set_provider = new SetResourcePropertiesProvider( m_resourceContext );
        UpdateDocument updateDoc = UpdateDocument.Factory.newInstance();
        UpdateType update = updateDoc.addNewUpdate();

        XmlObject xmlObject =
                XmlObject.Factory.parse( "<foo:Ebi xmlns:foo=\"http://ws.apache.org/resource/properties/test/sushi\">"
                + newValue + "</foo:Ebi>" );
        XmlBeanUtils.addChildElement( update, xmlObject );
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.