svnno****@sourc*****
svnno****@sourc*****
2009年 4月 4日 (土) 15:46:39 JST
Revision: 3096 http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=3096 Author: j5ik2o Date: 2009-04-04 15:46:39 +0900 (Sat, 04 Apr 2009) Log Message: ----------- とりあえず、toStringをオーバライドしておく Modified Paths: -------------- charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/EntityMeta.java -------------- next part -------------- Modified: charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/EntityMeta.java =================================================================== --- charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/EntityMeta.java 2009-04-04 06:45:54 UTC (rev 3095) +++ charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/meta/EntityMeta.java 2009-04-04 06:46:39 UTC (rev 3096) @@ -21,6 +21,8 @@ import java.util.List; import java.util.Map; +import org.apache.commons.lang.builder.ToStringBuilder; + import org.jiemamy.composer.importer.exception.PropertyNotFoundException; import org.jiemamy.utils.CollectionsUtil; @@ -70,7 +72,7 @@ * * @param propertyName プロパティ名 * @return {@link PropertyMeta} - * @throws PropertyNotFoundException + * @throws PropertyNotFoundException プロパティがみつからなかった場合 */ public PropertyMeta getPropertyMeta(String propertyName) throws PropertyNotFoundException { PropertyMeta meta = propertyMetas.get(propertyName); @@ -153,4 +155,9 @@ this.versionPropertyMeta = versionPropertyMeta; } + @Override + public String toString() { + return ToStringBuilder.reflectionToString(this); + } + }