Examples of addProperty()


Examples of org.jpox.metadata.ImplementsMetaData.addProperty()

                }
                else if (parent instanceof ImplementsMetaData)
                {
                    ImplementsMetaData implmd = (ImplementsMetaData)parent;
                    PropertyMetaData propmd = newPropertyObject(implmd, attrs);
                    implmd.addProperty(propmd);
                    pushStack(propmd);
                }
                else if (parent instanceof FetchGroupMetaData)
                {
                    FetchGroupMetaData fgmd = (FetchGroupMetaData)parent;

Examples of org.jpox.metadata.PersistenceUnitMetaData.addProperty()

            }
            else if (localName.equals("property"))
            {
                // New "property" for the current persistence unit
                PersistenceUnitMetaData pumd = (PersistenceUnitMetaData)getStack();
                pumd.addProperty(getAttr(attrs, "name"), getAttr(attrs, "value"));
            }
            else if (localName.equals("mapping-file"))
            {
                // Processed elsewhere
            }

Examples of org.jresearch.flexess.umi.provider.impl.PropertyGroup.addProperty()

      for (IProviderPropertyInfo property : properties) {
        NamedValue nv = new NamedValue();
        nv.setName(property.getName());
        nv.setValue(property.getDefaultValue());
        propertyGroup.addProperty(nv);
      }

      settings.addGroup(propertyGroup);
    }
    return settings;

Examples of org.jtalks.common.model.entity.Component.addProperty()

    }

    @Test
    public void getForumLogoShouldReturnDefaultLogoWhenLogoPropertyIsEmpty() throws ImageProcessException {
        Component forumComponent = new Component();
        forumComponent.addProperty(TransactionalComponentService.LOGO_PROPERTY, "");
        when(componentService.getComponentOfForum()).thenReturn(forumComponent);
        when(componentService.getComponentModificationTime()).thenReturn(new Date());
        when(logoControllerUtils.getDefaultImage()).thenReturn(validImage);

        MockHttpServletResponse response = new MockHttpServletResponse();

Examples of org.jwall.app.PropertySet.addProperty()

    PropertySet p = new PropertySet("Test");
    p.setProperty( "login" , "admin" );
    p.setProperty( "password", "secret" );

    PropertySet tp = new PropertySet("org.jwall.web.audit.event.table");
    tp.addProperty( new Property<String>( "Session-ID", "Session-ID" ) );
    tp.addProperty( new Property<String>( "", "" ) );
   
    PropertyDialog d = new PropertyDialog( p );

    d.setVisible( true );

Examples of org.ksoap2.serialization.SoapObject.addProperty()

      }
      try {
        SoapObject rpc = new SoapObject("http://www.w3.org/2001/12/soap-envelope", opName);
        for (int i=0; i<params.length; i++) {
          if(bDebug) System.out.println("doCall   param " + i + " = " + params[i]);
          rpc.addProperty("item"+i, params[i]);
        }
        soapEnvelope.bodyOut = rpc;

        if(bDebug) {
          System.out.println("doCall " + opName +

Examples of org.mindswap.pellet.KnowledgeBase.addProperty()

    ATermAppl p = term( "p" );
    ATermAppl l = ATermUtils.makeTermAppl( "l" );
    ATermAppl v = ATermUtils.makeValue( ATermUtils.makeLiteral( l ) );
    ATermAppl c = ATermUtils.makeSomeValues( p, v );

    kb.addProperty( p );

    assertTrue( kb.isClass( c ) );
  }

  @Test

Examples of org.modeshape.jcr.spi.federation.DocumentWriter.addProperty()

        for (Property property : reader.getProperties().values()) {
            if (property.isEmpty()) continue;
            if (property.isReference()) {
                if (property.isSingle()) {
                    Object value = convertReferenceValue(property.getFirstValue(), sourceName);
                    writer.addProperty(property.getName(), value);
                } else {
                    assert property.isMultiple();
                    Object[] values = property.getValuesAsArray();
                    for (int i = 0; i != values.length; ++i) {
                        values[i] = convertReferenceValue(values[i], sourceName);

Examples of org.modeshape.sequencer.teiid.model.ReferenceResolver.UnresolvedReference.addProperty()

                        if (node != null) {
                            node.addMixin(JcrId.ANNOTATED);
                            setProperty(node, JcrId.DESCRIPTION, description);
                        } else if (unresolved != null) {
                            unresolved.addMixin(JcrId.ANNOTATED);
                            unresolved.addProperty(JcrId.DESCRIPTION, description, false);
                        }
                    }

                    // keywords
                    final String keywordsValue = annotation.getAttributeValue(CoreLexicon.ModelId.KEYWORD, URI);

Examples of org.mokai.persist.MessageCriteria.addProperty()

      .orderBy("id")
      .orderType(OrderType.DOWNWARDS)
      .numRecords( numRecords == null ? 2000 : numRecords.asInteger() );

    if (recipientValue != null) {
      criteria.addProperty(recipientKey, recipientValue.asString());
    }

    if (status != null) {
      List<Value> statusList = status.asList();
      for (Value s : statusList) {
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.