1st version that works
This commit is contained in:
@ -0,0 +1,35 @@
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user