up
This commit is contained in:
parent
2a91e9f700
commit
5fcc11633e
@ -25,27 +25,19 @@ public class IdQuery implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private IdType type;
|
private IdType type;
|
||||||
|
|
||||||
|
public IdQuery(String id, IdType idType) {
|
||||||
|
this.id = id;
|
||||||
|
this.type = idType;
|
||||||
|
}
|
||||||
|
|
||||||
public String getId() {
|
public String getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setId(String id) {
|
|
||||||
this.id = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public IdType getType() {
|
public IdType getType() {
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setType(IdType type) {
|
|
||||||
this.type = type;
|
|
||||||
}
|
|
||||||
|
|
||||||
public IdQuery(String id, IdType idType) {
|
|
||||||
this.id = id;
|
|
||||||
this.type = idType;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return String.format("%s=%s", type.getName(), id);
|
return String.format("%s=%s", type.getName(), id);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user