Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan E. Cook2017-08-07 17:35:51 -0400
committerMorgan E. Cook2017-09-05 13:04:13 -0400
commit5b5d434c6db6cd2bb22851fc341482177788788d (patch)
tree7f1ce137b6260682e2bd7c3b66075e476d005235
parent90416c4e7c9c9414c2f10d4ea8a2069e1b5d83f4 (diff)
downloadorg.eclipse.osee-5b5d434c6db6cd2bb22851fc341482177788788d.tar.gz
org.eclipse.osee-5b5d434c6db6cd2bb22851fc341482177788788d.tar.xz
org.eclipse.osee-5b5d434c6db6cd2bb22851fc341482177788788d.zip
refactor: Add getApplicability to ArtifactReadable (NOTE ALREADY ON 25)
Signed-off-by: Morgan E. Cook <morgan.e.cook@boeing.com> Change-Id: Ic5f3b5d422059ff921487a9ccec1ee65eea38cf7
-rw-r--r--plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/proxy/impl/ArtifactReadOnlyImpl.java6
-rw-r--r--plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadable.java3
2 files changed, 9 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/proxy/impl/ArtifactReadOnlyImpl.java b/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/proxy/impl/ArtifactReadOnlyImpl.java
index 8dbc3c7b70..65d5f7a107 100644
--- a/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/proxy/impl/ArtifactReadOnlyImpl.java
+++ b/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/proxy/impl/ArtifactReadOnlyImpl.java
@@ -352,4 +352,10 @@ public class ArtifactReadOnlyImpl extends AbstractProxied<Artifact> implements A
public ApplicabilityId getApplicability() {
return getProxiedObject().getOrcsData().getApplicabilityId();
}
+
+ @Override
+ public boolean isHistorical() {
+ return getProxiedObject().getOrcsData().getVersion().isHistorical();
+ }
+
}
diff --git a/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadable.java b/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadable.java
index 0e2217ef92..877150212b 100644
--- a/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadable.java
+++ b/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadable.java
@@ -108,4 +108,7 @@ public interface ArtifactReadable extends ArtifactToken, HasTransaction, OrcsRea
Collection<Long> getRelatedIds(RelationTypeSide relationTypeSide);
ApplicabilityId getApplicability();
+
+ boolean isHistorical();
+
}

Back to the top