Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-05-25 18:42:17 +0000
committerrescobar2010-05-25 18:42:17 +0000
commite64e10c50239a556289a8550f64a4b21b59fe07b (patch)
treeda055d3d2d43079742e6acb05146018c174c4fc0 /plugins/org.eclipse.osee.framework.database
parenta4104771bf0bed51e530a14e8774b378a65bc931 (diff)
downloadorg.eclipse.osee-e64e10c50239a556289a8550f64a4b21b59fe07b.tar.gz
org.eclipse.osee-e64e10c50239a556289a8550f64a4b21b59fe07b.tar.xz
org.eclipse.osee-e64e10c50239a556289a8550f64a4b21b59fe07b.zip
"Team Workflow" - UQVMC - "Add 0.9.2 conversions for import/export backups"
Diffstat (limited to 'plugins/org.eclipse.osee.framework.database')
-rw-r--r--plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/operation/Address.java66
1 files changed, 57 insertions, 9 deletions
diff --git a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/operation/Address.java b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/operation/Address.java
index fba639246db..fa0d8bb47b3 100644
--- a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/operation/Address.java
+++ b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/operation/Address.java
@@ -17,15 +17,15 @@ import org.eclipse.osee.framework.core.enums.TxChange;
* @author Ryan D. Brooks
*/
public final class Address implements Comparable<Address> {
- final int branchId;
- final int itemId;
- final int transactionId;
- final long gammaId;
- final ModificationType modType;
- final TxChange txCurrent;
- final boolean isBaseline;
- TxChange correctedTxCurrent;
- boolean purge;
+ private final int branchId;
+ private final int itemId;
+ private final int transactionId;
+ private final long gammaId;
+ private ModificationType modType;
+ private final TxChange txCurrent;
+ private final boolean isBaseline;
+ private TxChange correctedTxCurrent;
+ private boolean purge;
public Address(boolean isBaseline, int branchId, int itemId, int transactionId, long gammaId, ModificationType modType, TxChange txCurrent) {
super();
@@ -75,6 +75,54 @@ public final class Address implements Comparable<Address> {
return purge || correctedTxCurrent != null;
}
+ public TxChange getCorrectedTxCurrent() {
+ return correctedTxCurrent;
+ }
+
+ public void setCorrectedTxCurrent(TxChange correctedTxCurrent) {
+ this.correctedTxCurrent = correctedTxCurrent;
+ }
+
+ public boolean isPurge() {
+ return purge;
+ }
+
+ public void setPurge(boolean purge) {
+ this.purge = purge;
+ }
+
+ public int getBranchId() {
+ return branchId;
+ }
+
+ public int getItemId() {
+ return itemId;
+ }
+
+ public int getTransactionId() {
+ return transactionId;
+ }
+
+ public long getGammaId() {
+ return gammaId;
+ }
+
+ public ModificationType getModType() {
+ return modType;
+ }
+
+ public void setModType(ModificationType modType) {
+ this.modType = modType;
+ }
+
+ public TxChange getTxCurrent() {
+ return txCurrent;
+ }
+
+ public boolean isBaseline() {
+ return isBaseline;
+ }
+
@Override
public String toString() {
return "Address [branchId=" + branchId + ", gammaId=" + gammaId + ", itemId=" + itemId + ", modType=" + modType + ", transactionId=" + transactionId + ", txCurrent=" + txCurrent + "]";

Back to the top