diff options
author | donald.g.dunne | 2013-05-06 16:16:24 +0000 |
---|---|---|
committer | Roberto E. Escobar | 2013-06-17 23:09:08 +0000 |
commit | 454a911a5ca420d129af97c7c0f37c8036fd1408 (patch) | |
tree | 411a75b7b70342c64283de0e9152846f12d26de9 /plugins/org.eclipse.osee.ats.api | |
parent | 6e23b73965dedf6c63db47b7d90e8b31742127f3 (diff) | |
download | org.eclipse.osee-454a911a5ca420d129af97c7c0f37c8036fd1408.tar.gz org.eclipse.osee-454a911a5ca420d129af97c7c0f37c8036fd1408.tar.xz org.eclipse.osee-454a911a5ca420d129af97c7c0f37c8036fd1408.zip |
feature[ats_605B4]: Add Work Package artifact and ActivityIdColumn to set
Change-Id: I5dd362472d9e234a21825bcec66b2f93e08c1507
Diffstat (limited to 'plugins/org.eclipse.osee.ats.api')
8 files changed, 122 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats.api/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.ats.api/META-INF/MANIFEST.MF index bd87309c79d..f1e5b24f6a9 100644 --- a/plugins/org.eclipse.osee.ats.api/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.osee.ats.api/META-INF/MANIFEST.MF @@ -9,6 +9,7 @@ Export-Package: org.eclipse.osee.ats.api, org.eclipse.osee.ats.api.ai, org.eclipse.osee.ats.api.commit, org.eclipse.osee.ats.api.data, + org.eclipse.osee.ats.api.ev, org.eclipse.osee.ats.api.query, org.eclipse.osee.ats.api.review, org.eclipse.osee.ats.api.rule, diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsArtifactTypes.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsArtifactTypes.java index 6fcd019e37b..9062be86142 100644 --- a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsArtifactTypes.java +++ b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsArtifactTypes.java @@ -32,6 +32,7 @@ public final class AtsArtifactTypes { public static final IArtifactType Goal = TokenFactory.createArtifactType(0x0000000000000048L, "Goal"); public static final IArtifactType AtsArtifact = TokenFactory.createArtifactType(0x000000000000003FL, "ats.Ats Artifact"); public static final IArtifactType WorkDefinition = TokenFactory.createArtifactType(0x000000000000003EL, "Work Definition"); + public static final IArtifactType WorkPackage = TokenFactory.createArtifactType(0x0000000000000322L, "Work Definition"); // @formatter:on private AtsArtifactTypes() { diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsAttributeTypes.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsAttributeTypes.java index df9acbe9c73..bc0c671b897 100644 --- a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsAttributeTypes.java +++ b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsAttributeTypes.java @@ -118,6 +118,12 @@ public final class AtsAttributeTypes { public static final IAttributeType WorkPackage = createType(0x10000000000000E6L, "Work Package", "Designated accounting work package for completing workflow."); public static final IAttributeType RelatedPeerWorkflowDefinition = createType(0x100000000000037EL, "Related Peer Workflow Definition", "Specific work flow definition id used by Peer To Peer Reviews for this Team"); + public static final IAttributeType WorkPackageId = createType(0x1000000000000380L, "Work Package ID"); + public static final IAttributeType WorkPackageProgram = createType(0x1000000000000381L, "Work Package Program"); + public static final IAttributeType WorkPackageType = createType(0x100000000000081L, "Work Package Type"); + public static final IAttributeType ActivityId = createType(0x1000000000000382L, "Activity ID"); + public static final IAttributeType ActivityName = createType(0x1000000000000383L, "Activity Name"); + public static final IAttributeType WorkPackageGuid = createType(0x1000000000000384L, "Work Package Guid", "Work Package for this Team Workflow, Review, Task or Goal"); // @formatter:on diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsRelationTypes.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsRelationTypes.java index 1b41b73ef2b..38c9fd0ac10 100644 --- a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsRelationTypes.java +++ b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/data/AtsRelationTypes.java @@ -53,6 +53,9 @@ public final class AtsRelationTypes { public static final IRelationTypeSide TeamDefinitionToVersion_TeamDefinition = TokenFactory.createRelationTypeSide(RelationSide.SIDE_A, 0x2000000000000170L, "TeamDefinitionToVersion"); public static final IRelationTypeSide TeamDefinitionToVersion_Version = TeamDefinitionToVersion_TeamDefinition.getOpposite(); + public static final IRelationTypeSide TeamDefinitionToAtsConfigObject_TeamDefinition = TokenFactory.createRelationTypeSide(RelationSide.SIDE_A, 0x2000000000000170L, "TeamDefinitionAtsConfigObject"); + public static final IRelationTypeSide TeamDefinitionToAtsConfigObject_AtsConfigObject = TeamDefinitionToVersion_TeamDefinition.getOpposite(); + public static final IRelationTypeSide TeamLead_Team = TokenFactory.createRelationTypeSide(RelationSide.SIDE_A, 0x2000000000000169L, "TeamLead"); public static final IRelationTypeSide TeamLead_Lead = TeamLead_Team.getOpposite(); @@ -73,9 +76,12 @@ public final class AtsRelationTypes { public static final IRelationTypeSide AutoAddActionToGoal_Goal = TokenFactory.createRelationTypeSide(RelationSide.SIDE_A, 0x200000000000017DL, "AutoAddActionToGoal"); public static final IRelationTypeSide AutoAddActionToGoal_ConfigObject = AutoAddActionToGoal_Goal.getOpposite(); + + public static final IRelationTypeSide WorkPackage_WorkPackage = TokenFactory.createRelationTypeSide(RelationSide.SIDE_A, 0x200000000000017EL, "Work Package"); + public static final IRelationTypeSide WorkPackage_TeamDefOrAi = WorkPackage_WorkPackage.getOpposite(); //@formatter:on private AtsRelationTypes() { // Constants } -}
\ No newline at end of file +} diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/ev/AtsWorkPackageType.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/ev/AtsWorkPackageType.java new file mode 100644 index 00000000000..934a84c7e98 --- /dev/null +++ b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/ev/AtsWorkPackageType.java @@ -0,0 +1,21 @@ +/******************************************************************************* + * Copyright (c) 2013 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.ats.api.ev; + +/** + * @author Donald G. Dunne + */ +public enum AtsWorkPackageType { + + LOE, + Discrete, + None; +} diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/ev/IAtsEarnedValueService.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/ev/IAtsEarnedValueService.java new file mode 100644 index 00000000000..705ecd5b970 --- /dev/null +++ b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/ev/IAtsEarnedValueService.java @@ -0,0 +1,26 @@ +/******************************************************************************* + * Copyright (c) 2013 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.ats.api.ev; + +import java.util.Collection; +import org.eclipse.osee.ats.api.IAtsObject; +import org.eclipse.osee.ats.api.IAtsWorkItem; +import org.eclipse.osee.framework.core.exception.OseeCoreException; + +/** + * @author Donald G. Dunne + */ +public interface IAtsEarnedValueService { + + public IAtsWorkPackage getWorkPackage(IAtsWorkItem workItem) throws OseeCoreException; + + public Collection<IAtsWorkPackage> getWorkPackageOptions(IAtsObject object) throws OseeCoreException; +} diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/ev/IAtsEarnedValueServiceProvider.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/ev/IAtsEarnedValueServiceProvider.java new file mode 100644 index 00000000000..34fecf18161 --- /dev/null +++ b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/ev/IAtsEarnedValueServiceProvider.java @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2013 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.ats.api.ev; + +/** + * @author Donald G. Dunne + */ +public interface IAtsEarnedValueServiceProvider { + + public IAtsEarnedValueService getEarnedValueService(); +} diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/ev/IAtsWorkPackage.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/ev/IAtsWorkPackage.java new file mode 100644 index 00000000000..c0ee9fa2e82 --- /dev/null +++ b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/ev/IAtsWorkPackage.java @@ -0,0 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2013 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.ats.api.ev; + +import java.util.Date; +import org.eclipse.osee.framework.core.exception.OseeCoreException; + +/** + * @author Donald G. Dunne + */ +public interface IAtsWorkPackage { + + public String getActivityId() throws OseeCoreException; + + public String getActivityName() throws OseeCoreException; + + public String getName(); + + public String getGuid(); + + public String getWorkPacakgeId() throws OseeCoreException; + + public String getWorkPacakgeProgram() throws OseeCoreException; + + public AtsWorkPackageType getWorkPackageType() throws OseeCoreException; + + public boolean isActive() throws OseeCoreException; + + public Date getStartDate() throws OseeCoreException; + + public Date getEndDate() throws OseeCoreException; + +} |