Examples of IPropertyDescriptor


Examples of org.jspresso.framework.model.descriptor.IPropertyDescriptor

      if (nested instanceof Map<?, ?>) {
        return ((Map<String, Object>) nested).get(((String) key)
            .substring(firstDotIndex + 1));
      }
    }
    IPropertyDescriptor propertyDescriptor = componentDescriptor
        .getPropertyDescriptor((String) key);
    Object actualValue = super.get(key);
    if (actualValue == null
        && propertyDescriptor instanceof IReferencePropertyDescriptor<?>) {
      IComponentDescriptor<?> referencedDescriptor = ((IReferencePropertyDescriptor<?>) propertyDescriptor)
          .getReferencedDescriptor();
      QueryComponent referencedQueryComponent = new QueryComponent(
          referencedDescriptor, getComponentFactory());
      if (ComparableQueryStructure.class
          .isAssignableFrom(referencedQueryComponent.getQueryContract())) {
        referencedQueryComponent.put(
            ComparableQueryStructureDescriptor.COMPARATOR,
            ComparableQueryStructureDescriptor.EQ);
      }
      referencedQueryComponent
          .addPropertyChangeListener(new InlinedComponentTracker(
              propertyDescriptor.getName()));
      put((String) key, referencedQueryComponent);
      return referencedQueryComponent;
    }
    return actualValue;
  }
View Full Code Here

Examples of org.jspresso.framework.model.descriptor.IPropertyDescriptor

      if (nested instanceof Map<?, ?>) {
        return ((Map<String, Object>) nested).put(
            key.substring(firstDotIndex + 1), value);
      }
    }
    IPropertyDescriptor propertyDescriptor = componentDescriptor
        .getPropertyDescriptor(key);
    if (propertyDescriptor instanceof IReferencePropertyDescriptor<?>) {
      IComponentDescriptor<?> referencedDescriptor = ((IReferencePropertyDescriptor<?>) propertyDescriptor)
          .getReferencedDescriptor();
      if (IEntity.class.isAssignableFrom(referencedDescriptor
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.