Examples of GenericProperty


Examples of org.structr.core.property.GenericProperty

    Iterable<String> props = dbNode.getPropertyKeys();
    for (String key : props) {

      if (key.startsWith("data-")) {

        allProperties.add(new GenericProperty(key));

      }

    }
View Full Code Here

Examples of org.structr.core.property.GenericProperty

          if (listData.isEmpty() && currentDataNode != null) {

          // There are two alternative ways of retrieving sub elements:
            // First try to get generic properties,
            // if that fails, try to create a propertyKey for the subKey
            final Object elements = currentDataNode.getProperty(new GenericProperty(subKey));
            renderContext.setRelatedProperty(new GenericProperty(subKey));
            renderContext.setSourceDataObject(currentDataNode);

            if (elements != null) {

              if (elements instanceof Iterable) {
View Full Code Here

Examples of org.structr.core.property.GenericProperty

           
            dummyObject = new GraphObjectMap();
            resultList.add(dummyObject);
          }
           
          dummyObject.setProperty(new GenericProperty(key), value);
        }

      }

    }
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.