Package org.structr.core.entity

Examples of org.structr.core.entity.GenericNode


  }

  protected List<RelationshipInterface> createTestRelationships(final Class relType, final int number) throws FrameworkException {

    List<GenericNode> nodes = createTestNodes(GenericNode.class, 2);
    final GenericNode startNode = nodes.get(0);
    final GenericNode endNode   = nodes.get(1);

    List<RelationshipInterface> rels = new LinkedList<>();

    for (int i = 0; i < number; i++) {
      rels.add(app.create(startNode, endNode, relType));
View Full Code Here


    return GENERIC_REL_TYPE;
  }

  @Override
  public AbstractNode createGenericNode() {
    return new GenericNode();
  }
View Full Code Here

TOP

Related Classes of org.structr.core.entity.GenericNode

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.