Interface AlignedTypesDatabaseImpl
- All Known Implementing Classes:
AlignedTypesDatabaseTSTImpl
public interface AlignedTypesDatabaseImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAlignedTypes(String[] tierNames, String[] types) voidaddAlignedTypes(Map<String, String> alignedTypes) Add aligned types to the database.voidaddAlignment(String tierName, String type, String alignedTierName, String alignedType) voidvoidaddUserTier(String tierName) Adds a user tier to the list of tiers in the database Tier data type is assumed to be TierStringalignedTypesForTier(String tierName, String type) Return a set of aligned types given a tier name and type that exists for that tier.alignedTypesForTier(String tierName, String type, List<String> tierList) Return a set of aligned types given a tier name and type that exists for that tier.booleanalignmentExists(String tierName, String tierVal, String linkedTier, String linkedVal) Is there a link between the two tier valuesbooleanhasAlignedTypes(String[] tierNames, String[] rowVals) booleanhasAlignedTypes(Map<String, String> alignedTypes) booleanremoveAlignedTypes(String[] tierNames, String[] types) booleanremoveAlignedTypes(Map<String, String> alignedTypes) booleanremoveAlignment(String tierName, String type, String alignedTierName, String alignedType) Remove the link between two tier values.voidbooleanremoveType(String type) booleantypeExists(String type) booleantypeExistsInTier(String type, String tier) typeIterator(Predicate<String> filter) typesContaining(String infix, boolean caseSensitive, Predicate<String> filter) typesForTier(String keyTier) Return all types for given keyTiertypesWithPrefix(String prefix, boolean caseSensitive, Predicate<String> filter) typesWithSuffix(String suffix, boolean caseSensitive, Predicate<String> filter)
-
Method Details
-
addUserTier
Adds a user tier to the list of tiers in the database Tier data type is assumed to be TierString- Parameters:
tierName-
-
addAlignedTypes
-
addAlignedTypes
-
addAlignment
-
removeAlignedTypes
-
removeAlignedTypes
-
alignedTypesForTier
-
alignedTypesForTier
-
tierNames
Collection<String> tierNames() -
getTierInfo
Collection<TierInfo> getTierInfo() -
typesForTier
Return all types for given keyTier- Parameters:
keyTier-- Returns:
- all types which appear for the given keyTier
-
typeExists
-
removeType
-
typeExistsInTier
-
alignmentExists
-
removeAlignment
Remove the link between two tier values. If all links for the tier are removed, the type is also removed for that tier- Parameters:
tierName-type-alignedTierName-alignedType-- Returns:
- true if link was removed
-
hasAlignedTypes
-
hasAlignedTypes
-
addDatabaseListener
-
removeDatabaseListener
-
typesWithPrefix
-
typesContaining
-
typesWithSuffix
-
typeIterator
-