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.net.dv8tion.jda.api.entities.Categorynet.dv8tion.jda.api.entities.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.net.dv8tion.jda.api.entities.Membernet.dv8tion.jda.api.entities.NewsChannelnet.dv8tion.jda.api.entities.Rolenet.dv8tion.jda.api.entities.StageChannelReturn this property as a string.net.dv8tion.jda.api.entities.TextChannelnet.dv8tion.jda.api.entities.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 net.dv8tion.jda.api.entities.Category getAsCategory()- Specified by:
getAsCategoryin interfaceIGuildPropertyMapping
-
getAsChannel
@Nullable public net.dv8tion.jda.api.entities.Channel getAsChannel()- Specified by:
getAsChannelin interfaceIGuildPropertyMapping
-
getAsTextChannel
@Nullable public net.dv8tion.jda.api.entities.TextChannel getAsTextChannel()- Specified by:
getAsTextChannelin interfaceIGuildPropertyMapping
-
getAsVoiceChannel
@Nullable public net.dv8tion.jda.api.entities.VoiceChannel getAsVoiceChannel()- Specified by:
getAsVoiceChannelin interfaceIGuildPropertyMapping
-
getAsStageChannel
@Nullable public net.dv8tion.jda.api.entities.StageChannel getAsStageChannel()- Specified by:
getAsStageChannelin interfaceIGuildPropertyMapping
-
getAsNewsChannel
@Nullable public net.dv8tion.jda.api.entities.NewsChannel getAsNewsChannel()- Specified by:
getAsNewsChannelin interfaceIGuildPropertyMapping
-
getAsRole
@Nullable public net.dv8tion.jda.api.entities.Role getAsRole()- Specified by:
getAsRolein interfaceIGuildPropertyMapping
-
getAsMember
@Nullable public net.dv8tion.jda.api.entities.Member getAsMember()- Specified by:
getAsMemberin interfaceIGuildPropertyMapping
-
hashCode
public int hashCode() -
equals
-
toString
-