Module watamebot
Package net.foxgenesis.property
Interface IPropertyProvider<K,F,M extends IPropertyMapping>
- Type Parameters:
K- - Property key typeF- - Property look up data typeM- -IPropertyMappingdata type
- All Known Implementing Classes:
GuildPropertyProvider,WatameBotDatabase
public interface IPropertyProvider<K,F,M extends IPropertyMapping>
An interface containing methods used for constructing/providing
IPropertyFields.- Author:
- Ashley
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetProperty(K key) Get a property field associated with a specified key.booleanisPropertyPresent(K key) Check if the property associated with the specified key has already been constructed.
-
Method Details
-
getProperty
Get a property field associated with a specified key.- Parameters:
key- - the property's key- Returns:
- Returns an
IPropertyFieldpointing to the specified key
-
isPropertyPresent
Check if the property associated with the specified key has already been constructed.- Parameters:
key- - the property's key- Returns:
- Returns
trueif the property's key has already been registered/constructed.
-