package com.hunantv.fw.model;

import java.util.HashMap;
import java.util.Map;

public class DyModel {
	private Map<String, Object> data = new HashMap<String, Object>();

	public DyModel() {
	}

	public DyModel(Map<String, Object> data) {
		this.data = data;
	}

	public Object get(String attrName) {
		return this.data.get(attrName);
	}

	public void set(String attrName, Object attrValue) {
		this.data.put(attrName, attrValue);
	}
}

@@ -100,16 +100,21 @@
 l %7B%0A
-%09priva
+    protec
 te
+d
  Map
@@ -169,17 +169,20 @@
 ct%3E();%0A%0A
-%09
+    
 public D
@@ -192,21 +192,27 @@
 del() %7B%0A
-%09%7D%0A%0A%09
+    %7D%0A%0A    
 public D
@@ -242,26 +242,32 @@
 ct%3E data) %7B%0A
-%09%09
+        
 this.data = 
@@ -272,21 +272,27 @@
 = data;%0A
-%09%7D%0A%0A%09
+    %7D%0A%0A    
 public O
@@ -320,18 +320,24 @@
 Name) %7B%0A
-%09%09
+        
 return t
@@ -364,13 +364,19 @@
 e);%0A
-%09%7D%0A%0A%09
+    %7D%0A%0A    
 publ
@@ -428,10 +428,16 @@
 ) %7B%0A
-%09%09
+        
 this
@@ -472,9 +472,110 @@
 e);%0A
-%09
+    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return %22DyModel %5Bdata=%22 + data + %22%5D%22;%0A    
 %7D%0A%7D%0A

更改DyModel数据的访问权限，便于继承