mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-04-05 11:16:24 +02:00
21 lines
435 B
Java
21 lines
435 B
Java
package com.gmail.nossr50.database;
|
|
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
public class UserQueryNameImpl implements UserQueryName {
|
|
private final @NotNull String name;
|
|
|
|
public UserQueryNameImpl(@NotNull String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
@Override
|
|
public @NotNull UserQueryType getType() {
|
|
return UserQueryType.NAME;
|
|
}
|
|
|
|
public @NotNull String getName() {
|
|
return name;
|
|
}
|
|
}
|