Examples of addProperty()


Examples of com.sun.enterprise.deployment.PersistenceUnitDescriptor.addProperty()

            PersistenceUnitDescriptor persistenceUnitDescriptor = (PersistenceUnitDescriptor) getDescriptor();
            String propName = attributes.getValue(
                    PersistenceTagNames.PROPERTY_NAME);
            String propValue = attributes.getValue(
                    PersistenceTagNames.PROPERTY_VALUE);
            persistenceUnitDescriptor.addProperty(propName, propValue);
            return;
        }
        super.startElement(element, attributes);
    }

Examples of com.sun.enterprise.deployment.backend.DeploymentStatus.addProperty()

        if (stat.getAdditionalStatus() != null) {
            it = stat.getAdditionalStatus().entrySet().iterator();
            while (it.hasNext()) {
                Map.Entry entry = (Map.Entry) it.next();
                tmp.addProperty((String)entry.getKey(), (String)entry.getValue());
            }
        }
        return tmp;
    }   

Examples of com.sun.enterprise.resource.beans.CustomResource.addProperty()

        List<Property> properties = rbean.getProperty();
        if (properties!= null) {
            for(Property property : properties) {
                ResourceProperty rp =
                    new ResourcePropertyImpl(property.getName(), property.getValue());
                jr.addProperty(rp);
            }
        }
        return jr;
    }
}

Examples of com.sun.enterprise.resource.beans.ExternalJndiResource.addProperty()

        List<Property> properties = rbean.getProperty();
        if (properties!= null) {
            for(Property property : properties){
                ResourceProperty rp =
                    new ResourcePropertyImpl(property.getName(), property.getValue());
                jr.addProperty(rp);
            }
        }
        return jr;
    }
}

Examples of com.sun.enterprise.resource.beans.MailResource.addProperty()

        List<Property> properties = mailResourceConfig.getProperty();
        if (properties != null) {

            for(Property property : properties){
                ResourceProperty rp = new ResourcePropertyImpl(property.getName(), property.getValue());
                mailResource.addProperty(rp);
            }
        }
        return mailResource;
    }
}

Examples of com.sun.faces.config.beans.PropertyHolder.addProperty()

                                           digester.getMatch() +
                                           "} New(" +
                                           top.getPropertyName() +
                                           ")");
            }
            ah.addProperty(top);
        } else {
            if (digester.getLogger().isDebugEnabled()) {
                digester.getLogger().debug("[PropertyRule]{" +
                                          digester.getMatch() +
                                          "} Merge(" +

Examples of com.sun.star.beans.XPropertyContainer.addProperty()

            Time t = new Time();
            t.Hours = 1;
            t.Minutes = 16;
            dt.Year = 2065;

            udpc.addProperty("Frobnicate", PropertyAttribute.REMOVEABLE,
                new Boolean(b));
            udpc.addProperty("FrobDuration", PropertyAttribute.REMOVEABLE, t);
            udpc.addProperty("FrobStartTime", PropertyAttribute.REMOVEABLE, dt);
            udpc.addProperty("Pi", PropertyAttribute.REMOVEABLE, new Double(d));
            udpc.addProperty("Foo", PropertyAttribute.REMOVEABLE, "bar");

Examples of com.sun.tools.internal.xjc.model.CClassInfo.addProperty()

    void bind() {
        CClassInfo  ci = getClassInfo();
        assert ci!=null || attributes.isEmpty();
        for( CPropertyInfo p : attributes )
            ci.addProperty(p);

        switch(contentModelType) {
        case DTDEventListener.CONTENT_MODEL_ANY:
            CReferencePropertyInfo rp = new CReferencePropertyInfo("Content",true,false,true,null,null/*TODO*/,locator, false, false, false);
            rp.setWildcard(WildcardMode.SKIP);

Examples of com.sun.tools.xjc.model.CClassInfo.addProperty()

    iconClass.setBaseClass(classLink.getBaseClass());

    //fill icon class with the properties defined in link class
    final List<CPropertyInfo> properties = classLink.getProperties();
    for (final CPropertyInfo c : properties) {
      iconClass.addProperty(c);
    }
   
    final Collection<CEnumConstant> constants = altitudeModeGX.getConstants();
    for (final CEnumConstant cEnumConstant : constants) {
      altitudeModeKML.members.add( new CEnumConstant(cEnumConstant.getName(), null, cEnumConstant.getLexicalValue(), null, null, null));

Examples of com.tensegrity.palo.gwt.core.client.models.cubeviews.XAxis.addProperty()

  private final void setWidthOfRepositoryAxis(int width) {
    if(view != null) {
      XAxis repositoryAxis = view.getRepositoryAxis();
      String _width = Integer.toString(width);
      repositoryAxis.addProperty(XAxis.PREFERRED_WIDTH, _width);
    }   
  }

  private final void updateView(Callback<Void> updateCallback) {
    adjustView();
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.