api for unlink mindmaps

This commit is contained in:
Claudio Barril
2014-02-02 04:09:28 -03:00
parent 734463d233
commit 8db7f5015f
14 changed files with 269 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
package com.wisemapping.model;
import java.io.Serializable;
public class LabelMindmap implements Serializable{
private int mindmapId;
private int labelId;
public int getMindmapId() {
return mindmapId;
}
public void setMindmapId(int mindmapId) {
this.mindmapId = mindmapId;
}
public int getLabelId() {
return labelId;
}
public void setLabelId(int labelId) {
this.labelId = labelId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (!(o instanceof LabelMindmap)) return false;
LabelMindmap that = (LabelMindmap) o;
return labelId == that.labelId && mindmapId == that.mindmapId;
}
@Override
public int hashCode() {
int result = mindmapId;
result = 31 * result + labelId;
return result;
}
}