This commit is contained in:
jinyu 2016-01-21 13:06:17 +08:00
parent 2a91e9f700
commit 5fcc11633e

View File

@ -25,27 +25,19 @@ public class IdQuery implements Serializable {
*/
private IdType type;
public IdQuery(String id, IdType idType) {
this.id = id;
this.type = idType;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public IdType getType() {
return type;
}
public void setType(IdType type) {
this.type = type;
}
public IdQuery(String id, IdType idType) {
this.id = id;
this.type = idType;
}
@Override
public String toString() {
return String.format("%s=%s", type.getName(), id);