public interface MetaData extends CachedDataContainer
| Modifier and Type | Method and Description |
|---|---|
@NonNull Map<String,String> |
getMeta()
Gets an immutable copy of the meta this user has.
|
@NonNull MetaContexts |
getMetaContexts()
Gets the contexts this container is holding data for.
|
@NonNull ListMultimap<String,String> |
getMetaMultimap()
Gets an immutable copy of the meta this user has.
|
@Nullable String |
getPrefix()
Gets the user's highest priority prefix, or null if the user has no prefixes
|
@NonNull 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.
|
@NonNull MetaStackDefinition |
getPrefixStackDefinition()
Gets the definition used for the prefix stack
|
@Nullable String |
getSuffix()
Gets the user's highest priority suffix, or null if the user has no suffixes
|
@NonNull 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.
|
@NonNull 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()