Move payload property to operation object

merge-requests/7/head
manoj 10 years ago
parent 1c80fcd124
commit eb500658f2

@ -41,6 +41,7 @@ public class Operation {
private String receivedTimeStamp; private String receivedTimeStamp;
private String createdTimeStamp; private String createdTimeStamp;
private boolean isEnabled; private boolean isEnabled;
private Object payLoad;
@XmlElement @XmlElement
public String getCode() { public String getCode() {
@ -109,4 +110,13 @@ public class Operation {
this.isEnabled = isEnabled; this.isEnabled = isEnabled;
} }
public Object getPayLoad() {
return payLoad;
}
public void setPayLoad(Object payLoad) {
this.payLoad = payLoad;
}
} }

@ -22,16 +22,6 @@ import java.io.Serializable;
public class ProfileOperation extends ConfigOperation implements Serializable { public class ProfileOperation extends ConfigOperation implements Serializable {
private Object payload;
public Object getPayload() {
return payload;
}
public void setPayload(Object payload) {
this.payload = payload;
}
public Type getType() { public Type getType() {
return Type.PROFILE; return Type.PROFILE;
} }

Loading…
Cancel
Save