diff options
author | ddunne | 2010-10-04 18:27:49 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2010-10-04 18:27:49 +0000 |
commit | ee0ad9caa8fbc4d7d8a952da87e398b2e3e74c2f (patch) | |
tree | 0a6e73b21a1e3944531b9c0fc42a919b095e6baa /plugins/org.eclipse.osee.framework.core.datastore | |
parent | c188985302ec4d056b7b73197501183719b4f9e7 (diff) | |
download | org.eclipse.osee-ee0ad9caa8fbc4d7d8a952da87e398b2e3e74c2f.tar.gz org.eclipse.osee-ee0ad9caa8fbc4d7d8a952da87e398b2e3e74c2f.tar.xz org.eclipse.osee-ee0ad9caa8fbc4d7d8a952da87e398b2e3e74c2f.zip |
refactor: Use IArtifactType and IAttributType
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.datastore')
-rw-r--r-- | plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/cache/DatabaseRelationTypeAccessor.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/cache/DatabaseRelationTypeAccessor.java b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/cache/DatabaseRelationTypeAccessor.java index b97bced596e..afdabec5a0e 100644 --- a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/cache/DatabaseRelationTypeAccessor.java +++ b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/cache/DatabaseRelationTypeAccessor.java @@ -14,13 +14,13 @@ import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.logging.Level; +import org.eclipse.osee.framework.core.data.IArtifactType; import org.eclipse.osee.framework.core.datastore.internal.Activator; import org.eclipse.osee.framework.core.enums.RelationTypeMultiplicity; import org.eclipse.osee.framework.core.enums.StorageState; import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.model.cache.ArtifactTypeCache; import org.eclipse.osee.framework.core.model.cache.IOseeCache; -import org.eclipse.osee.framework.core.model.type.ArtifactType; import org.eclipse.osee.framework.core.model.type.RelationType; import org.eclipse.osee.framework.core.model.type.RelationTypeFactory; import org.eclipse.osee.framework.database.IOseeDatabaseService; @@ -62,8 +62,8 @@ public class DatabaseRelationTypeAccessor extends AbstractDatabaseAccessor<Relat int bArtTypeId = chStmt.getInt("b_art_type_id"); int multiplicityValue = chStmt.getInt("multiplicity"); try { - ArtifactType artifactTypeSideA = artifactCache.getById(aArtTypeId); - ArtifactType artifactTypeSideB = artifactCache.getById(bArtTypeId); + IArtifactType artifactTypeSideA = artifactCache.getById(aArtTypeId); + IArtifactType artifactTypeSideB = artifactCache.getById(bArtTypeId); RelationTypeMultiplicity multiplicity = RelationTypeMultiplicity.getRelationMultiplicity(multiplicityValue); String sideAName = chStmt.getString("a_name"); |