Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn F. Cook2011-10-07 10:18:33 -0400
committerRoberto E. Escobar2011-10-07 10:18:33 -0400
commitda965d59561ae0741679f75e4a002e5fa52a7e0c (patch)
tree5a506b59432ab96acb078fe93eb4279dc029e3f0 /plugins/org.eclipse.osee.display.api/src
parent1a9eac16e3521efc237e47047336acbfa336f5a7 (diff)
downloadorg.eclipse.osee-da965d59561ae0741679f75e4a002e5fa52a7e0c.tar.gz
org.eclipse.osee-da965d59561ae0741679f75e4a002e5fa52a7e0c.tar.xz
org.eclipse.osee-da965d59561ae0741679f75e4a002e5fa52a7e0c.zip
feature[ats_Q9NLC]: Remove dependency WebArtifact->WebId
Diffstat (limited to 'plugins/org.eclipse.osee.display.api/src')
-rw-r--r--plugins/org.eclipse.osee.display.api/src/org/eclipse/osee/display/api/data/WebArtifact.java13
1 files changed, 4 insertions, 9 deletions
diff --git a/plugins/org.eclipse.osee.display.api/src/org/eclipse/osee/display/api/data/WebArtifact.java b/plugins/org.eclipse.osee.display.api/src/org/eclipse/osee/display/api/data/WebArtifact.java
index 96e5339cfa..80e224c548 100644
--- a/plugins/org.eclipse.osee.display.api/src/org/eclipse/osee/display/api/data/WebArtifact.java
+++ b/plugins/org.eclipse.osee.display.api/src/org/eclipse/osee/display/api/data/WebArtifact.java
@@ -30,9 +30,9 @@ public class WebArtifact {
private final WebId branch;
//ancestry should include all parental Artifacts starting with parent(index 0), grandparent(index 1), great-grandparent(index 2), etc.
- private final Collection<WebId> ancestry = new ArrayList<WebId>();
+ private final Collection<WebArtifact> ancestry = new ArrayList<WebArtifact>();
- public WebArtifact(String guid, String artifactName, String artifactType, Collection<WebId> ancestry, WebId branch) {
+ public WebArtifact(String guid, String artifactName, String artifactType, Collection<WebArtifact> ancestry, WebId branch) {
this.guid = guid;
this.artifactName = artifactName;
this.artifactType = artifactType;
@@ -43,7 +43,7 @@ public class WebArtifact {
}
public WebArtifact(String guid, String artifactName, String artifactType) {
- this(guid, artifactName, artifactType, (Collection<WebId>) null, null);
+ this(guid, artifactName, artifactType, (Collection<WebArtifact>) null, null);
}
public String getArtifactName() {
@@ -62,7 +62,7 @@ public class WebArtifact {
return branch;
}
- public Collection<WebId> getAncestry() {
+ public Collection<WebArtifact> getAncestry() {
return ancestry;
}
@@ -126,9 +126,4 @@ public class WebArtifact {
public void setAttr_TechPerfParam(String attr_TechPerfParam) {
this.attr_TechPerfParam = attr_TechPerfParam;
}
-
- public WebId getWebId() {
- WebId ret = new WebId(getGuid(), getArtifactName());
- return ret;
- }
}

Back to the top