Examples of ListProperty


Examples of com.caucho.jaxb.property.ListProperty

    }

    _property = new MultiProperty(qnameToPropertyMap, classToPropertyMap);

    if (List.class.isAssignableFrom(_accessor.getType()))
      _property = new ListProperty(_property);

    else if (_accessor.getType().isArray()) {
      Class cType = _accessor.getType().getComponentType();
      _property = ArrayProperty.createArrayProperty(_property, cType);
    }
View Full Code Here

Examples of com.caucho.jaxb.property.ListProperty

    }

    _property = new MultiProperty(qnameToPropertyMap, classToPropertyMap);

    if (List.class.isAssignableFrom(accessor.getType()))
      _property = new ListProperty(_property);

    else if (accessor.getType().isArray()) {
      Class cType = accessor.getType().getComponentType();
      _property = ArrayProperty.createArrayProperty(_property, cType);
    }
View Full Code Here

Examples of com.caucho.jaxb.property.ListProperty

      out.writeAttribute("maxOccurs", _property.getMaxOccurs());

    MultiProperty multiProperty = null;

    if (_property instanceof ListProperty) {
      ListProperty listProperty = (ListProperty) _property;
      multiProperty = (MultiProperty) listProperty.getComponentProperty();
    }
    else
      multiProperty = (MultiProperty) _property;

    Collection<Property> properties = multiProperty.getProperties();
View Full Code Here

Examples of javafx.beans.property.ListProperty

@RunWith(ScriptRunner.class)
public class PropertyTest {

    @Test
    public void getBean() throws Exception {
        ListProperty property = I.make(ListProperty.class);
        assert property.getBean() == null;
    }
View Full Code Here

Examples of org.apache.cayenne.property.ListProperty

                            targetDescriptor,
                            accessor,
                            reverseName);
                }
                else {
                    property = new ListProperty(
                            this,
                            targetDescriptor,
                            accessor,
                            reverseName);
                }
View Full Code Here

Examples of org.apache.cayenne.reflect.ListProperty

        ClassDescriptor targetDescriptor = descriptorMap.getDescriptor(relationship
                .getTargetEntityName());
        String reverseName = relationship.getReverseRelationshipName();

        Accessor accessor = createAccessor(descriptor, relationship.getName(), List.class);
        descriptor.addDeclaredProperty(new ListProperty(
                descriptor,
                targetDescriptor,
                accessor,
                reverseName));
    }
View Full Code Here

Examples of org.apache.fop.fo.ListProperty

        next();
        if (currentToken == TOK_EOF) {
            // if prop value is empty string, force to StringProperty
            return new StringProperty("");
        }
        ListProperty propList = null;
        while (true) {
            Property prop = parseAdditiveExpr();
            if (currentToken == TOK_EOF) {
                if (propList != null) {
                    propList.addProperty(prop);
                    return propList;
                } else
                    return prop;
            } else {
                if (propList == null) {
                    propList = new ListProperty(prop);
                } else {
                    propList.addProperty(prop);
                }
            }
            // throw new PropertyException("unexpected token");
        }
        // return prop;
View Full Code Here

Examples of org.apache.fop.fo.ListProperty

        next();
        if (currentToken == TOK_EOF) {
            // if prop value is empty string, force to StringProperty
            return new StringProperty("");
        }
        ListProperty propList = null;
        while (true) {
            Property prop = parseAdditiveExpr();
            if (currentToken == TOK_EOF) {
                if (propList != null) {
                    propList.addProperty(prop);
                    return propList;
                } else
                    return prop;
            } else {
                if (propList == null) {
                    propList = new ListProperty(prop);
                } else {
                    propList.addProperty(prop);
                }
            }
            // throw new PropertyException("unexpected token");
        }
        // return prop;
View Full Code Here

Examples of org.apache.fop.fo.ListProperty

    next();
    if (currentToken == TOK_EOF) {
      // if prop value is empty string, force to StringProperty
      return new StringProperty("");
    }
    ListProperty propList = null;
    while (true) {
      Property prop = parseAdditiveExpr();
      if (currentToken == TOK_EOF) {
  if (propList != null) {
          propList.addProperty(prop);
    return propList;
  }
        else return prop;
      }
      else {
        if (propList == null) {
          propList = new ListProperty(prop);
        }
        else {
          propList.addProperty(prop);
        }
      }
      //throw new PropertyException("unexpected token");
    }
    //return prop;
View Full Code Here

Examples of org.apache.fop.fo.ListProperty

        next();
        if (currentToken == TOK_EOF) {
            // if prop value is empty string, force to StringProperty
            return new StringProperty("");
        }
        ListProperty propList = null;
        while (true) {
            Property prop = parseAdditiveExpr();
            if (currentToken == TOK_EOF) {
                if (propList != null) {
                    propList.addProperty(prop);
                    return propList;
                } else
                    return prop;
            } else {
                if (propList == null) {
                    propList = new ListProperty(prop);
                } else {
                    propList.addProperty(prop);
                }
            }
            // throw new PropertyException("unexpected token");
        }
        // return prop;
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.