java.lang.Object
net.foxgenesis.watame.property.GuildPropertyMapping
- All Implemented Interfaces:
IPropertyMapping,IGuildPropertyMapping
-
Constructor Summary
ConstructorsConstructorDescriptionGuildPropertyMapping(String key, T data, net.dv8tion.jda.api.entities.Guild guild) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanReturn this property as a boolean.@Nullable net.dv8tion.jda.api.entities.channel.concrete.Category@Nullable net.dv8tion.jda.api.entities.channel.ChanneldoubleReturn this property as a double.floatReturn this property as a float.intgetAsInt()Return this property as an integer.longReturn this property as a long.@Nullable net.dv8tion.jda.api.entities.Member@Nullable net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel@Nullable net.dv8tion.jda.api.entities.channel.concrete.NewsChannel@Nullable net.dv8tion.jda.api.entities.Role@Nullable net.dv8tion.jda.api.entities.channel.concrete.StageChannelReturn this property as a string.@Nullable net.dv8tion.jda.api.entities.channel.concrete.TextChannel@Nullable net.dv8tion.jda.api.entities.channel.concrete.VoiceChannelinthashCode()toString()
-
Constructor Details
-
GuildPropertyMapping
-
-
Method Details
-
getAsString
Description copied from interface:IPropertyMappingReturn this property as a string.- Specified by:
getAsStringin interfaceIPropertyMapping- Returns:
- The property's string value
-
getAsLong
public long getAsLong()Description copied from interface:IPropertyMappingReturn this property as a long.- Specified by:
getAsLongin interfaceIPropertyMapping- Returns:
- The property's long value
-
getAsDouble
public double getAsDouble()Description copied from interface:IPropertyMappingReturn this property as a double.- Specified by:
getAsDoublein interfaceIPropertyMapping- Returns:
- The property's double value
-
getAsFloat
public float getAsFloat()Description copied from interface:IPropertyMappingReturn this property as a float.- Specified by:
getAsFloatin interfaceIPropertyMapping- Returns:
- The property's float value
-
getAsInt
public int getAsInt()Description copied from interface:IPropertyMappingReturn this property as an integer.- Specified by:
getAsIntin interfaceIPropertyMapping- Returns:
- The property's integer value
-
getAsBoolean
public boolean getAsBoolean()Description copied from interface:IPropertyMappingReturn this property as a boolean.- Specified by:
getAsBooleanin interfaceIPropertyMapping- Returns:
- The property's boolean value
-
getAsCategory
@Nullable public @Nullable net.dv8tion.jda.api.entities.channel.concrete.Category getAsCategory()- Specified by:
getAsCategoryin interfaceIGuildPropertyMapping
-
getAsChannel
@Nullable public @Nullable net.dv8tion.jda.api.entities.channel.Channel getAsChannel()- Specified by:
getAsChannelin interfaceIGuildPropertyMapping
-
getAsTextChannel
@Nullable public @Nullable net.dv8tion.jda.api.entities.channel.concrete.TextChannel getAsTextChannel()- Specified by:
getAsTextChannelin interfaceIGuildPropertyMapping
-
getAsVoiceChannel
@Nullable public @Nullable net.dv8tion.jda.api.entities.channel.concrete.VoiceChannel getAsVoiceChannel()- Specified by:
getAsVoiceChannelin interfaceIGuildPropertyMapping
-
getAsStageChannel
@Nullable public @Nullable net.dv8tion.jda.api.entities.channel.concrete.StageChannel getAsStageChannel()- Specified by:
getAsStageChannelin interfaceIGuildPropertyMapping
-
getAsNewsChannel
@Nullable public @Nullable net.dv8tion.jda.api.entities.channel.concrete.NewsChannel getAsNewsChannel()- Specified by:
getAsNewsChannelin interfaceIGuildPropertyMapping
-
getAsMessageChannel
@Nullable public @Nullable net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel getAsMessageChannel()- Specified by:
getAsMessageChannelin interfaceIGuildPropertyMapping
-
getAsRole
@Nullable public @Nullable net.dv8tion.jda.api.entities.Role getAsRole()- Specified by:
getAsRolein interfaceIGuildPropertyMapping
-
getAsMember
@Nullable public @Nullable net.dv8tion.jda.api.entities.Member getAsMember()- Specified by:
getAsMemberin interfaceIGuildPropertyMapping
-
hashCode
public int hashCode() -
equals
-
toString
-