Package org.jitterbit.integration.data.structure.database

Examples of org.jitterbit.integration.data.structure.database.DbTranRelations$Relation


  private void selectChildNonRelationsPass() {
    ReleasableIterator<RelationContainer> i = allRelations.iterate();
   
    try {
      while (i.hasNext()) {
        Relation relation = i.next().getEntity();
        long relationId = relation.getId();
       
        // Only examine available relations.
        if (availableRelations.get(relationId)) {
          // Select the member if it hasn't already been selected.
          for (RelationMember member : relation.getMembers()) {
            switch (member.getMemberType()) {
            case Node:
              availableNodes.set(member.getMemberId());
              break;
            case Way:
View Full Code Here


      new Way(new CommonEntityData(2202, 0, new Date(), user, 0, tags), new ArrayList<WayNode>());
    residentialWayContainer = new WayContainer(residentialWay);

    tags = Arrays.asList(new Tag("Dkey", "Dvalue"));
    testRelation =
      new Relation(new CommonEntityData(3301, 0, new Date(), user, 0, tags), new ArrayList<RelationMember>());
    testRelationContainer = new RelationContainer(testRelation);
  }
View Full Code Here

   * @param scr
   *            Maintains the mapping between classes and their identifiers
   *            within the store.
   */
  public RelationContainer(StoreReader sr, StoreClassRegister scr) {
    relation = new Relation(sr, scr);
  }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.structure.database.DbTranRelations$Relation

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.