[Jiemamy-notify:1953] commit [3113] protectedを廃止

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2009年 4月 5日 (日) 09:14:38 JST


Revision: 3113
          http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=3113
Author:   j5ik2o
Date:     2009-04-05 09:14:38 +0900 (Sun, 05 Apr 2009)

Log Message:
-----------
protectedを廃止
toStringをオーバライド

Modified Paths:
--------------
    charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/ColumnMeta.java


-------------- next part --------------
Modified: charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/ColumnMeta.java
===================================================================
--- charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/ColumnMeta.java	2009-04-05 00:13:20 UTC (rev 3112)
+++ charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/ColumnMeta.java	2009-04-05 00:14:38 UTC (rev 3113)
@@ -1,5 +1,7 @@
 package org.jiemamy.composer.importer.meta;
 
+import org.apache.commons.lang.builder.ToStringBuilder;
+
 /**
  * カラム用のメタデータです。
  * 
@@ -9,13 +11,13 @@
 public class ColumnMeta {
 	
 	/** 名前 */
-	protected String name;
+	private String name;
 	
 	/** 挿入可能フラグ */
-	protected boolean insertable = true;
+	private boolean insertable = true;
 	
 	/** 更新可能フラグ */
-	protected boolean updatable = true;
+	private boolean updatable = true;
 	
 
 	/**
@@ -71,4 +73,9 @@
 	public void setUpdatable(boolean updatable) {
 		this.updatable = updatable;
 	}
+	
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
 }



Jiemamy-notify メーリングリストの案内
アーカイブの一覧に戻る