Examples of Property


Examples of org.gwt.beansbinding.core.client.Property

* @see ListBoxBinding#addColumnBinding(Property)
*/
public final class ColumnBinding<E> extends AbstractColumnBinding {

  ColumnBinding(Property<E, ?> detailProperty, String name) {
    super(0, detailProperty, new Property() {
      public Class<Object> getWriteType(Object source) {
        return Object.class;
      }

      public Object getValue(Object source) {
View Full Code Here

Examples of org.hibernate.mapping.Property

            "property-ref to unmapped class: " +
            upr.referencedClass
          );
      }

      Property prop = clazz.getReferencedProperty( upr.propertyName );
      if ( upr.unique ) {
        ( (SimpleValue) prop.getValue() ).setAlternateUniqueKey( true );
      }
    }

    //TODO: Somehow add the newly created foreign keys to the internal collection
View Full Code Here

Examples of org.intalio.tempo.security.Property

  @Stub Property[] prop;
  @Mock HttpClient c;
  @Specification
  public void test() throws Exception {
    prop = new  Property[1];
    prop[0] = new Property("a", "a");
    byte[] payload = new String("hello").getBytes();
    expect.that(new Expectations(){{
      atLeast(1).of(am).getFilename();will(returnValue("abc"));
      atLeast(1).of(am).getMimeType();will(returnValue("text/html"));
      ignoring(c);will(returnValue(200));
View Full Code Here

Examples of org.jahia.services.uicomponents.bean.toolbar.Property

        item.setTitle(title);
        item.setActionItem(new RedirectWindowActionItem());
        item.setDisplayTitle(true);

        // add url property
        Property property = new Property();
        property.setName("js.url");
        property.setValue(jsParamName);
        item.addProperty(property);



View Full Code Here

Examples of org.jbehave.core.model.Meta.Property

        }

        private void parse(Properties properties, String prefix) {
            properties.clear();
            for (String found : found(prefix)) {
                Property property = new Property(StringUtils.removeStartIgnoreCase(found, prefix));
                properties.setProperty(property.getName(), property.getValue());
            }
        }
View Full Code Here

Examples of org.jboss.arquillian.persistence.data.dbunit.configuration.annotations.Property

      try
      {
         for (Field property : properties)
         {
            String propertyPrefix = PROPERTY_PREFIX;
            final Property propertyAnnotation = property.getAnnotation(Property.class);
            if (!Strings.isEmpty(propertyAnnotation.value()))
            {
               propertyPrefix += propertyAnnotation.value() + "/";
            }
            final String key = propertyPrefix + property.getName();
            final Object value = property.get(configuration);
            if (value != null)
            {
View Full Code Here

Examples of org.jboss.arquillian.persistence.dbunit.configuration.annotations.Property

      try
      {
         for (Field property : properties)
         {
            String propertyPrefix = PROPERTY_PREFIX;
            final Property propertyAnnotation = property.getAnnotation(Property.class);
            if (!Strings.isEmpty(propertyAnnotation.value()))
            {
               propertyPrefix += propertyAnnotation.value() + "/";
            }
            final String key = propertyPrefix + property.getName();
            final Object value = property.get(configuration);
            if (value != null)
            {
View Full Code Here

Examples of org.jboss.arquillian.prototyping.context.api.Property

               resolvedVaue = arquillianContext.get(type, properties);
            }
            // If just one property is defined
            else if (field.isAnnotationPresent(Property.class))
            {
               final Property property = field.getAnnotation(Property.class);
               final Properties properties = new PropertiesImpl(new Property[]
               {property});
               resolvedVaue = arquillianContext.get(type, properties);
            }
            // No properties defined; do type-based resolution only
View Full Code Here

Examples of org.jboss.dmr.Property

        }

        private void parseProperties(XMLExtendedStreamReader reader, final ModelNode address, final List<ModelNode> list) throws XMLStreamException {
            while (reader.nextTag() != END_ELEMENT) {
                reader.require(START_ELEMENT, Namespace.REMOTING_1_0.getUriString(), Element.PROPERTY.getLocalName());
                final Property property = readProperty(reader);
                ModelNode propertyOp = new ModelNode();
                propertyOp.get(OP).set(ADD);
                propertyOp.get(OP_ADDR).set(address).add(PROPERTY, property.getName());
                propertyOp.get(VALUE).set(property.getValue());
                list.add(propertyOp);
            }
        }
View Full Code Here

Examples of org.jboss.dmr.client.Property

                    if(payload.hasDefined("remoting-connector"))
                    {
                        List<Property> connectorList = payload.get("remoting-connector").asPropertyList();
                        if(!connectorList.isEmpty())
                        {
                            Property item = connectorList.get(0);
                            ModelNode jmxConnector = item.getValue();
                            jmxSubsystem.setRegistryBinding(jmxConnector.get("registry-binding").asString());
                            jmxSubsystem.setServerBinding(jmxConnector.get("server-binding").asString());
                        }
                    }
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.