remove unused exception and class

This commit is contained in:
Claudio Barril 2014-03-08 16:24:34 -03:00
parent bf8345908b
commit db0595ac7e
2 changed files with 0 additions and 70 deletions

View File

@ -1,20 +0,0 @@
package com.wisemapping.exceptions;
import org.jetbrains.annotations.NotNull;
public class LabelMindmapRelationshipNotFoundException extends ClientException {
private static final String MSG_KEY = "LABEL_MINDMAP_RELATION_NOT_BE_FOUND";
public LabelMindmapRelationshipNotFoundException(@NotNull String msg)
{
super(msg,Severity.WARNING);
}
@NotNull
@Override
protected String getMsgBundleKey() {
return MSG_KEY;
}
}

View File

@ -1,50 +0,0 @@
package com.wisemapping.model;
import java.io.Serializable;
public class LabelMindmap implements Serializable{
private int mindmapId;
private int labelId;
public LabelMindmap(int labelId, int mindmapId) {
this.mindmapId = mindmapId;
this.labelId = labelId;
}
public LabelMindmap() {}
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;
}
}