Module watamebot

Interface IPropertyMapping

All Known Subinterfaces:
IGuildPropertyMapping
All Known Implementing Classes:
GuildPropertyMapping

public interface IPropertyMapping
Interface used to map a property's raw data into a usable one.
Author:
Ashley
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Return this property as a boolean.
    double
    Return this property as a double.
    float
    Return this property as a float.
    int
    Return this property as an integer.
    long
    Return this property as a long.
    Return this property as a string.
  • Method Details

    • getAsString

      @Nonnull String getAsString()
      Return this property as a string.
      Returns:
      The property's string value
    • getAsLong

      long getAsLong()
      Return this property as a long.
      Returns:
      The property's long value
    • getAsDouble

      double getAsDouble()
      Return this property as a double.
      Returns:
      The property's double value
    • getAsFloat

      float getAsFloat()
      Return this property as a float.
      Returns:
      The property's float value
    • getAsInt

      int getAsInt()
      Return this property as an integer.
      Returns:
      The property's integer value
    • getAsBoolean

      boolean getAsBoolean()
      Return this property as a boolean.
      Returns:
      The property's boolean value