Package com.dooapp.fxform.reflection

Examples of com.dooapp.fxform.reflection.MultipleBeanSource


                    }

                    @Override
                    protected Object computeValue() {
                        if (source.get() != null && source.get() instanceof MultipleBeanSource) {
                            MultipleBeanSource multipleBeanSource = (MultipleBeanSource) source.get();
                            return multipleBeanSource.getSource(element);
                        }
                        return source.get();
                    }
                });
                if (element.getType() != null) {
View Full Code Here


    @Override
    public List<Field> getProperties(Object source) {
        List<Field> result = new LinkedList<Field>();
        if (source != null) {
            if (source instanceof MultipleBeanSource) {
                MultipleBeanSource multipleBeanSource = (MultipleBeanSource) source;
                for (Object s : multipleBeanSource.getSources()) {
                    getFields(result, s.getClass());
                }
            } else {
                getFields(result, source.getClass());
            }
View Full Code Here

    @Override
    public List<Field> getProperties(Object source, List<String> fields) {
        List<Field> result = new LinkedList<Field>();
        if (source != null) {
            if (source instanceof MultipleBeanSource) {
                MultipleBeanSource multipleBeanSource = (MultipleBeanSource) source;
                getMultipleFields(result, multipleBeanSource, fields);
            } else {
                getFields(result, source.getClass(), fields);
            }
        }
View Full Code Here

  public List<Field> getProperties(Object source, String... fields) {
    List<Field> result = new LinkedList<Field>();
    if (source != null) {
      if (source instanceof MultipleBeanSource) {
        MultipleBeanSource multipleBeanSource = (MultipleBeanSource) source;
        if (fields.length > 0) {
          getMultipleFields(result, multipleBeanSource, fields);
        }
        else {
          for (Object s : multipleBeanSource.getSources()) {
            getFields(result, s.getClass(), fields);
          }
        }
      }
      else {
View Full Code Here

          }

          @Override
          protected Object computeValue() {
            if (source.get() != null && source.get() instanceof MultipleBeanSource) {
              MultipleBeanSource multipleBeanSource = (MultipleBeanSource) source.get();
              return multipleBeanSource.getSource(element);
            }
            return source.get();
          }
        });
        if (element.getType() != null) {
View Full Code Here

TOP

Related Classes of com.dooapp.fxform.reflection.MultipleBeanSource

Copyright © 2018 www.massapicom. 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.