Jail/src/main/java/com/graywolf336/jail/beans/CachePrisoner.java

29 lines
565 B
Java
Raw Normal View History

2014-06-12 10:44:13 -05:00
package com.graywolf336.jail.beans;
/**
* An object for storing online cached prisoners.
*
* @author graywolf336
* @since 3.0.0
* @version 1.0.0
*/
public class CachePrisoner {
2014-07-27 14:46:25 -05:00
private Jail jail;
private Prisoner p;
public CachePrisoner(Jail jail, Prisoner prisoner) {
this.jail = jail;
this.p = prisoner;
}
/** Gets the Jail this cache is in. */
public Jail getJail() {
return this.jail;
}
/** Gets the Prisoner in this cache. */
public Prisoner getPrisoner() {
return this.p;
}
2014-06-12 10:44:13 -05:00
}