Package org.structr.core.predicate

Examples of org.structr.core.predicate.TypePredicate


  public RandomRelatedNodes(RelationshipType relType, Direction direction, Class resultType, Notion notion, int maxDepth, int count) {

    super(relType, direction, maxDepth);

    // add type predicate
    this.addPredicate(new TypePredicate(resultType.getSimpleName()));
   
    this.resultType = resultType;

    this.setNotion(notion);
    this.count = count;
View Full Code Here


    super(relType, direction, maxDepth);

    // add type predicate
    if(resultType != null) {

      this.addPredicate(new TypePredicate(resultType.getSimpleName()));
      this.resultType = resultType;
    }

    // set comparator for sorting
    this.setComparator(comparator);
View Full Code Here

TOP

Related Classes of org.structr.core.predicate.TypePredicate

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.