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 029 this.identifier = identifier; 030 this.username = username; 031 } 032 033 public UUID getIdentifier() { 034 035 return identifier; 036 } 037 038 public String getUsername() { 039 040 return username; 041 } 042 043 public void setUsername(String username) { 044 045 this.username = username; 046 } 047}