diff options
author | Ryan D. Brooks | 2017-01-09 18:29:17 +0000 |
---|---|---|
committer | David W. Miller | 2017-01-09 18:29:17 +0000 |
commit | 23bbaa62d49a7061811b86e7a7487d320784134e (patch) | |
tree | 358b2f9dbb930ed4d6bc056299ea86aeb3b419ce /plugins/org.eclipse.osee.orcs | |
parent | 5f076c76978c551fe717c0f7e1fe76de8040cdc9 (diff) | |
download | org.eclipse.osee-23bbaa62d49a7061811b86e7a7487d320784134e.tar.gz org.eclipse.osee-23bbaa62d49a7061811b86e7a7487d320784134e.tar.xz org.eclipse.osee-23bbaa62d49a7061811b86e7a7487d320784134e.zip |
refactor: Remove IAttributeType usage from AttributeTypes
Change-Id: I2cb4f6afbcf51ec4f21f8a6bb0301fb306bd5b05
Diffstat (limited to 'plugins/org.eclipse.osee.orcs')
-rw-r--r-- | plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadable.java | 2 | ||||
-rw-r--r-- | plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/AttributeTypes.java | 35 |
2 files changed, 18 insertions, 19 deletions
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 0c8e6e607ad..a1fd0db1683 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 @@ -52,7 +52,7 @@ public interface ArtifactReadable extends ArtifactToken, HasLocalId<Integer>, Ha <T> T getSoleAttributeValue(IAttributeType attributeType, DeletionFlag flag, T defaultValue); - <T> T getSoleAttributeValue(IAttributeType attributeType, T defaultValue) throws OseeCoreException; + <T> T getSoleAttributeValue(AttributeTypeId attributeType, T defaultValue); String getSoleAttributeAsString(IAttributeType attributeType) throws OseeCoreException; diff --git a/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/AttributeTypes.java b/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/AttributeTypes.java index 2dbcd8b10a0..c0a9dc8c01a 100644 --- a/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/AttributeTypes.java +++ b/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/AttributeTypes.java @@ -13,48 +13,47 @@ package org.eclipse.osee.orcs.data; import java.util.Collection; import org.eclipse.osee.framework.core.data.AttributeTypeId; import org.eclipse.osee.framework.core.data.IAttributeType; -import org.eclipse.osee.framework.jdk.core.type.OseeCoreException; /** * @author Roberto E. Escobar */ public interface AttributeTypes extends IdCollection<IAttributeType> { - Collection<? extends IAttributeType> getAllTaggable() throws OseeCoreException; + Collection<AttributeTypeId> getAllTaggable(); - String getDescription(IAttributeType attrType) throws OseeCoreException; + String getDescription(AttributeTypeId attrType); - String getBaseAttributeTypeId(AttributeTypeId attrType) throws OseeCoreException; + String getBaseAttributeTypeId(AttributeTypeId attrType); - String getAttributeProviderId(IAttributeType attrType) throws OseeCoreException; + String getAttributeProviderId(AttributeTypeId attrType); - String getDefaultValue(IAttributeType attrType) throws OseeCoreException; + String getDefaultValue(AttributeTypeId attrType); - int getMaxOccurrences(IAttributeType attrType) throws OseeCoreException; + int getMaxOccurrences(AttributeTypeId attrType); - int getMinOccurrences(IAttributeType attrType) throws OseeCoreException; + int getMinOccurrences(AttributeTypeId attrType); - EnumType getEnumType(IAttributeType attrType) throws OseeCoreException; + EnumType getEnumType(AttributeTypeId attrType); - String getFileTypeExtension(IAttributeType attrType) throws OseeCoreException; + String getFileTypeExtension(AttributeTypeId attrType); - String getTaggerId(AttributeTypeId attrType) throws OseeCoreException; + String getTaggerId(AttributeTypeId attrType); - boolean isTaggable(AttributeTypeId attrType) throws OseeCoreException; + boolean isTaggable(AttributeTypeId attrType); - boolean isEnumerated(IAttributeType attrType) throws OseeCoreException; + boolean isEnumerated(AttributeTypeId attrType); - String getMediaType(IAttributeType attrType) throws OseeCoreException; + String getMediaType(AttributeTypeId attrType); - boolean hasMediaType(IAttributeType attrType) throws OseeCoreException; + boolean hasMediaType(AttributeTypeId attrType); - boolean isBooleanType(IAttributeType attrType) throws OseeCoreException; + boolean isBooleanType(AttributeTypeId attrType); - boolean isIntegerType(IAttributeType attrType); + boolean isIntegerType(AttributeTypeId attrType); boolean isDateType(AttributeTypeId attrType); - boolean isFloatingType(IAttributeType attrType); + boolean isFloatingType(AttributeTypeId attrType); IAttributeType getByName(String attrTypeName); |