/*
* Copyright (c) 2014 tabletoptool.com team.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* rptools.com team - initial implementation
* tabletoptool.com team - further development
*/
package com.t3.model;
public class Association <E, T>{
private E lhs;
private T rhs;
public Association(E lhs, T rhs) {
this.lhs = lhs;
this.rhs = rhs;
}
public void setLeft(E value) {
lhs = value;
}
public void setRight(T value) {
rhs = value;
}
public E getLeft() {
return lhs;
}
public T getRight() {
return rhs;
}
}