View Javadoc
1   /******************************************************************************
2    * AppJumper.java - Move logged in sessions across apps
3    * 
4    * BSAccount - BuckoSoft Web Account Manager 
5    * Copyright(c) 2015 - Dick Balaska and BuckoSoft, Corp.
6    * 
7    */
8   package com.buckosoft.BSAccount.domain;
9   
10  import java.util.Date;
11  
12  
13  
14  /** Move logged in sessions across apps
15   * @author dick
16   * @since 2015-05.27
17   *
18   */
19  public class AppJumper {
20  	private	int		id;		// record #
21  	private	int		userId;
22  	private	long	jumpToken;
23  	private	Date	createdAt;
24  
25  	/** bean constructor */
26  	public AppJumper() {}
27  
28  	/** Convienence constructor
29  	 * @param userId
30  	 * @param jumpToken
31  	 */
32  	public AppJumper(int userId, long jumpToken) {
33  		this.userId = userId;
34  		this.jumpToken = jumpToken;
35  	}
36  
37  	/**
38  	 * @return the id
39  	 */
40  	public int getId() {
41  		return id;
42  	}
43  
44  	/**
45  	 * @param id the id to set
46  	 */
47  	public void setId(int id) {
48  		this.id = id;
49  	}
50  
51  	/**
52  	 * @return the userId
53  	 */
54  	public int getUserId() {
55  		return userId;
56  	}
57  	/**
58  	 * @param userId the userId to set
59  	 */
60  	public void setUserId(int userId) {
61  		this.userId = userId;
62  	}
63  	/**
64  	 * @return the jumpToken
65  	 */
66  	public long getJumpToken() {
67  		return jumpToken;
68  	}
69  	/**
70  	 * @param jumpToken the jumpToken to set
71  	 */
72  	public void setJumpToken(long jumpToken) {
73  		this.jumpToken = jumpToken;
74  	}
75  	/**
76  	 * @return the createdAt
77  	 */
78  	public Date getCreatedAt() {
79  		return createdAt;
80  	}
81  	/**
82  	 * @param createdAt the createdAt to set
83  	 */
84  	public void setCreatedAt(Date createdAt) {
85  		this.createdAt = createdAt;
86  	}
87  	
88  	
89  }