up
This commit is contained in:
parent
2a91e9f700
commit
5fcc11633e
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user