36 lines
563 B
Java
36 lines
563 B
Java
package com.safemobile.lib;
|
|
|
|
import java.io.Serializable;
|
|
|
|
public class SerializedObject implements Serializable{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private static final long serialVersionUID = 1L;
|
|
private Object object;
|
|
private String type;
|
|
|
|
public SerializedObject (Object object, String type){
|
|
this.setObject(object);
|
|
this.setType(type);
|
|
}
|
|
|
|
public Object getObject() {
|
|
return object;
|
|
}
|
|
public void setObject(Object object) {
|
|
this.object = object;
|
|
}
|
|
|
|
public String getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(String type) {
|
|
this.type = type;
|
|
}
|
|
|
|
|
|
}
|