public interface MetaData extends CachedDataContainer
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getMeta()
Gets an immutable copy of the meta this user has.
|
MetaContexts |
getMetaContexts()
Gets the contexts this container is holding data for.
|
ListMultimap<String,String> |
getMetaMultimap()
Gets an immutable copy of the meta this user has.
|
String |
getPrefix()
Gets the user's highest priority prefix, or null if the user has no prefixes
|
SortedMap<Integer,String> |
getPrefixes()
Gets an immutable sorted map of all of the prefixes the user has, whereby the first value is the highest priority
prefix.
|
MetaStackDefinition |
getPrefixStackDefinition()
Gets the definition used for the prefix stack
|
String |
getSuffix()
Gets the user's highest priority suffix, or null if the user has no suffixes
|
SortedMap<Integer,String> |
getSuffixes()
Gets an immutable sorted map of all of the suffixes the user has, whereby the first value is the highest priority
suffix.
|
MetaStackDefinition |
getSuffixStackDefinition()
Gets the definition used for the suffix stack
|
getContexts@Nonnull MetaContexts getMetaContexts()
@Nonnull ListMultimap<String,String> getMetaMultimap()
A list multimap is used because when inherited values are included, each key can be mapped to multiple values.
The first value to be accumulated (and used to represent the key in getMeta() is at index 0
in the list. Any additional values are stored in order of accumulation.
@Nonnull Map<String,String> getMeta()
This map is formed by taking the entries in getMetaMultimap(), and mapping each key
to the value at index 0 in the corresponding list.
@Nonnull SortedMap<Integer,String> getPrefixes()
@Nonnull SortedMap<Integer,String> getSuffixes()
@Nullable String getPrefix()
@Nullable String getSuffix()
@Nonnull MetaStackDefinition getPrefixStackDefinition()
@Nonnull MetaStackDefinition getSuffixStackDefinition()
Copyright © 2018. All rights reserved.