comparison src/main/java/app/bbs/thinks/getAttributeImp.java @ 166:564f683b7aef

Matrix Date type insert ok but bad source
author tatsuki
date Mon, 28 Jul 2014 17:02:31 +0900
parents
children 91f6dd655a01
comparison
equal deleted inserted replaced
165:b3d5fbe95b9a 166:564f683b7aef
1 package app.bbs.thinks;
2
3
4
5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.bbs.BoardMessage;
6 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core.Node;
7
8 public class getAttributeImp
9 {
10 private final Node node;
11
12 public getAttributeImp(Node _node)
13 {
14 node = _node;
15 }
16
17 public String getUUID(int num) {
18 // TODO Auto-generated method stub
19 return String.valueOf(num);
20 }
21
22 public String getAuthor(int num) {
23 // TODO Auto-generated method stub
24 return new String(node.getAttributes().get("author" + String.valueOf(num)).array());
25 }
26
27 public String getMessage(int num) {
28 // TODO Auto-generated method stub
29 return new String(node.getAttributes().get("mes" + String.valueOf(num)).array());
30 }
31
32 }
33