001package net.tnemc.plugincore.core.id; 002 003/* 004 * The New Economy Minecraft Server Plugin 005 * <p> 006 * Created by creatorfromhell on 9/9/2020. 007 * <p> 008 * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. 009 * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to 010 * Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. 011 * Created by creatorfromhell on 06/30/2017. 012 */ 013 014import java.util.UUID; 015 016/** 017 * Class that represents a Name & UUID pair. 018 * 019 * @author creatorfromhell 020 * @since 0.1.2.0 021 */ 022public class UUIDPair { 023 024 private final UUID identifier; 025 private String username; 026 027 public UUIDPair(UUID identifier, String username) { 028 this.identifier = identifier; 029 this.username = username; 030 } 031 032 public UUID getIdentifier() { 033 return identifier; 034 } 035 036 public String getUsername() { 037 return username; 038 } 039 040 public void setUsername(String username) { 041 this.username = username; 042 } 043}