Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsStoreService.java')
-rw-r--r--plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsStoreService.java15
1 files changed, 5 insertions, 10 deletions
diff --git a/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsStoreService.java b/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsStoreService.java
index 4a64d14ffe4..c1843b4a070 100644
--- a/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsStoreService.java
+++ b/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsStoreService.java
@@ -27,6 +27,7 @@ import org.eclipse.osee.ats.api.util.IAtsChangeSet;
import org.eclipse.osee.ats.api.util.IAtsStoreService;
import org.eclipse.osee.ats.core.client.internal.store.AtsChangeSet;
import org.eclipse.osee.framework.core.data.ArtifactId;
+import org.eclipse.osee.framework.core.data.AttributeTypeId;
import org.eclipse.osee.framework.core.data.IArtifactType;
import org.eclipse.osee.framework.core.data.IAttributeType;
import org.eclipse.osee.framework.core.model.type.ArtifactType;
@@ -106,21 +107,16 @@ public class AtsStoreService implements IAtsStoreService {
}
@Override
- public boolean isAttributeTypeValid(IAtsObject atsObject, IAttributeType attributeType) {
+ public boolean isAttributeTypeValid(IAtsObject atsObject, AttributeTypeId attributeType) {
return isAttributeTypeValid(atsObject.getStoreObject(), attributeType);
}
@Override
- public boolean isAttributeTypeValid(ArtifactId artifact, IAttributeType attributeType) {
+ public boolean isAttributeTypeValid(ArtifactId artifact, AttributeTypeId attributeType) {
return ((Artifact) artifact).isAttributeTypeValid(attributeType);
}
@Override
- public IAttributeType getAttributeType(long attrTypeId) {
- return AttributeTypeManager.getTypeByGuid(attrTypeId);
- }
-
- @Override
public IAttributeType getAttributeType(String attrTypeName) {
return AttributeTypeManager.getType(attrTypeName);
}
@@ -131,7 +127,7 @@ public class AtsStoreService implements IAtsStoreService {
}
@Override
- public boolean isDateType(IAttributeType attributeType) {
+ public boolean isDateType(AttributeTypeId attributeType) {
return AttributeTypeManager.isBaseTypeCompatible(DateAttribute.class, attributeType);
}
@@ -153,5 +149,4 @@ public class AtsStoreService implements IAtsStoreService {
}
changes.execute();
}
-
-}
+} \ No newline at end of file

Back to the top