All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sghd.logging.EmptyRecord Maven / Gradle / Ivy

The newest version!
package com.sghd.logging;

import com.sghd.logging.csv.CsvIndex;

/**
 * 空的日志
 */
public class EmptyRecord implements Record {

	public static EmptyRecord valueOf(int operator, int area, long time) {
		EmptyRecord e = new EmptyRecord();
		e.operator = operator;
		e.area = area;
		e.time = time;
		return e;
	}

	@CsvIndex(0)
	protected int operator;
	@CsvIndex(1)
	protected int area;
	@CsvIndex(2)
	protected long userId;
	@CsvIndex(3)
	protected String player;
	@CsvIndex(4)
	protected String account;
	@CsvIndex(5)
	protected String source;
	@CsvIndex(6)
	protected long time;
	@CsvIndex(7)
	protected String information;

	public int getOperator() {
		return operator;
	}

	public int getArea() {
		return area;
	}

	public long getUserId() {
		return userId;
	}

	public String getPlayer() {
		return player;
	}

	public String getAccount() {
		return account;
	}

	public String getSource() {
		return source;
	}

	public long getTime() {
		return time;
	}

	public String getInformation() {
		return information;
	}

	public void setOperator(int operator) {
		this.operator = operator;
	}

	public void setArea(int area) {
		this.area = area;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public void setPlayer(String player) {
		this.player = player;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public void setInformation(String information) {
		this.information = information;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy