- 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 TypeMethodDescriptionbooleanReturn this property as a boolean.doubleReturn this property as a double.floatReturn this property as a float.intgetAsInt()Return this property as an integer.longReturn this property as a long.Return this property as a string.
-
Method Details
-
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
-