1 16 package com.buchuki.ensmer.prevayler; 17 18 import java.io.Serializable ; 19 import javax.vecmath.Matrix4f; 20 import com.buchuki.ensmer.object.Backend; 21 22 28 public class PrevayledObject implements Serializable { 29 30 34 static final long serialVersionUID = 20050328L; 35 36 42 public PrevayledObject(Class backendClass) { 43 this.backendClass = backendClass; 44 } 45 46 47 52 public Long getAreaId() { 53 return areaId; 54 } 55 56 61 public Class getBackendClass() { 62 return backendClass; 63 } 64 65 70 public Matrix4f getLocation() { 71 return location; 72 } 73 74 75 80 public Serializable getData() { 81 return data; 82 } 83 84 89 public void setAreaId(Long areaId) { 90 this.areaId = areaId; 91 } 92 93 98 public void setLocation(Matrix4f location) { 99 this.location = location; 100 } 101 102 107 public void setData(Serializable data) { 108 this.data = data; 109 } 110 111 114 private Long areaId; 115 116 119 private Class backendClass; 120 121 124 private Matrix4f location; 125 126 129 private Serializable data; 130 } 131 132 | Popular Tags |