Module watamebot

Class GuildPropertyProvider

java.lang.Object
net.foxgenesis.watame.property.GuildPropertyProvider
All Implemented Interfaces:
IPropertyProvider<String,net.dv8tion.jda.api.entities.Guild,IGuildPropertyMapping>

@Deprecated(forRemoval=true) public class GuildPropertyProvider extends Object implements IPropertyProvider<String,net.dv8tion.jda.api.entities.Guild,IGuildPropertyMapping>
Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    IPropertyField<String,net.dv8tion.jda.api.entities.Guild,IGuildPropertyMapping>
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get a property field associated with a specified key.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Check if the property associated with the specified key has already been constructed.
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • GuildPropertyProvider

      public GuildPropertyProvider(IGuildDataProvider database)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getProperty

      public IPropertyField<String,net.dv8tion.jda.api.entities.Guild,IGuildPropertyMapping> getProperty(@Nonnull String key)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: IPropertyProvider
      Get a property field associated with a specified key.
      Specified by:
      getProperty in interface IPropertyProvider<String,net.dv8tion.jda.api.entities.Guild,IGuildPropertyMapping>
      Parameters:
      key - - the property's key
      Returns:
      Returns an IPropertyField pointing to the specified key
    • isPropertyPresent

      public boolean isPropertyPresent(@Nonnull String key)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: IPropertyProvider
      Check if the property associated with the specified key has already been constructed.
      Specified by:
      isPropertyPresent in interface IPropertyProvider<String,net.dv8tion.jda.api.entities.Guild,IGuildPropertyMapping>
      Parameters:
      key - - the property's key
      Returns:
      Returns true if the property's key has already been registered/constructed.
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object obj)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      equals in class Object