diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/AbstractBranchCacheMessage.java')
-rw-r--r-- | plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/AbstractBranchCacheMessage.java | 140 |
1 files changed, 70 insertions, 70 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/AbstractBranchCacheMessage.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/AbstractBranchCacheMessage.java index 705f1ce4efc..81898abffec 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/AbstractBranchCacheMessage.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/AbstractBranchCacheMessage.java @@ -1,70 +1,70 @@ -/*******************************************************************************
- * Copyright (c) 2009 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.core.message;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import org.eclipse.osee.framework.jdk.core.type.Triplet;
-
-/**
- * @author Roberto E. Escobar
- */
-public abstract class AbstractBranchCacheMessage {
-
- private final List<BranchRow> rows;
- private final Map<Integer, Integer> childToParent;
- private final Map<Integer, Integer> branchToBaseTx;
- private final Map<Integer, Integer> branchToSourceTx;
- private final Map<Integer, Integer> branchToAssocArt;
- private final Map<Integer, String[]> branchToAliases;
- private final List<Triplet<Integer, Integer, Integer>> srcDestMerge;
-
- protected AbstractBranchCacheMessage() {
- this.rows = new ArrayList<BranchRow>();
- this.childToParent = new HashMap<Integer, Integer>();
- this.branchToBaseTx = new HashMap<Integer, Integer>();
- this.branchToSourceTx = new HashMap<Integer, Integer>();
- this.branchToAssocArt = new HashMap<Integer, Integer>();
- this.branchToAliases = new HashMap<Integer, String[]>();
- this.srcDestMerge = new ArrayList<Triplet<Integer, Integer, Integer>>();
- }
-
- public List<BranchRow> getBranchRows() {
- return rows;
- }
-
- public Map<Integer, Integer> getChildToParent() {
- return childToParent;
- }
-
- public Map<Integer, Integer> getBranchToBaseTx() {
- return branchToBaseTx;
- }
-
- public Map<Integer, Integer> getBranchToSourceTx() {
- return branchToSourceTx;
- }
-
- public Map<Integer, Integer> getBranchToAssocArt() {
- return branchToAssocArt;
- }
-
- public Map<Integer, String[]> getBranchAliases() {
- return branchToAliases;
- }
-
- public List<Triplet<Integer, Integer, Integer>> getMergeBranches() {
- return srcDestMerge;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2009 Boeing. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Boeing - initial API and implementation + *******************************************************************************/ +package org.eclipse.osee.framework.core.message; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import org.eclipse.osee.framework.jdk.core.type.Triplet; + +/** + * @author Roberto E. Escobar + */ +public abstract class AbstractBranchCacheMessage { + + private final List<BranchRow> rows; + private final Map<Integer, Integer> childToParent; + private final Map<Integer, Integer> branchToBaseTx; + private final Map<Integer, Integer> branchToSourceTx; + private final Map<Integer, Integer> branchToAssocArt; + private final Map<Integer, String[]> branchToAliases; + private final List<Triplet<Integer, Integer, Integer>> srcDestMerge; + + protected AbstractBranchCacheMessage() { + this.rows = new ArrayList<BranchRow>(); + this.childToParent = new HashMap<Integer, Integer>(); + this.branchToBaseTx = new HashMap<Integer, Integer>(); + this.branchToSourceTx = new HashMap<Integer, Integer>(); + this.branchToAssocArt = new HashMap<Integer, Integer>(); + this.branchToAliases = new HashMap<Integer, String[]>(); + this.srcDestMerge = new ArrayList<Triplet<Integer, Integer, Integer>>(); + } + + public List<BranchRow> getBranchRows() { + return rows; + } + + public Map<Integer, Integer> getChildToParent() { + return childToParent; + } + + public Map<Integer, Integer> getBranchToBaseTx() { + return branchToBaseTx; + } + + public Map<Integer, Integer> getBranchToSourceTx() { + return branchToSourceTx; + } + + public Map<Integer, Integer> getBranchToAssocArt() { + return branchToAssocArt; + } + + public Map<Integer, String[]> getBranchAliases() { + return branchToAliases; + } + + public List<Triplet<Integer, Integer, Integer>> getMergeBranches() { + return srcDestMerge; + } + +} |